mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
i965/fs: Enable conversions to 8-bit integers
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
030472c1f0
commit
87fc9af3fc
1 changed files with 2 additions and 0 deletions
|
|
@ -834,6 +834,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
|
|||
case nir_op_u2u16:
|
||||
case nir_op_i2f16:
|
||||
case nir_op_u2f16:
|
||||
case nir_op_i2i8:
|
||||
case nir_op_u2u8:
|
||||
inst = bld.MOV(result, op[0]);
|
||||
inst->saturate = instr->dest.saturate;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue