summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-06-30 16:35:23 -0600
committerBrian Paul <[email protected]>2009-06-30 17:12:44 -0600
commit0fe19bc91d89dd83b9a7bab28a6009a30e1bc856 (patch)
tree3f6e3ae132c11aa204ca211f5629f9934a7c0c95 /src
parent0b7b8c8ddfb17f40a69ca716d05ff90f9178f10a (diff)
i965: move BRW_MAX_GRF, define BRW_MAX_MRF
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h6
-rw-r--r--src/mesa/drivers/dri/i965/brw_structs.h8
2 files changed, 8 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 8c55a13e9a3..ec0b045de4e 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -246,12 +246,6 @@ struct brw_vs_ouput_sizes {
};
-/** Number of general purpose registers (VS, WM, etc) */
-#define BRW_MAX_GRF 128
-
-/** Number of message register file registers */
-#define BRW_MAX_MRF 16
-
/** Number of texture sampler units */
#define BRW_MAX_TEX_UNIT 16
diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 040ec9327d5..39e75a0455e 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -33,6 +33,14 @@
#ifndef BRW_STRUCTS_H
#define BRW_STRUCTS_H
+
+/** Number of general purpose registers (VS, WM, etc) */
+#define BRW_MAX_GRF 128
+
+/** Number of message register file registers */
+#define BRW_MAX_MRF 16
+
+
/* Command packets:
*/
struct header