summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-02-13 10:08:23 -0800
committerEric Anholt <eric@anholt.net>2012-02-21 11:54:02 -0800
commitf0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16 (patch)
treed73a85352c9fed9df90d1a5fc5a1c64971d97e24 /src/mesa/drivers/dri/i965/brw_vs.h
parent9f3d3216cf25d8ffed4d72fbce6feacbc2990e4b (diff)
downloadexternal_mesa3d-f0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16.zip
external_mesa3d-f0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16.tar.gz
external_mesa3d-f0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16.tar.bz2
i965: Move VUE map computation to once at VS compile time.
With this and the previous patch, 640x480 nexuiz is running 0.169118% +/- 0.0863696% faster (n=121). On a VS state change microbenchmark, performance is increased 8.28645% +/- 0.460478% (n=52). v2: Fix CACHE_NEW_VS comment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 8814251..490fcc0 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -92,7 +92,6 @@ struct brw_vs_compile {
GLuint nr_inputs;
- struct brw_vue_map vue_map;
GLuint first_output;
GLuint last_scratch;