summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2016-01-07 14:12:26 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2016-05-10 11:25:08 +0200
commitc9ecd651e68c51379634980fbc964eb0b7590b5d (patch)
tree07b713fd9980b40cdc77b59b84b75d6295011315
parente8a8fc956358fb5e0f776b39fdbce9247bb5538a (diff)
i965/fs: add null_reg_df
Probably not needed since we fix the dst type of comparisons automatically, but for consistency with the rest of null_reg_* functions. Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_builder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_builder.h b/src/mesa/drivers/dri/i965/brw_fs_builder.h
index 268ecc6f4ac..2087e585b06 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_builder.h
+++ b/src/mesa/drivers/dri/i965/brw_fs_builder.h
@@ -197,6 +197,13 @@ namespace brw {
BRW_REGISTER_TYPE_F));
}
+ dst_reg
+ null_reg_df() const
+ {
+ return dst_reg(retype(brw_null_vec(dispatch_width()),
+ BRW_REGISTER_TYPE_DF));
+ }
+
/**
* Create a null register of signed integer type.
*/