i965: define BRW_MAX_GRF
authorBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 17:47:59 +0000 (11:47 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 17:47:59 +0000 (11:47 -0600)
src/mesa/drivers/dri/i965/brw_context.h

index cad711d18ab610cd1e0f44ebe0674ff285b0cdc9..f0d4993e117a8295e489b342afae29c647e8244b 100644 (file)
@@ -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