Mesa (master): i965: Move common fields into backend_instruction.
Matt Turner
mattst88 at kemper.freedesktop.org
Fri Nov 21 18:28:49 UTC 2014
Module: Mesa
Branch: master
Commit: d9432af45a1a69d0cd1dcf12edfae920adeb4734
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9432af45a1a69d0cd1dcf12edfae920adeb4734
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Nov 12 11:28:03 2014 -0800
i965: Move common fields into backend_instruction.
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
---
src/mesa/drivers/dri/i965/brw_fs.h | 2 --
src/mesa/drivers/dri/i965/brw_shader.h | 2 ++
src/mesa/drivers/dri/i965/brw_vec4.h | 3 ---
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 15eb76a..a675b2e 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -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 */
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 32460e2..cdf86ff 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -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
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index 8e7dfe1..44aea0e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -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 */
More information about the mesa-commit
mailing list