mesa/src/compiler
Mike Blumenkrantz c37c6ac613 nir/validate: add some (light) validation for sampler type matching
this adds minimal validation for tex ops with derefs to check that the
dest type integer-ness matches the sampled type's integer-ness

the aim is to provide the most basic validation that nir is being modified
and created consistently, not to perform exact verification that
the types are identical

fix #6985

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874>
2022-08-10 19:44:59 +00:00
..
clc nir: add a nir_opt_if_options enum 2022-08-10 12:55:39 +00:00
glsl nir: add a nir_opt_if_options enum 2022-08-10 12:55:39 +00:00
isaspec isaspec: Handle patterns bigger then 64 bit 2022-06-14 12:35:39 +00:00
nir nir/validate: add some (light) validation for sampler type matching 2022-08-10 19:44:59 +00:00
spirv vtn: silence warning about linkage 2022-08-04 23:53:50 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp compiler/types: Don't place members in the previous substruct's end padding 2022-06-09 22:55:37 +00:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir/types: fix glsl_matrix_type_is_row_major() assert 2022-06-30 00:41:46 +00:00
nir_types.h nir/glsl: wrap component_slots_aligned() 2022-05-16 03:33:18 +00:00
shader_enums.c nir+ir3: Rename load_size_ir3 to load_center_rhw_ir3. 2022-07-11 16:56:05 +00:00
shader_enums.h gallium: use gl shader types as the basis for the gallium ones 2022-08-04 08:17:39 +00:00
shader_info.h nir: add shader_info::uses_resource_info_query for txs, levels, samples, etc. 2022-08-03 17:44:15 +00:00