mesa/src/compiler
Samuel Pitoiset 78ea304a06 spirv: only consider IO variables when adjusting patch locations for TES
With TES, the primitive ID is an input variable but it's considered a
sysval by SPIRV->NIR. Though, its value is greater than
VARYING_SLOT_VAR0 which means its location was adjusted by mistake.

This fixes compiling a tessellation evaluation shader in debug build
with Enshrouded.

Fixes: dfbc03fa88 ("spirv: Fix locations for per-patch varyings")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27413>
2024-02-21 10:36:07 +00:00
..
clc clc: retrieve libclang path at runtime. 2024-01-31 12:23:49 +00:00
glsl glsl: split var copies before lowering named interfaces 2024-02-20 23:29:17 +00:00
isaspec isaspec: encode.py: Include assert.h 2024-02-06 16:38:01 +00:00
nir nir: allow gather info to handle nir_deref_type_array_wildcard 2024-02-20 23:29:17 +00:00
spirv spirv: only consider IO variables when adjusting patch locations for TES 2024-02-21 10:36:07 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +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 contains_32bit helper 2024-02-12 13:23:14 +00:00
glsl_types.h compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
meson.build treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
shader_enums.c radv: Remove ray_launch_size_addr_amd system value. 2024-02-17 11:08:16 +00:00
shader_enums.h radv: Remove ray_launch_size_addr_amd system value. 2024-02-17 11:08:16 +00:00
shader_info.h compiler: add a vs.tes_agx bit 2024-02-14 21:02:28 +00:00