mesa/src/compiler
Timur Kristóf 872d21820f nir: Exclude non-generic patch variables from get_variable_io_mask.
These are I/O variables which are not going to be removed anyway.
However, get_variable_io_mask handles their location incorrectly.

Found using the GCC undefined behavior sanitizer.
Fixes the following error:

runtime error:
shift exponent 4294967258 is too large
for 64-bit type 'long unsigned int'

Closes: #5319
Fixes: cf5f8f55c3
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12719>
2021-09-20 18:08:16 +00:00
..
glsl nir: Drop the unused instr arg for src/dest copy functions. 2021-09-14 17:53:06 +00:00
nir nir: Exclude non-generic patch variables from get_variable_io_mask. 2021-09-20 18:08:16 +00:00
spirv compiler/spirv: add a fail if tex instr coord components aren't dimensional enough 2021-09-14 13:54:24 +00:00
builtin_type_macros.h compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.cpp glsl: add missing support for explicit components in interface blocks 2021-05-13 08:07:53 +00:00
glsl_types.h glsl: add missing support for explicit components in interface blocks 2021-05-13 08:07:53 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
nir_types.h nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
shader_enums.c compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_enums.h compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_info.h nir/edgeflags: Add a flag to indicate the edge flag input is needed 2021-09-17 16:36:08 -07:00