mesa/src/compiler/spirv
Thomas H.P. Andersen 6d19b34571 spirv: avoid allocating memory twice
ptr_type was allocated twice. This drops the second allocation.

It has been like this since the introduction of the code in
b778e7bd6c

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18450>
2022-09-11 22:13:09 +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 spirv/libclc: Add generic versions of arithmetic functions 2022-03-29 15:02:07 +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, 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 printf: extract clovers printf impl 2022-08-04 23:53:49 +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