mesa/src/compiler/spirv
Caio Oliveira e63d6ed85e spirv: Make vtn_fail and friends trap in debug mode
The SPIR-V parser catches its failures and failed assertions, clean up
and return a failure to the caller.  This is a good default behavior, but
when debugging sometimes is useful to hook the debugger right in the
failed assertion.

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19663>
2022-11-13 07:07:56 +00:00
..
tests spirv: Use task_payload mode for generic task outputs and mesh inputs. 2022-02-25 06:52:07 +00:00
gl_spirv.c spirv: workaround setjmp/longjmp crash on MinGW 2020-11-18 13:53:36 +00:00
GLSL.ext.AMD.h
GLSL.std.450.h
meson.build spirv: add and use a generator id enum 2020-10-12 11:07:38 +00:00
nir_load_libclc.c nir/load_libclc: Don't add generic variants that already exist 2022-09-19 16:52:17 +00:00
nir_lower_libclc.c nir/libclc: handle null callee name when lowering 2021-08-06 00:09:17 +00:00
nir_spirv.h spirv,vulkan: Set shader_info::subgroup_size 2022-07-08 22:47:22 +00:00
OpenCL.std.h
spir-v.xml spirv: Update headers and metadata to SPIR-V 1.6, revision 1 2021-12-17 16:37:14 -08:00
spirv.core.grammar.json vulkan, spirv: Update to Vulkan 1.3.226 and latest SPIR-V headers. 2022-09-02 16:18:33 +00:00
spirv.h vulkan, spirv: Update to Vulkan 1.3.226 and latest SPIR-V headers. 2022-09-02 16:18:33 +00:00
spirv2nir.c spirv: Implement non-Multiview parts of SPV_NV_mesh_shader 2021-08-28 03:56:43 +00:00
spirv_info.h spirv: vtn_fail with a nice message on unsupported rounding modes 2020-09-25 01:43:28 +00:00
spirv_info_c.py spirv: vtn_fail with a nice message on unsupported rounding modes 2020-09-25 01:43:28 +00:00
spirv_to_nir.c spirv: Make vtn_fail and friends trap in debug mode 2022-11-13 07:07:56 +00:00
vtn_alu.c spirv: Workaround for RelaxedPrecision on OpLogical* in 3DMark 2022-06-03 07:50:53 +00:00
vtn_amd.c nir,amd: Suffix nir_op_cube_face_coord/index with _amd 2021-06-21 09:03:34 -05:00
vtn_cfg.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
vtn_gather_types_c.py vulkan: Spec update to 1.3.216 2022-06-08 20:20:21 +00:00
vtn_generator_ids_h.py android: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00:00
vtn_glsl450.c spirv_to_nir: Cast RelaxedPrecision ALU op dests to mediump. 2022-05-19 19:43:36 +00:00
vtn_opencl.c nir: Add a helper for finding a function by name 2022-09-19 16:52:17 +00:00
vtn_private.h spirv: Add MESA_SPIRV_DEBUG environment variable processing 2022-11-11 10:09:35 -08:00
vtn_subgroup.c spirv: Implement SpvCapabilitySubgroupShuffleINTEL from SPV_INTEL_subgroups 2020-11-04 20:24:48 +00:00
vtn_variables.c spirv: avoid allocating memory twice 2022-09-11 22:13:09 +00:00