i965: Move common fields into backend_instruction.
authorMatt Turner <mattst88@gmail.com>
Wed, 12 Nov 2014 19:28:03 +0000 (11:28 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 21 Nov 2014 18:26:42 +0000 (10:26 -0800)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4.h

index 15eb76a2b5b57e4234e689a383f31ff8c05778d9..a675b2ef6e121da3c152c76b8cdcc7a73706136e 100644 (file)
@@ -281,8 +281,6 @@ public:
 
    uint8_t regs_written; /**< Number of vgrfs written by a SEND message, or 1 */
    bool eot:1;
-   bool header_present:1;
-   bool shadow_compare:1;
    bool force_uncompressed:1;
    bool force_sechalf:1;
    bool pi_noperspective:1;   /**< Pixel interpolator noperspective flag */
index 32460e233b9f680b8ce396f74c76f827ad0fe823..cdf86ff3cee25bcb5ba5731c01f18e414f733edb 100644 (file)
@@ -126,6 +126,8 @@ struct backend_instruction {
    bool no_dd_clear:1;
    bool no_dd_check:1;
    bool saturate:1;
+   bool shadow_compare:1;
+   bool header_present:1;
 };
 
 #ifdef __cplusplus
index 8e7dfe16c7d54baff89195b0ab991359661e53b6..44aea0ea8ee61712cd98ff5cb43b96bffbe1dc4d 100644 (file)
@@ -215,10 +215,7 @@ public:
    dst_reg dst;
    src_reg src[3];
 
-   bool shadow_compare;
-
    enum brw_urb_write_flags urb_write_flags;
-   bool header_present;
 
    unsigned sol_binding; /**< gen6: SOL binding table index */
    bool sol_final_write; /**< gen6: send commit message */