tu: Rewrite inline uniform implementation
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 16 Sep 2022 14:24:17 +0000 (16:24 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Nov 2022 11:57:05 +0000 (11:57 +0000)
commit37cde2c63483fcf99092af84c14bea7ba3adbb84
tree7033bfea63c5eb1863d792170e718b6f09e20f15
parente402d2dbe9556eb7b113193b0696386a003206c6
tu: Rewrite inline uniform implementation

Now we always push the inline uniforms, using an indirect CP_LOAD_STATE.
There is just enough space to be able to always push them if we expose
the minimum possible per-stage limits. This aligns us with Qualcomm and
removes the need to setup a uniform descriptor which will be
problematic.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18703>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_common.h
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_shader.c
src/freedreno/vulkan/tu_shader.h