[Mesa-dev] [PATCH 48/59] i965/fs: add null_reg_df
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Fri Apr 29 11:29:45 UTC 2016
From: Iago Toral Quiroga <itoral at igalia.com>
Probably not needed since we fix the dst type of comparisons
automatically, but for consistency with the rest of null_reg_*
functions.
---
src/mesa/drivers/dri/i965/brw_fs_builder.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_builder.h b/src/mesa/drivers/dri/i965/brw_fs_builder.h
index 268ecc6..2087e58 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.
*/
--
2.5.0
More information about the mesa-dev
mailing list