ANV gen9 32 bit vulkan asserts on many cts tests
beginning with 11b4c23d, vulkan cts tests assert on gen9/m32 with:
$ ./deqp-vk -n dEQP-VK.spirv_assembly.instruction.graphics.64bit_compare.int64.frag_opsgreaterthanequal_vector
anequal_vector
Writing test log into TestResults.qpa
dEQP Core vulkan-cts-1.3.7.0-29-gf4141f6996c724b37c5d7d5e5c938997df0208f3 (0xf4141f69) starting..
target implementation = 'Default'
Validation failed. Rerun with INTEL_DEBUG=shaders to get more information.
deqp-vk: ../src/intel/compiler/brw_fs_generator.cpp:2423: int fs_generator::generate_code(const cfg_t*, int, shader_stats, const brw::performance&, brw_compile_stats*): Assertion `validated' failed.
Aborted
Bisected to:
11b4c23d19b26c3510e27d3b5e51271ca52c6bd5 is the first bad commit
commit 11b4c23d19b26c3510e27d3b5e51271ca52c6bd5
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Wed Sep 20 20:04:16 2023 +0300
anv: add ring buffer mode to generated draw optimization
When the number of draw calls is very large, instead of allocating
large amounts of batch buffer space for the draws, use a ring buffer
and process the draw calls by batches.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8645
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Tested-by: Felix DeGrood <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25361>