diff --git a/src/intel/compiler/brw_reg.h b/src/intel/compiler/brw_reg.h index b744d8808f3..92d9c8ad102 100644 --- a/src/intel/compiler/brw_reg.h +++ b/src/intel/compiler/brw_reg.h @@ -168,6 +168,12 @@ typedef struct brw_reg { uint32_t bits; }; + /** Offset from the start of the virtual register in bytes. */ + uint16_t offset; + + /** Register region horizontal stride of virtual registers */ + uint8_t stride; + union { struct { unsigned nr; @@ -188,12 +194,6 @@ typedef struct brw_reg { unsigned ud; }; - /** Offset from the start of the virtual register in bytes. */ - uint16_t offset; - - /** Register region horizontal stride of virtual registers */ - uint8_t stride; - #ifdef __cplusplus /* TODO: Remove this constructor to make this type a POD. Need * to make sure that rest of compiler doesn't rely on type or