Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 79736ae6 by Giovanni Mascellani at 2025-10-13T19:06:34+02:00 vkd3d-shader/ir: Introduce VSIR_OP_NEG to represent floating-point negation.
- - - - - eb1210f5 by Giovanni Mascellani at 2025-10-13T19:07:01+02:00 vkd3d-shader/ir: Lower NEG modifiers to instructions.
- - - - - 786ffe69 by Giovanni Mascellani at 2025-10-13T19:12:51+02:00 vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the linear case.
- - - - - b2d47693 by Giovanni Mascellani at 2025-10-13T19:12:56+02:00 vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the exponential case.
- - - - - ca23db5b by Giovanni Mascellani at 2025-10-13T19:13:01+02:00 vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the doubly exponential case.
- - - - - 968eb746 by Giovanni Mascellani at 2025-10-13T19:13:05+02:00 vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the common part.
The NEG source modifier is not generated any more during vsir transformation, so it can be dropped in backends.
- - - - - b5b5c67b by Giovanni Mascellani at 2025-10-13T19:25:51+02:00 vkd3d-shader/ir: Lower ABSNEG modifiers to instructions.
- - - - -
6 changed files:
- libs/vkd3d-shader/dxil.c - libs/vkd3d-shader/glsl.c - libs/vkd3d-shader/ir.c - libs/vkd3d-shader/msl.c - libs/vkd3d-shader/spirv.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/62fa65066fea8fc604910f9b6107e...