mesa/src/amd
Samuel Pitoiset 69ff204422 radv: remove the optimization for equal immutable samplers
This optimization used to optimize the allocated space for descriptors
when immutable samplers are equal. Though, this was basically broken :

- descriptor copies were broken for combiner image sampler (or sampler)
  with equal immutable samplers because 96 bytes were copied instead of
  64 bytes (cf. the linked ticket). This could be fixed but it's not
  worth it.
- the value returned by vkGetDescriptorLayoutSupport() was broken, it
  should have been 96 with no immutable samplers (or when they aren't
  equal)

This optimization was also not applied for descriptor buffers which is
the default for vkd3d-proton and Zink. DXVK doesn't use db but it
doesn't use immutable samplers, so basically only native vulkan games
would be concerned.

Note that immutable samplers would still be inlined in shaders if no
indirect access which should be 99.9% of the usecase.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11165
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34928>
2025-05-13 16:27:22 +00:00
..
addrlib amd/addrlib: remove the DCC page fault workaround 2025-04-01 03:23:22 -04:00
ci fluster: xfile update 2025-05-12 14:25:54 +00:00
common ac/uvd: Add ac_uvd_alloc_stream_handle 2025-05-13 09:36:47 +00:00
compiler aco/insert_exec_mask: don't create unnecessary loop-header and -exit phis after demote 2025-05-09 17:20:29 +00:00
drm-shim amd/drm-shim: add gfx1201 2025-03-10 11:21:36 +00:00
gmlib amd/gmlib: add gmlib for radeonsi 2025-02-27 03:15:16 +00:00
llvm ac/llvm: correctly set alignment of vector global load/store 2025-05-12 10:51:57 +00:00
registers amd: Rename GFX1103_R1/R2 to PHOENIX/2 2024-11-20 02:14:40 +00:00
vpelib amd/vpelib: More parameters to the segmentation process and introduce validation hook 2025-03-06 02:11:53 +00:00
vulkan radv: remove the optimization for equal immutable samplers 2025-05-13 16:27:22 +00:00
meson.build amd/gmlib: add gmlib for radeonsi 2025-02-27 03:15:16 +00:00