mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 22:20:38 +02:00
zink: implement ineg
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
d19f0b437b
commit
bcd12adce5
1 changed files with 1 additions and 0 deletions
|
|
@ -783,6 +783,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
|
|||
result = emit_unop(ctx, spirv_op, dest_type, src[0]); \
|
||||
break;
|
||||
|
||||
UNOP(nir_op_ineg, SpvOpSNegate)
|
||||
UNOP(nir_op_fneg, SpvOpFNegate)
|
||||
UNOP(nir_op_fddx, SpvOpDPdx)
|
||||
UNOP(nir_op_fddy, SpvOpDPdy)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue