i965/fs: Add support for nir_op_[iu]642d

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
Jason Ekstrand 2017-02-02 17:11:35 -08:00 committed by Samuel Iglesias Gonsálvez
parent 91d2d26f33
commit 8734461c58

View file

@ -644,6 +644,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
switch (instr->op) {
case nir_op_i2f:
case nir_op_u2f:
case nir_op_i642d:
case nir_op_u642d:
if (optimize_extract_to_float(instr, result))
return;
inst = bld.MOV(result, op[0]);