mesa/src/compiler
Daniel Schürmann 0ef5f3552f nir: add strength reduction pattern for imod/irem with pow2 divisor.
Affected games are Detroit : Become Human and Doom : Eternal.

Totals from 6262 (4.54% of 138013) affected shaders (RAVEN):
SGPRs: 678472 -> 678640 (+0.02%)
VGPRs: 498288 -> 498360 (+0.01%)
CodeSize: 67064196 -> 65926000 (-1.70%)
MaxWaves: 19390 -> 19382 (-0.04%)
Instrs: 13175372 -> 12932517 (-1.84%)
Cycles: 1444043256 -> 1443022576 (-0.07%); split: -0.08%, +0.01%
VMEM: 929560 -> 908726 (-2.24%); split: +0.39%, -2.63%
SMEM: 406207 -> 400062 (-1.51%); split: +0.46%, -1.97%
VClause: 215168 -> 215031 (-0.06%)
SClause: 443312 -> 442324 (-0.22%); split: -0.25%, +0.03%
Copies: 1350793 -> 1344326 (-0.48%); split: -0.52%, +0.04%
Branches: 506432 -> 506370 (-0.01%); split: -0.02%, +0.01%
PreSGPRs: 619652 -> 619619 (-0.01%)
PreVGPRs: 473212 -> 473168 (-0.01%)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/175>
2020-11-13 15:59:03 +01:00
..
glsl glsl: Fix typos in comments. 2020-11-11 19:22:08 +00:00
nir nir: add strength reduction pattern for imod/irem with pow2 divisor. 2020-11-13 15:59:03 +01:00
spirv spirv: Add support for SPV_EXT_shader_image_atomic_int64 2020-11-09 17:17:40 +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: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00: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 compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
Makefile.sources nir: optimize nir_lower_discard_to_demote to lower discard/demote both ways 2020-11-12 21:02:05 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir/glsl: add a glsl_ivec4_type() helper 2020-10-13 21:21:32 +00:00
nir_types.h nir/glsl: add a glsl_ivec4_type() helper 2020-10-13 21:21:32 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl util: Move xxd.py to util 2020-10-07 21:52:04 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv scons: fix SPIR-V -> NIR build 2020-10-13 16:53:10 +01:00
shader_enums.c spirv,nir: Add support for ray-tracing built-ins 2020-11-05 23:36:46 +00:00
shader_enums.h compiler: add SYSTEM_BIT_FRONT_FACE 2020-11-10 15:37:07 +00:00
shader_info.h nir: gather shader_info::needs_all_helper_invocations 2020-11-12 21:02:05 +00:00