mesa/src
Timothy Arceri e19a8fe033 radv: call constant folding before opt algebraic
The pattern of calling opt algebraic first seems to have originated
in i965. The order in OpenGL drivers generally doesn't matter
because the GLSL IR optimisations do constant folding before
opt algebraic.

However in Vulkan drivers calling opt algebraic first can result
in missed constant folding opportunities.

vkpipeline-db results (VEGA64):

Totals from affected shaders:
SGPRS: 3160 -> 3176 (0.51 %)
VGPRS: 3588 -> 3580 (-0.22 %)
Spilled SGPRs: 52 -> 44 (-15.38 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 12 -> 12 (0.00 %) dwords per thread
Code Size: 261812 -> 261036 (-0.30 %) bytes
LDS: 7 -> 7 (0.00 %) blocks
Max Waves: 346 -> 348 (0.58 %)
Wait states: 0 -> 0 (0.00 %)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-05-08 19:45:01 +10:00
..
amd radv: call constant folding before opt algebraic 2019-05-08 19:45:01 +10:00
broadcom nir: Use the flrp lowering pass instead of nir_opt_algebraic 2019-05-06 22:52:29 -07:00
compiler glsl_to_nir: remove unused type_is_int() 2019-05-08 14:11:38 +10:00
egl meson: make nm binary optional 2019-05-03 10:58:05 -07:00
freedreno freedreno/ir3: move const_state to ir3_shader 2019-05-07 07:26:00 -07:00
gallium radeonsi: add an AMD_TEX_ANISO environment variable 2019-05-08 09:32:25 +10:00
gbm meson: make nm binary optional 2019-05-03 10:58:05 -07:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel intel/compiler: Unset flag reg when FB write is not predicated 2019-05-07 14:33:48 -07:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa i965: leave the top 4Gb of the high heap VMA unused 2019-05-07 15:45:56 -07:00
util radeonsi: add config entry for Counter-Strike Global Offensive 2019-05-07 09:42:09 +10:00
vulkan vulkan/overlay-layer: fix cast errors 2019-05-07 10:45:45 +01:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00