mesa/src/compiler
Connor Abbott ed20e69b0c vtn: Handle ZeroExtend/SignExtend image operands
These decorations allow you to override the signedness of image
instructions. This means that we have to override the type we get from
the sampled image.

Apparently both Intel and AMD get the type from the descriptor rather
than the instruction, but this appears to not be the case with Adreno,
which is why this wasn't noticed until now. So this probably won't fix
any preexisting bugs, but it's required to fix
dEQP-VK.image.extend_operands_spirv1p4.* when exposing VK_KHR_spirv_1_4
on turnip.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7968>
2021-04-13 17:41:27 +00:00
..
glsl compiler/glsl: do not cast struct to string 2021-04-13 06:16:41 +00:00
nir nir: Add varying precision linking helper (v2) 2021-04-13 05:07:42 +00:00
spirv vtn: Handle ZeroExtend/SignExtend image operands 2021-04-13 17:41:27 +00:00
Android.glsl.gen.mk android: util: Move xxd.py to util 2020-10-11 23:22:34 +02:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk android: spirv: fix '::' typo in gen rules 2020-12-08 22:44:23 +01:00
Android.nir.mk
builtin_type_macros.h compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.cpp glsl/linker: Fix attempts to split up 64bit varyings between slots 2021-04-01 17:16:33 +00:00
glsl_types.h glsl: fix is_integer_16_32 2021-04-10 09:01:54 +00:00
Makefile.sources nir: add many passes that lower and optimize 16-bit input/outputs and samplers 2021-04-13 05:07:42 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
nir_types.h nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
shader_enums.c compiler: Drop now unused gl_varying_slot_name() 2021-02-13 00:44:53 +00:00
shader_enums.h nir: add new VARYING_SLOTs and shader info for packed 16-bit varyings 2021-04-13 05:07:42 +00:00
shader_info.h nir: add new VARYING_SLOTs and shader info for packed 16-bit varyings 2021-04-13 05:07:42 +00:00