From 5a23b31c75556fa0fe9ca53db481bbec18c2baba Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 29 Oct 2015 22:04:22 -0700 Subject: [PATCH] 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 Reviewed-by: Kenneth Graunke --- 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 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 -- 2.30.2