vkd3d-shader/ir: Introduce opcode COS.

It is meant to compute cosine, and gradually replace SINCOS, at
least from a certain point in the pipeline on.
This commit is contained in:
Giovanni Mascellani
2025-06-09 22:17:43 +02:00
committed by Henri Verbeet
parent b7fbd3c0f0
commit 322f2e5496
Notes: Henri Verbeet 2025-06-19 20:51:53 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1557
4 changed files with 7 additions and 1 deletions

View File

@@ -311,6 +311,7 @@ enum vkd3d_shader_opcode
VKD3DSIH_CND,
VKD3DSIH_CONTINUE,
VKD3DSIH_CONTINUEP,
VKD3DSIH_COS,
VKD3DSIH_COUNTBITS,
VKD3DSIH_CRS,
VKD3DSIH_CUT,