mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
i965/fs: add support for f2d and d2f
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
9e1b3ea199
commit
a644b0939d
1 changed files with 2 additions and 0 deletions
|
|
@ -723,6 +723,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
|
|||
if (optimize_extract_to_float(instr, result))
|
||||
return;
|
||||
|
||||
case nir_op_f2d:
|
||||
case nir_op_d2f:
|
||||
inst = bld.MOV(result, op[0]);
|
||||
inst->saturate = instr->dest.saturate;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue