diff options
author | Matt Turner <[email protected]> | 2013-12-21 11:28:05 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-01-21 14:20:44 -0800 |
commit | 4bd6e0d7c69b304be88996a6c2b96ce7d996e627 (patch) | |
tree | 6ed796744e87637628cba67217f31da8f78fea68 /src/glsl/Makefile.sources | |
parent | 5e82d8a9da9eeab33e2819c2d90f1419e42cb33d (diff) |
glsl: Vectorize multiple scalar assignments
Reduces vertex shader instruction counts in DOTA2 by 6.42%, L4D2 by
4.61%, and CS:GO by 5.71%.
total instructions in shared programs: 1500153 -> 1498191 (-0.13%)
instructions in affected programs: 59919 -> 57957 (-3.27%)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/Makefile.sources')
-rw-r--r-- | src/glsl/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources index 2e81deddabb..e69c1ac612b 100644 --- a/src/glsl/Makefile.sources +++ b/src/glsl/Makefile.sources @@ -99,6 +99,7 @@ LIBGLSL_FILES = \ $(GLSL_SRCDIR)/opt_structure_splitting.cpp \ $(GLSL_SRCDIR)/opt_swizzle_swizzle.cpp \ $(GLSL_SRCDIR)/opt_tree_grafting.cpp \ + $(GLSL_SRCDIR)/opt_vectorize.cpp \ $(GLSL_SRCDIR)/s_expression.cpp \ $(GLSL_SRCDIR)/strtod.c |