i965/vec4: add dst_null_df()
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 5 Feb 2016 09:11:48 +0000 (10:11 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:50 +0000 (11:26 +0100)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.h

index 2c5f75e12365704dab773e13db3f93cbf2dec70d..625ab9e5e329b68a2f3ad4c75c5c18c03b5800a6 100644 (file)
@@ -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));