svga: shader translation for compute, image views and shader buffers
authorNeha Bhende <bhenden@vmware.com>
Thu, 16 Dec 2021 22:52:26 +0000 (14:52 -0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 18 Jan 2022 23:50:36 +0000 (23:50 +0000)
commit1e99a3073871c2091d0d9524e6587642cbb48979
treeabaa0d9c76159ce91f814181d79524587e480daa
parent247c61f2d0454a94bc8b26601f88ed5f0890cedd
svga: shader translation for compute, image views and shader buffers

This patch handles shader translation for compute, image views and shader
buffers and updates the corresponding shader compile keys.
It also includes support of using shader raw buffer for shader buffer used
as constant buffer.
This patch is squash of numerous in house patches.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
v2: As pointed out by Thomas, fix revert of 64292c0f caused by this patch.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14270>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_screen.h
src/gallium/drivers/svga/svga_shader.c
src/gallium/drivers/svga/svga_shader.h
src/gallium/drivers/svga/svga_tgsi_vgpu10.c