From 1924cdc2898b0a14a8afd13db3a06dab9e1d032e Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Fri, 24 Nov 2023 12:20:44 -0800 Subject: [PATCH] d3d12: Fix multidimensional array ordering Apparently my C multimensional array syntax was rusty. Fixes: a6740ee7 ("d3d12: Fix indexing of local_reference_state") Part-of: --- src/gallium/drivers/d3d12/d3d12_bufmgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/d3d12/d3d12_bufmgr.h b/src/gallium/drivers/d3d12/d3d12_bufmgr.h index ee70fa6bde0..78f716fb508 100644 --- a/src/gallium/drivers/d3d12/d3d12_bufmgr.h +++ b/src/gallium/drivers/d3d12/d3d12_bufmgr.h @@ -71,7 +71,7 @@ struct d3d12_bo { uint8_t local_reference_mask[16]; d3d12_context_state_table_entry local_context_states[16]; - uint8_t local_reference_state[8][16]; + uint8_t local_reference_state[16][8]; }; struct d3d12_buffer {