anv: fix index buffer size programming
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 7 Oct 2023 13:13:35 +0000 (16:13 +0300)
committerMarge Bot <emma+marge@anholt.net>
Sat, 7 Oct 2023 17:30:17 +0000 (17:30 +0000)
commitd091609d814fd9ab47b6d55b6c93e83884b75f43
tree901c5de90fb3342596fba942b6648cea320a8d48
parent348eee9c974ee24dee2362b8a2b7d30d6db69091
anv: fix index buffer size programming

This is a merge issue due to 2 MRs touching the same code.

Fixes a few maintence5 tests like : dEQP-VK.robustness.bind_index_buffer2.offset_0.draw_indexed.oo_size

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25599>
src/intel/vulkan/genX_gfx_state.c