summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-22 11:47:59 -0600
committerBrian Paul <[email protected]>2009-04-22 11:47:59 -0600
commit5c8fb6acc10662c9e71078c9f273db6c7808e9ff (patch)
treebbbf262fc4813871e0519eb21756a818a8a609d2 /src
parent21a422d97e501f4ca68ab24ad3fe5f5eb1393349 (diff)
i965: define BRW_MAX_GRF
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index cad711d18ab..f0d4993e117 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -243,6 +243,9 @@ struct brw_vs_ouput_sizes {
};
+/** Number of general purpose registers (VS, WM, etc) */
+#define BRW_MAX_GRF 128
+
/** Number of texture sampler units */
#define BRW_MAX_TEX_UNIT 16