mesa/src/compiler
Marek Olšák 4fd8946062 glsl: fix sampler and image type checking in lower_precision
Use the param type, not the referenced variable. The referenced variable
can be a structure, which wouldn't be recognized as a sampler or image.

Fixes: 733bee57eb - glsl: lower samplers with highp coordinates correctly

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Dieter Nützel Dieter@nuetzel-hh.de on gfx8 (Polaris 20)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34959>
(cherry picked from commit bd5d623674)
2025-06-04 15:52:47 +02:00
..
clc mesa-clc: add an option to force inclusion of OpenCL headers 2025-04-27 11:43:43 +02:00
glsl glsl: fix sampler and image type checking in lower_precision 2025-06-04 15:52:47 +02:00
isaspec meson: do not compile libisaspec unless used 2025-03-25 08:32:47 +00:00
libcl clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
nir nir/opt_varyings: fix mesh shader miss promote varying to flat 2025-06-04 15:52:45 +02:00
rust nak,nir: Add an image_load_raw_nv intrinsic 2025-04-08 04:06:45 +00:00
spirv vtn/opencl: Handle OpenCLstd_F{Min,Max}_common 2025-06-04 15:52:47 +02:00
builtin_types.py compiler/types: Add multisample vimage/vtexture types 2024-08-27 15:06:16 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c glsl: fix glsl_get_word_size_align_bytes 2025-01-06 22:09:49 +00:00
glsl_types.h docs,src: replace doc and comments for PIPE_CAP with pipe_caps 2025-01-17 04:39:47 +00:00
meson.build nak: Move bitset to compiler crate 2024-08-07 21:08:18 +00:00
shader_enums.c nir: add load_front_face_fsign 2024-12-30 22:31:34 +00:00
shader_enums.h nir: Rename in-bounds-agx to in-bounds 2025-02-19 09:54:11 +00:00
shader_info.h compiler,nir: Gather needs_full_quad_helper_invocations info 2025-03-14 21:55:58 +00:00