anv: Add and use emit_pipeline_select()
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 26 Dec 2022 17:34:23 +0000 (09:34 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 29 Dec 2022 16:34:15 +0000 (08:34 -0800)
commitc6d1f76da2862cbe44c28665f7204bab7f3d80b5
tree78a448815d5959123d0e7d9a14482d256a77226c
parent57f73d097ec915dde4a49732b5a40ae9ce368b89
anv: Add and use emit_pipeline_select()

To avoid the replication of code to properly emit PIPELINE_SELECT.

init_compute_queue_state() had a different emit of PIPELINE_SELECT but
as there is no compute engine in GFX VER 11 we are safe with the
differences.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20444>
src/intel/vulkan/anv_genX.h
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_gpu_memcpy.c
src/intel/vulkan/genX_state.c