From c9ecd651e68c51379634980fbc964eb0b7590b5d Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 7 Jan 2016 14:12:26 +0100 Subject: [PATCH] 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 --- 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 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. */ -- 2.30.2