mesa/src/compiler/spirv
Danylo Piliaiev eb5f4c2f6b spirv: Workaround for RelaxedPrecision on OpLogical* in 3DMark
Per spec RelaxedPrecision cannot be applied to bool types, however
3DMark Wild Life does it:

OpDecorate %171 RelaxedPrecision
...
%171 = OpLogicalAnd %bool %169 %170

Fixes crash in 3DMark Wild Life on Android.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16746>
2022-06-03 07:50:53 +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_to_nir: Cast RelaxedPrecision ALU op dests to mediump. 2022-05-19 19:43:36 +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 spirv: Update headers and metadata to SPIR-V 1.6, revision 1 2021-12-17 16:37:14 -08:00
spirv.h spirv: Update headers and metadata to SPIR-V 1.6, revision 1 2021-12-17 16:37:14 -08: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 vtn: assert that composite members have the same bit size as the result 2022-05-27 14:06:32 +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: fix OpBranchConditional when both branches are the same 2022-04-21 13:41:24 +00:00
vtn_gather_types_c.py spirv: Handle instruction aliases in vtn_gather_types 2020-04-24 05:56:05 +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 spirv: Implement the function portion of the Linkage capability 2022-03-23 10:24:31 +00:00
vtn_private.h spirv_to_nir: Cast RelaxedPrecision ALU op dests to mediump. 2022-05-19 19:43:36 +00:00
vtn_subgroup.c spirv: Implement SpvCapabilitySubgroupShuffleINTEL from SPV_INTEL_subgroups 2020-11-04 20:24:48 +00:00
vtn_variables.c spirv: Use task_payload mode for generic task outputs and mesh inputs. 2022-02-25 06:52:07 +00:00