mesa/src/compiler/spirv
Jason Ekstrand 8f4af4d700 nir/load_libclc: Don't add generic variants that already exist
At some point in the future, adding generic variants to libclc will
hopefully no longer be needed.  At that point, we don't want the NIR
code adding duplicates.  Check if the generic version already exists
and, if it does, don't re-add it.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18675>
2022-09-19 16:52:17 +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 spirv: import AMD extensions header from glslang 2018-03-07 23:09:58 +01:00
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 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 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, compiler: add "bool nv" to shader_info.mesh 2022-09-02 16:18:33 +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 spirv: Mark phis as mediump instead of directly lowering them to 16 bit. 2022-09-01 22:39: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 nir,spirv: Preserve inbounds access information 2022-06-09 16:20:16 +00: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