From: Samuel Iglesias Gonsálvez Date: Thu, 7 Jul 2016 11:35:30 +0000 (+0200) Subject: i965/vec4: use the new helper function to create double immediates X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b58026b31e7258a4bd2bb630a1d41a433fb01799;p=mesa.git i965/vec4: use the new helper function to create double immediates Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp index 312f30bff38..d8aa64023c3 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp @@ -389,7 +389,7 @@ vec4_visitor::nir_emit_load_const(nir_load_const_instr *instr) reg.writemask = writemask; if (instr->def.bit_size == 64) { - emit(MOV(reg, brw_imm_df(instr->value.f64[i]))); + emit(MOV(reg, setup_imm_df(instr->value.f64[i]))); } else { emit(MOV(reg, brw_imm_d(instr->value.i32[i]))); }