[Mesa-dev] [PATCH 13/24] i965: Move BAD_FILE from the beginning of enum register_file.
Matt Turner
mattst88 at gmail.com
Mon Nov 2 16:29:23 PST 2015
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.
---
src/mesa/drivers/dri/i965/brw_shader.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 5fb9913..1c0d0cb 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
--
2.4.9
More information about the mesa-dev
mailing list