v2 (Iago)
- Fixup accessibility in backend_reg
Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
unsigned pad1:1;
};
+ double df;
float f;
int d;
unsigned ud;
}
/** Construct float immediate register */
+static inline struct brw_reg
+brw_imm_df(double df)
+{
+ struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_DF);
+ imm.df = df;
+ return imm;
+}
+
static inline struct brw_reg
brw_imm_f(float f)
{
using brw_reg::width;
using brw_reg::hstride;
+ using brw_reg::df;
using brw_reg::f;
using brw_reg::d;
using brw_reg::ud;