mesa/src/compiler/spirv
Rob Clark cd4f6caa0d vtn: Handle non-32b tex dests
With cl_khr_fp16 we can get texture instructions w/ f16 dest.  Not all
drivers handle this, so convert to 32b dest and insert alu conversion to
the requested type.  Drivers that can handle f16 texture loads would
fold away the extra conversion with nir_opt_16bit_tex_image.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35470>
2025-06-11 17:48:10 +00:00
..
tests spirv: Emit code for NonSemantic.DebugPrintf if supported 2025-04-10 19:31:37 +00:00
gl_spirv.c mesa: Use the new spirv_capabilities struct 2024-05-09 01:14:22 +00:00
GLSL.ext.AMD.h spirv: Update headers and grammer JSON 2023-08-18 16:57:22 +00:00
GLSL.std.450.h spirv: bump headers 2025-06-06 14:38:17 +00:00
meson.build spirv/tests: add a test for force_ssbo_non_uniform 2025-03-05 19:56:50 +00:00
nir_spirv.h spirv: move workarounds to an inner struct in spirv_to_nir_options 2025-03-05 19:56:50 +00:00
NonSemanticShaderDebugInfo100.h spirv: bump headers 2025-06-06 14:38:17 +00:00
OpenCL.std.h spirv: bump headers 2025-06-06 14:38:17 +00:00
spir-v.xml spirv: Update headers and metadata from latest Khronos commit 2025-03-25 02:29:26 +00:00
spirv.core.grammar.json spirv: bump headers 2025-06-06 14:38:17 +00:00
spirv.h spirv: bump headers 2025-06-06 14:38:17 +00:00
spirv2nir.c spirv: Get rid of the old caps struct 2024-05-09 01:14:23 +00:00
spirv_info_gen.py spirv: Update SPIR-V grammar to use aliases 2024-10-10 02:48:00 +00:00
spirv_to_nir.c vtn: Handle non-32b tex dests 2025-06-11 17:48:10 +00:00
vtn_alu.c spirv: disable mediump for bitfield insert/extract 2025-06-04 09:37:53 +00:00
vtn_amd.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_bindgen2.c vtn_bindgen2: Fix memory corruption 2025-03-03 17:25:58 +00:00
vtn_cfg.c vtn: (Silently) handle FunctionParameterAttributeNo{Capture,Write} 2025-05-28 01:08:20 +00:00
vtn_cmat.c spirv: Refactor to use glsl_type to pick ALU ops 2025-04-29 16:29:37 +00:00
vtn_debug.c vtn: Add a debug flag to dump SPIR-V assembly 2024-08-28 21:52:59 +00:00
vtn_gather_types_c.py spirv: OpAsmTargetINTEL is untyped 2025-03-08 19:54:19 +00:00
vtn_generator_ids_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
vtn_glsl450.c spirv: clamp/sign-extend non 32bit ldexp exponents 2025-04-03 12:35:59 +00:00
vtn_opencl.c vtn/opencl: support fp16 builtins 2025-06-05 13:17:27 +00:00
vtn_private.h spirv: Refactor to use glsl_type to pick ALU ops 2025-04-29 16:29:37 +00:00
vtn_structured_cfg.c spirv: move workarounds to an inner struct in spirv_to_nir_options 2025-03-05 19:56:50 +00:00
vtn_subgroup.c vtn: Handle SPV_KHR_uniform_group_instructions 2025-05-28 01:08:20 +00:00
vtn_variables.c compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00