mesa/src/compiler/spirv
Caio Oliveira 7adf6c75ef spirv: Improve the 'ID is the wrong kind of value' error messages
Include the expected and actual values in the errors -- since
very frequently we care about them to diagnose issues.

Since these helpers are meant to be inlined, also pull the
failure code out of the way into a separate function (not meant to
be inlined).  This way, extra calls to to_string will not harm
the existing client code size.  Verified this with GCC release build.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22977>
2023-05-17 22:58:10 +00:00
..
tests spirv: Rework structured control flow handling 2023-04-20 07:02:42 +00:00
gl_spirv.c spirv: Fix gl_spirv_validation when OpLine with strings is present 2023-05-17 18:27:41 +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: Drop a bunch of Authors tags 2023-03-26 00:16:25 +00:00
OpenCL.std.h spirv: Update the OpenCL.std.h header 2019-06-04 12:12:51 -07:00
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 spirv: update to latest headers 2023-05-04 11:25:41 +00:00
spirv.h spirv: update to latest headers 2023-05-04 11:25:41 +00:00
spirv2nir.c spirv: Use NIR_PASS for spirv2nir --optimize 2023-05-11 19:53:17 +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: Improve the 'ID is the wrong kind of value' error messages 2023-05-17 22:58:10 +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: Rework structured control flow handling 2023-04-20 07:02:42 +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: Drop a bunch of Authors tags 2023-03-26 00:16:25 +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: Improve the 'ID is the wrong kind of value' error messages 2023-05-17 22:58:10 +00:00
vtn_structured_cfg.c spirv: Rework structured control flow handling 2023-04-20 07:02:42 +00:00
vtn_subgroup.c spirv: Implement SPV_KHR_subgroup_rotate 2023-02-24 06:33:51 +00:00
vtn_variables.c spirv/nir: wire ray interection triangle position fetch 2023-05-04 11:25:41 +00:00