mesa/src/compiler
Marek Olšák bd5d623674 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>
2025-05-28 11:01:12 +00:00
..
clc clc: wire up cl_khr_kernel_clock 2025-05-27 19:57:28 +00:00
glsl glsl: fix sampler and image type checking in lower_precision 2025-05-28 11:01:12 +00: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/tcs_info: use range analysis to determine the range of tess levels 2025-05-28 06:46:56 +00:00
rust compiler/rust/bitset: find_aligned_unset_region() 2025-05-21 19:40:02 +00:00
spirv vtn/opencl: Handle OpenCLstd_F{Min,Max}_common 2025-05-28 01:08:20 +00:00
builtin_types.py compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +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 compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00
glsl_types.h compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +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 compiler: add VARYING_BIT_PRIMITIVE_INDICES 2025-05-08 06:48:34 +00:00
shader_info.h nir: split *_accessed_indirectly* bitmasks into *_read/written_indirectly* 2025-05-08 02:54:12 +00:00