You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contradictions in the validation rules of copyTextureToTexture() with depth stencil formats #1464
The validation rules of copyTextureToTexture() says
source.texture.format is equal to destination. texture.format".
If source.texture.format is a depth-stencil format: source.aspect and destination.aspect must both refer to all aspects of source.texture.format and destination.texture.format, respectively.
While "Depth/stencil formats" says:
Copies between depth textures can only happen within the following sets of formats:
Good call, I think the latest resolution was T2T copies must (at least currently) copy all aspects, but T2B/B2T may copy individual aspects. Would have to dig through the issue history to make sure but I'm pretty sure about that.
Activity
kainino0x commentedon Feb 24, 2021
Good call, I think the latest resolution was T2T copies must (at least currently) copy all aspects, but T2B/B2T may copy individual aspects. Would have to dig through the issue history to make sure but I'm pretty sure about that.
kainino0x commentedon Sep 10, 2021
Merged #1692 into this issue. The section that needs fixing is the "within the following sets of formats" section.
kainino0x commentedon Sep 10, 2021
From #1479: "Consider explicitly documenting that T2T copies with matching format is always valid (all formats, not just D/S)"
Specify copyTextureToTexture format compatibility
Specify copyTextureToTexture format compatibility
Specify copyTextureToTexture format compatibility (#2329)