vkd3d-shader/ir: Introduce VSIR_OP_NEG to represent floating-point negation.

This commit is contained in:
Giovanni Mascellani
2025-10-08 22:26:59 +02:00
committed by Henri Verbeet
parent 62fa65066f
commit 79736ae6ff
Notes: Henri Verbeet 2025-10-13 19:32:46 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1783
5 changed files with 52 additions and 11 deletions

View File

@@ -503,6 +503,7 @@ enum vkd3d_shader_opcode
VSIR_OP_MOVC,
VSIR_OP_MSAD,
VSIR_OP_MUL,
VSIR_OP_NEG,
VSIR_OP_NEO,
VSIR_OP_NEU,
VSIR_OP_NOP,