mesa/src/compiler/spirv
Karol Herbst 6181f52089
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
vtn: Support the UniformDecoration capability.
This is needed for SPIR-V 1.6 support in OpenCL. This capability enables
the Uniform and UniformId decorations which prior were Shader only.

The CTS ends up using those decorations on function arguments, but we can
just ignore handling them there for now.

Fixes the spirv16_uniformdecoration_uniform and
spirv16_uniformdecoration_uniformid CL CTS test inside test_spirv_new.

Fixes: bb6d371c0e ("rusticl: support SPIR-V 1.5 and 1.6")
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34004>
2025-03-14 15:42:24 +00:00
..
tests spirv/tests: add a test for lower_terminate_to_discard 2025-03-05 19:56:50 +00:00
gl_spirv.c mesa: Use the new spirv_capabilities struct 2024-05-09 01:14:22 +00:00
GLSL.ext.AMD.h spirv: Update headers and grammer JSON 2023-08-18 16:57:22 +00:00
GLSL.std.450.h spirv: Update the JSON and headers 2024-05-09 01:14:22 +00:00
meson.build spirv/tests: add a test for force_ssbo_non_uniform 2025-03-05 19:56:50 +00:00
nir_spirv.h spirv: move workarounds to an inner struct in spirv_to_nir_options 2025-03-05 19:56:50 +00:00
NonSemanticShaderDebugInfo100.h spirv: Handle NonSemantic.Shader.DebugInfo.100 2025-01-30 20:14:01 +00:00
OpenCL.std.h spirv: Update the JSON and headers 2024-05-09 01:14:22 +00:00
spir-v.xml spirv: Update SPIR-V grammar to use aliases 2024-10-10 02:48:00 +00:00
spirv.core.grammar.json spirv: Update the JSON and headers 2025-03-08 19:54:19 +00:00
spirv.h spirv: Update the JSON and headers 2025-03-08 19:54:19 +00:00
spirv2nir.c spirv: Get rid of the old caps struct 2024-05-09 01:14:23 +00:00
spirv_info_gen.py spirv: Update SPIR-V grammar to use aliases 2024-10-10 02:48:00 +00:00
spirv_to_nir.c vtn: Support the UniformDecoration capability. 2025-03-14 15:42:24 +00:00
vtn_alu.c spirv: explicitly lower derivatives to zero 2024-09-25 09:39:44 +00:00
vtn_amd.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_bindgen2.c vtn_bindgen2: Fix memory corruption 2025-03-03 17:25:58 +00:00
vtn_cfg.c vtn: Support the UniformDecoration capability. 2025-03-14 15:42:24 +00:00
vtn_cmat.c treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
vtn_debug.c vtn: Add a debug flag to dump SPIR-V assembly 2024-08-28 21:52:59 +00:00
vtn_gather_types_c.py spirv: OpAsmTargetINTEL is untyped 2025-03-08 19:54:19 +00:00
vtn_generator_ids_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
vtn_glsl450.c spirv: Rename vtn_pointer::ptr_type to vtn_pointer::type 2024-09-10 00:46:20 +00:00
vtn_opencl.c spirv: Rename vtn_pointer::ptr_type to vtn_pointer::type 2024-09-10 00:46:20 +00:00
vtn_private.h vtn: plumb through OpEntryPoint 2024-11-27 20:02:05 +00:00
vtn_structured_cfg.c spirv: move workarounds to an inner struct in spirv_to_nir_options 2025-03-05 19:56:50 +00:00
vtn_subgroup.c nir: remove rotate scope 2024-03-05 14:12:21 +00:00
vtn_variables.c spirv: move workarounds to an inner struct in spirv_to_nir_options 2025-03-05 19:56:50 +00:00