mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
91d2d26f33
commit
8734461c58
1 changed files with 2 additions and 0 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue