From: Iago Toral Quiroga Date: Fri, 5 Feb 2016 09:11:48 +0000 (+0100) Subject: i965/vec4: add dst_null_df() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b6174dffa4c085a0b7f66db6c46b831c5c91f0b;p=mesa.git i965/vec4: add dst_null_df() Reviewed-by: Francisco Jerez Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 2c5f75e1236..625ab9e5e32 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -79,6 +79,11 @@ public: return dst_reg(brw_null_reg()); } + dst_reg dst_null_df() + { + return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_DF)); + } + dst_reg dst_null_d() { return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_D));