Support vertex attribute offsets higher than the strides in Metal #2054
Labels
backend: Metal
client: CTS
Has associated Vulkan CTS tests that fail or crash
status: ready for work
type: bug
value: medium
Milestone
There is a lot of test in CTS (e.g. "dEQP-VK.texture.filter.**") that try to use an attribute offset higher than the stride. For example, an offset of 64 on a buffer with stride 8. It is technically valid in Vulkan, but Metal doesn't like it.
One possible solution would be to detect this at pipeline creation before linking the shader, then assign additional buffer inputs to be used in the shader by those attributes... adjusting the binding model accordingly.
The text was updated successfully, but these errors were encountered: