turnip: Update maxGeometryShaderInvocations to match blob
authorBrian Ho <brian@brkho.com>
Fri, 3 Apr 2020 14:59:47 +0000 (07:59 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 14:13:20 +0000 (14:13 +0000)
commit8eb009631217e415869709faadaf18dbeca8f8b0
tree0b3efc95fe71077aabf523871c419ce62b2c3ea7
parent3550e20229bfc1872ae041e66958187ee4a97ac6
turnip: Update maxGeometryShaderInvocations to match blob

Geometry shaders support an invocations parameter up to a limit
defined by maxGeometryShaderInvocations. This was set to 127, but
executing with invocations > 32 causes a crash. As it turns out, the
blob only advertises a max of 32 invocations, so we set that in
turnip as well.

Fixes dEQP-VK.geometry.instanced.draw_*_instances_{127, 64}_geometry_invocations

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4436>
src/freedreno/vulkan/tu_device.c