summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-02-04 18:08:21 -0800
committerMatt Turner <[email protected]>2015-02-15 12:24:10 -0800
commite8a6f2ad65b03eac7c030b2cd4955a162739870b (patch)
tree44016d0434857474bc4ae0dbbe150506a38d9a28 /src/mesa/drivers/dri/i965/brw_shader.h
parent72b9f8db2a035b52dbd59af0d2a6441cbde11a4c (diff)
i965: Add an is_negative_one() method.
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 4b5c57364e8..7bff186dc49 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -51,6 +51,7 @@ struct backend_reg
#ifdef __cplusplus
bool is_zero() const;
bool is_one() const;
+ bool is_negative_one() const;
bool is_null() const;
bool is_accumulator() const;
#endif