mesa/src/compiler
Daniel Schürmann e4281dbecc nir: also move b2i in case of nir_move_copies
Booleans are often more efficient with register usage.
This also allows to move comparisons further.

Totals from affected shaders: (VEGA)
SGPRS: 451608 -> 450320 (-0.29 %)
VGPRS: 351448 -> 351256 (-0.05 %)
Spilled SGPRs: 105 -> 105 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 1008 -> 1008 (0.00 %) dwords per thread
Code Size: 26555596 -> 26551080 (-0.02 %) bytes
LDS: 10323 -> 10323 (0.00 %) blocks
Max Waves: 42850 -> 42934 (0.20 %)

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4830>
2020-07-20 15:56:45 +00:00
..
glsl mesa: do not use bitfields for advanced-blend state 2020-07-17 06:19:16 +00:00
nir nir: also move b2i in case of nir_move_copies 2020-07-20 15:56:45 +00:00
spirv spirv: don't split memory barriers 2020-07-20 12:05:16 +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: Add nir_lower_clip_disable.c to SCons build. 2020-07-04 01:04:54 +00: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 nir: gather which images are MSAA 2020-06-02 20:47:49 +00:00