summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/s_expression.cpp
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-05-30 10:48:31 +0200
committerSamuel Pitoiset <[email protected]>2018-05-31 10:57:16 +0200
commit70f9e2589e6be7857c9c874aa1967e8b8608db88 (patch)
tree26e222263155a52d8340b9ecea43a4563f20ab35 /src/compiler/glsl/s_expression.cpp
parentc983c6abaf6fae767f404825e0fa913c75914279 (diff)
nir: optimize iand(ieq(a, 0), ieq(b, 0)) to ieq(ior(a, b), 0)
Totals from affected shaders: SGPRS: 80 -> 80 (0.00 %) VGPRS: 48 -> 48 (0.00 %) Code Size: 2120 -> 2096 (-1.13 %) bytes Max Waves: 16 -> 16 (0.00 %) Only two Rise of Tomb Raider shaders are affected on my side. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/s_expression.cpp')
0 files changed, 0 insertions, 0 deletions