summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-01-11 08:45:58 -0800
committerEric Anholt <eric@anholt.net>2010-01-18 13:52:47 -0800
commitc653f5f3872862da396353df63ef93ed86f608fa (patch)
treebdb465c79a1780316e3dca19ad9a4ca2521ffc4f /src/mesa/drivers/dri/i965/brw_vs.h
parentd5b964234c37673ec6b444d0a8fa3b823f03fd05 (diff)
i965: Only set up the stack register if it's going to get used.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 4a591365c9..249d48bc18 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -81,6 +81,8 @@ struct brw_vs_compile {
GLint index;
struct brw_reg reg;
} current_const[3];
+
+ GLboolean needs_stack;
};
void brw_vs_emit( struct brw_vs_compile *c );