aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-02-19 12:58:53 -0800
committerEric Anholt <[email protected]>2015-02-19 23:35:17 -0800
commit14dc281c1332518b6144718e1fb3845abbe23ff7 (patch)
tree7726018b2b9106c2d184236027fb56b3dcdd68be /src/gallium/drivers/vc4/Makefile.sources
parent09c844fcd9c0dc81da4f914e6b88892ea76fe8e9 (diff)
vc4: Enforce one-uniform-per-instruction after optimization.
This lets us more intelligently decide which uniform values should be put into temporaries, by choosing the most reused values to push to temps first. total uniforms in shared programs: 13457 -> 13433 (-0.18%) uniforms in affected programs: 1524 -> 1500 (-1.57%) total instructions in shared programs: 40198 -> 40019 (-0.45%) instructions in affected programs: 6027 -> 5848 (-2.97%) I noticed this opportunity because with the NIR work, some programs were happening to make different uniform copy propagation choices that significantly increased instruction counts.
Diffstat (limited to 'src/gallium/drivers/vc4/Makefile.sources')
-rw-r--r--src/gallium/drivers/vc4/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/Makefile.sources b/src/gallium/drivers/vc4/Makefile.sources
index 95f1a340ab3..c7254ea1473 100644
--- a/src/gallium/drivers/vc4/Makefile.sources
+++ b/src/gallium/drivers/vc4/Makefile.sources
@@ -20,6 +20,7 @@ C_SOURCES := \
vc4_packet.h \
vc4_program.c \
vc4_qir.c \
+ vc4_qir_lower_uniforms.c \
vc4_qir.h \
vc4_qpu.c \
vc4_qpu_defines.h \