-
Notifications
You must be signed in to change notification settings - Fork 463
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Framebuffer-framebuffer compatibility not described #226
Comments
and
So a little bit convoluted, but I think it's all there. But true, there is no framebuffer to framebuffer compatibility. That seems to be just a shorthand for the restriction chain quoted above... |
@chrisforbes, does @krOoze's response address the issue for you, or do you think spec changes are still needed? |
@oddhack I think the spec rule is still iffy. It does appear that it's redundant with the other constraints. If that's the case, can we remove it, or adjust it to be a note? I'm just trying to make sure we end up with validation code that's clearly mappable to spec language, and does exactly the right thing. |
@oddhack After thinking about this a bit more, I don't think the interpretation above is correct. The framebuffer provided as part of
Compatibility via renderpasses as above is an obvious minimum bar-- but is |
I don't follow. Can you elaborate more? not correct, how? require something stronger than what? (Of) what is a "general/specialized" version? |
@krOoze @oddhack Suppose I record a secondary command buffer, providing a framebuffer. The implementation takes advantage of that to produce better hw commands in some way (looks at the dimensions, looks into the ImageViews, etc). Suppose I then record It seems possible that the intent of this valid usage rule is to limit that. If that's the case, then there needs to be a definition of framebuffer-framebuffer compatibility that guarantees any framebuffer-derived assumptions in the secondary command buffer recording actually hold. |
This should be fixed in the 1.0.16 spec update. The discussion got kinda complex, feel free to reopen/open a new issue if something was missed. |
Valid usage for
vkCmdExecuteCommands
says:Nowhere is it described what it means for a framebuffer to be compatible with another framebuffer. I assume that the intent is that the secondary command buffer's framebuffer, if specified, should compatible with the renderpass used in the current renderpass instance, as per 7.2 ?
CV implements this as requiring the handles be equal, if the secondary command buffer specifies a framebuffer -- which doesn't sound like the right thing.
The text was updated successfully, but these errors were encountered: