summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-10-29 22:04:22 -0700
committerMatt Turner <[email protected]>2015-11-13 11:27:50 -0800
commit5a23b31c75556fa0fe9ca53db481bbec18c2baba (patch)
tree166152c1a50e73a4c80d437843b61e3c4561c4d4
parentdba309fc14d1ca99251c8f8115d2a26ac86f14f6 (diff)
i965: Move BAD_FILE from the beginning of enum register_file.
I'm going to begin using brw_reg's file field in backend_reg and its derivatives, and in order to keep the hardware value for ARF as 0, we have to do something different. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 67d623cd35a..5632378eed7 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -39,13 +39,13 @@
#define MAX_VGRF_SIZE 16
enum PACKED register_file {
- BAD_FILE,
GRF,
MRF,
IMM,
HW_REG, /* a struct brw_reg */
ATTR,
UNIFORM, /* prog_data->params[reg] */
+ BAD_FILE,
};
#ifdef __cplusplus