mesa/src
Mike Blumenkrantz 3e9b9fdc77 glsl/lower_samplers_as_deref: apply bindings for unused samplers
if a sampler is never used (no derefs) then its binding will never be
applied here, leaving it with binding=0. this will clobber the real binding=0
sampler in driver backends, leading to errors, so try to iterate using
the same criteria as above and apply bindings in the same way

fixes #8974

cc: mesa-stable

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22902>
(cherry picked from commit ccbfcf3933)
2023-05-09 16:56:48 +01:00
..
amd ac/nir/cull: fix line position w culling 2023-05-09 16:56:48 +01:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Fix disk cache disable with AGX_MESA_DEBUG 2023-05-09 16:54:30 +01:00
broadcom v3d: apply 1D texture miplevel alignment in arrays 2023-05-03 14:40:11 +01:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler glsl/lower_samplers_as_deref: apply bindings for unused samplers 2023-05-09 16:56:48 +01:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl dri/android: Fix MSAA resolve 2023-05-01 09:02:30 +01:00
etnaviv ci/etnaviv: Polish the gc2000 xfails a bit. 2023-03-29 07:52:45 +00:00
freedreno tu: Don't override depth for GMEM 2023-05-09 16:54:34 +01:00
gallium zink: fix uncached memory readback 2023-05-09 16:56:47 +01:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: Fix error handling yet again in CreateContextAttribs 2023-04-06 21:29:54 +00:00
gtest
imagination pvr: Don't advertise S8_UINT support 2023-05-05 19:13:18 +01:00
imgui
intel isl: fix layout for comparing surf and view properties 2023-05-05 19:07:15 +01:00
loader loader: Add Xe KMD support 2023-04-12 10:41:21 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa mesa/main: rework locale setup/teardown 2023-05-01 09:02:26 +01:00
microsoft dzn: fix pointer type mismatch 2023-05-05 19:07:02 +01:00
nouveau nouveau/codegen: Check nir_dest_num_components 2023-04-26 17:37:26 +01:00
panfrost panvk: clear dangling pointers 2023-05-05 19:07:11 +01:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util radv: Add driconf to always drain waves before writing timestamps 2023-05-05 18:51:47 +01:00
virtio llvmpipe: do late init for llvm builder 2023-04-26 17:37:26 +01:00
vulkan device_select_layer: pick a default device before applying DRI_PRIME 2023-05-05 19:05:57 +01:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00