mesa/src/compiler
Timothy Arceri 58e1cd7c68 glsl: fix spirv sso validation
The api validation calls will segfault without this as it will
try to fallback to string matching names which are NULL. This
would be incorrect behaviour even if the names weren't NULL so
here we correctly set the explicit location flag.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9483
Fixes: ffdb44d3a0 ("nir/linker: Add inputs/outputs to the program resource list")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24529>
(cherry picked from commit a7850f8cf3)
2023-08-31 23:30:46 -07:00
..
clc clc: rework optional subgroup feature 2023-07-07 12:27:35 +00:00
glsl glsl: fix spirv sso validation 2023-08-31 23:30:46 -07:00
isaspec ir3, isaspec: add raw instruction to assembler/disassembler. 2023-01-26 14:26:11 +00:00
nir nir/linking_helpers: force type matching in does_varying_match 2023-08-31 23:30:46 -07:00
spirv vtn: more CL subgroups 2023-07-07 12:27:35 +00:00
builtin_type_macros.h glsl: add texture subpass variants 2022-11-10 10:21:34 +00:00
glsl_types.cpp Revert "compiler: Combine duplicated implementation of is_gl_identifier into glsl_types.h" 2023-08-31 23:30:45 -07:00
glsl_types.h Revert "compiler: Combine duplicated implementation of is_gl_identifier into glsl_types.h" 2023-08-31 23:30:45 -07:00
meson.build compiler: Move spirv into a module of its own 2023-06-20 16:18:08 +00:00
nir_gl_types.h mesa: #include "util/glheader.h" instead GL/gl.h in shared code 2022-11-03 16:07:31 +00:00
nir_types.cpp compiler/types: Be consistent when naming array element/size 2023-06-15 03:43:46 +00:00
nir_types.h compiler/types: Be consistent when naming array element/size 2023-06-15 03:43:46 +00:00
shader_enums.c compiler: Add mesa_scope_name() function 2023-06-19 23:29:26 +00:00
shader_enums.h Revert "mesa, compiler: Move gl_texture_index to glsl_types.h" 2023-08-31 23:30:45 -07:00
shader_info.h vtn: more CL subgroups 2023-07-07 12:27:35 +00:00