mesa/src/compiler
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
..
glsl mesa: do not use bitfields for advanced-blend state 2020-07-17 06:19:16 +00:00
nir nir/lower_clip: make the pass compatible with Vulkan semantics 2020-07-27 08:25:57 +02:00
spirv spirv: Handle most execution modes earlier 2020-07-27 17:10:23 +00:00
Android.glsl.gen.mk Android: Fixes for Q and R 2020-07-15 20:49:24 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp nir: add int16 and uint16 type helpers 2020-06-02 20:01:18 +00:00
glsl_types.h glsl: don't lower builtins to mediump that don't allow it 2020-07-07 22:02:06 -04:00
Makefile.sources nir/scheduler: Move nir_scheduler to its own header 2020-07-24 09:21:11 +02:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
nir_types.cpp nir: add glsl_get_ifc_packing() helper 2020-06-03 02:22:23 +00:00
nir_types.h nir: add glsl_get_ifc_packing() helper 2020-06-03 02:22:23 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl Move compiler.h and imports.h/c from src/mesa/main into src/util 2020-03-27 21:00:09 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c compiler: Add a system value for the line coord 2020-07-06 21:59:15 +00:00
shader_enums.h mesa: do not use bitfields for advanced-blend state 2020-07-17 06:19:16 +00:00
shader_info.h spirv: Add support for SPV_EXT_shader_atomic_float 2020-07-21 05:01:34 +00:00