mirror of https://gitlab.freedesktop.org/mesa/mesa
3e9b9fdc77
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
|
||
---|---|---|
.. | ||
clc | ||
glsl | ||
isaspec | ||
nir | ||
spirv | ||
builtin_type_macros.h | ||
glsl_types.cpp | ||
glsl_types.h | ||
meson.build | ||
nir_gl_types.h | ||
nir_types.cpp | ||
nir_types.h | ||
shader_enums.c | ||
shader_enums.h | ||
shader_info.h |