mesa/src/compiler/spirv
Caio Marcelo de Oliveira Filho 12dd5455f4 spirv: Handle most execution modes earlier
For convenience in e68871f6a4 ("spirv: Handle constants and types
before execution modes") we moved all execution mode parsing after the
constants and types, so that those using OpExecutionModeId could be
handled together.

Later in 84781e1f1d ("spirv/nir: keep track of SPV_KHR_float_controls
execution modes") we had to parse certain non-ID execution modes
before handling constants.

Instead of handling just the float controls related execution modes
early, handle all modes that don't need an ID.  This is a more
"natural" split and will allow other type handling to rely on
execution mode in the future.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6062>
2020-07-27 17:10:23 +00:00
..
gl_spirv.c
GLSL.ext.AMD.h
GLSL.std.450.h
meson.build
nir_spirv.h Revert "nir: Support sysval tess levels in SPIR-V to NIR" 2020-07-06 08:48:10 -04:00
OpenCL.std.h
spirv.core.grammar.json spirv: Update headers and grammar json 2020-07-21 05:01:34 +00:00
spirv.h spirv: Update headers and grammar json 2020-07-21 05:01:34 +00:00
spirv2nir.c spirv2nir: Add kernel spirv support 2020-02-14 11:14:58 +00:00
spirv_info.h
spirv_info_c.py
spirv_to_nir.c spirv: Handle most execution modes earlier 2020-07-27 17:10:23 +00:00
vtn_alu.c spirv: Add better checks for SSA value types 2020-07-23 22:43:21 -05:00
vtn_amd.c spirv: Add a vtn_get_nir_ssa helper 2020-07-23 22:43:21 -05:00
vtn_cfg.c spirv: Rework our handling of images and samplers 2020-07-23 22:43:21 -05:00
vtn_gather_types_c.py spirv: Handle instruction aliases in vtn_gather_types 2020-04-24 05:56:05 +00:00
vtn_glsl450.c spirv/glsl450: Use vtn_push_ssa_value 2020-07-23 22:43:21 -05:00
vtn_opencl.c spirv: Add a vtn_get_nir_ssa helper 2020-07-23 22:43:21 -05:00
vtn_private.h spirv: Rework our handling of images and samplers 2020-07-23 22:43:21 -05:00
vtn_subgroup.c spirv/subgroups: Refactor to use vtn_push_ssa 2020-07-23 22:43:21 -05:00
vtn_variables.c spirv: Also copy over binding information for atomic counters 2020-07-24 18:17:38 +00:00