anv: fix 3DSTATE_PS emission in generation shaders
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 3 Jan 2023 00:50:54 +0000 (02:50 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 3 Mar 2023 11:30:54 +0000 (11:30 +0000)
commit1454b789b100970f01922c4dae28214a1cea6c60
tree79e1aada2a030d491a9a65abb3f0e47d333a9a05
parent8f16ca8741c1a0760fc1519eea82c49867093896
anv: fix 3DSTATE_PS emission in generation shaders

We have to use the helper and also were missing the vector mask
programming.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c950fe97a0 ("anv: implement generated (indexed) indirect draws")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20497>
src/intel/vulkan/genX_cmd_draw_generated_indirect.h