From: Iago Toral Quiroga Date: Thu, 7 Jan 2016 13:12:26 +0000 (+0100) Subject: i965/fs: add null_reg_df X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9ecd651e68c51379634980fbc964eb0b7590b5d;p=mesa.git 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 --- 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. */