i965: Move BAD_FILE from the beginning of enum register_file.
authorMatt Turner <mattst88@gmail.com>
Fri, 30 Oct 2015 05:04:22 +0000 (22:04 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 13 Nov 2015 19:27:50 +0000 (11:27 -0800)
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 <emil.velikov@collabora.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_shader.h

index 67d623cd35acc092c0d07a3f8f166fd1074129ab..5632378eed79534812ce5c70ed7ba7f6e3108f87 100644 (file)
 #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