mesa/src/compiler/spirv
Caio Oliveira 5f79e78911 spirv: Add skip_os_break_in_debug_build option to use in unit tests
When running in the CI environment, instead of crashing the test
binary, it is preferable to just fail gracefully (in this case return
a NULL shader) like is done in release mode, so other tests continue
to be executed.

For convenience add a variable break_on_failure to the test so the
breaking behavior can be re-enable in individual tests when debugging.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21512>
2023-03-01 13:47:57 +00:00
..
tests spirv: Add skip_os_break_in_debug_build option to use in unit tests 2023-03-01 13:47:57 +00:00
gl_spirv.c
GLSL.ext.AMD.h
GLSL.std.450.h
meson.build
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: Add skip_os_break_in_debug_build option to use in unit tests 2023-03-01 13:47:57 +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: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
spirv_info.h
spirv_info_c.py
spirv_to_nir.c spirv: Add skip_os_break_in_debug_build option to use in unit tests 2023-03-01 13:47:57 +00:00
vtn_alu.c spirv: Use nir_type_convert instead of nir_type_conversion_op 2022-12-14 06:23:21 +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 spirv: use Loop Continue Construct to emit SPIR-V loops and lower after parsing 2023-02-21 10:41:11 +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
vtn_glsl450.c spirv: Use nir_type_convert instead of nir_type_conversion_op 2022-12-14 06:23:21 +00:00
vtn_opencl.c nir/builder: Drop nir_i2i and nir_u2u in favor of nir_x2xN 2022-12-01 01:10:12 +00:00
vtn_private.h spirv: Implement SPV_KHR_subgroup_rotate 2023-02-24 06:33:51 +00:00
vtn_subgroup.c spirv: Implement SPV_KHR_subgroup_rotate 2023-02-24 06:33:51 +00:00
vtn_variables.c spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00