[Mesa-dev] [PATCH 17/95] i965/vec4: add dst_null_df()

Iago Toral Quiroga itoral at igalia.com
Tue Jul 19 10:40:14 UTC 2016


---
 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 3043147..afcf31e 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.7.4



More information about the mesa-dev mailing list