Skip to content

d3d12: Fix multidimensional array ordering

Jesse Natalie requested to merge jenatali/mesa:d3d12-fix-array-dims into main

Apparently my C multimensional array syntax was rusty.

Fixes: a6740ee7 ("d3d12: Fix indexing of local_reference_state")

Verified by running Superliminal with app verifier. Before, there was a crash attempting to write out-of-bounds of the context, when a resource was bound to context with ID 8 in batch ID 4. Now it runs clean.

Merge request reports