mesa/src/compiler
Timur Kristóf da184ddbe4 spirv: Always mark FS layer and viewport index inpus as flat
The spec requires these to be decorated as FLAT,
but some apps forgot to set that,
eg. old DXVK before d12a8e09a855

Let's unconditionally decorate these FS inputs as FLAT
in spirv_to_nir, we can do that for free and prevent those
apps from crashing RADV.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33205>
2025-09-19 14:59:12 +02:00
..
clc util: Refactoring util_dl_get_path_from_proc out of clc/clc_helpers.cpp 2025-08-07 21:15:13 +00:00
glsl glcpp: prevent accidental token pasting 2025-09-16 11:27:43 +00:00
isaspec meson: do not compile libisaspec unless used 2025-03-25 08:32:47 +00:00
libcl libcl: avoid calling UNREACHABLE(str) macro without arguments 2025-08-04 23:15:18 +02:00
nir nir: fix uniform cloning helper again 2025-09-18 22:28:54 +00:00
rust nak: Move dataflow to compiler crate 2025-09-13 07:30:50 +00:00
spirv spirv: Always mark FS layer and viewport index inpus as flat 2025-09-19 14:59:12 +02:00
builtin_types.py compiler: add float8 glsl types 2025-06-23 07:59:24 +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 compiler: Generate files with newline at end 2025-06-24 14:01:04 +00:00
glsl_types.c compiler/types: handle BFLOAT16 when decoding blob 2025-08-20 04:12:00 +00:00
glsl_types.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
list.h nir: remove unused stuff from list.h 2025-07-31 20:23:04 +00:00
meson.build nir: move list.h outside the glsl directory 2025-07-31 20:23:02 +00:00
shader_enums.c nir,spirv: Add support for SPV_ARM_core_builtins 2025-08-07 11:46:33 +02:00
shader_enums.h vtn: skip make-available/visible for shared 2025-09-17 11:29:21 +00:00
shader_info.h shader_info: remove gl_subgroup_size enum 2025-09-12 21:05:17 +00:00