diff options
author | Juha-Pekka Heikkila <[email protected]> | 2014-04-09 12:08:12 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-04-16 22:46:45 -0700 |
commit | 30c35d1dcb2fde19b1c968751fda5151b795d257 (patch) | |
tree | b26c860db01ed9fc18abccbaabf08a77bfd0d92a /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 6541f1b4d02b52e19c95dcfb07ef5e0e81a57955 (diff) |
i965: Add is_accumulator() function.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 2 |
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 159a5bdfbbb..b3549a5c845 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -128,6 +128,7 @@ public: bool equals(src_reg *r); bool is_zero() const; bool is_one() const; + bool is_accumulator() const; src_reg(class vec4_visitor *v, const struct glsl_type *type); @@ -195,6 +196,7 @@ public: explicit dst_reg(src_reg reg); bool is_null() const; + bool is_accumulator() const; int writemask; /**< Bitfield of WRITEMASK_[XYZW] */ |