summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-03-13 11:21:36 -0700
committerMatt Turner <[email protected]>2014-03-24 11:06:25 -0700
commit10dd6eca89951e0cb40e21c3b53caa33d8fcb383 (patch)
treee21b91fb7915ff1baa05d6b2448ae3ecb0a33773 /src/mesa/drivers/dri/i965/brw_vec4.h
parent0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e (diff)
i965/vec4: Add is_null() method to dst_reg.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index 5e5ef036a66..159a5bdfbbb 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -194,6 +194,8 @@ public:
explicit dst_reg(src_reg reg);
+ bool is_null() const;
+
int writemask; /**< Bitfield of WRITEMASK_[XYZW] */
src_reg *reladdr;