From: Matt Turner Date: Fri, 30 Oct 2015 05:04:22 +0000 (-0700) Subject: i965: Move BAD_FILE from the beginning of enum register_file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a23b31c75556fa0fe9ca53db481bbec18c2baba;p=mesa.git 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 --- 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