From 9b6174dffa4c085a0b7f66db6c46b831c5c91f0b Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Fri, 5 Feb 2016 10:11:48 +0100 Subject: [PATCH] i965/vec4: add dst_null_df() Reviewed-by: Francisco Jerez Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_vec4.h | 5 +++++ 1 file changed, 5 insertions(+) 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)); -- 2.30.2