vkd3d-shader/glsl: Implement VKD3DSIH_NOT.

This commit is contained in:
Henri Verbeet
2024-05-03 21:14:29 +02:00
parent 1812258f37
commit 01ba2ba6db
Notes: Henri Verbeet 2024-10-01 17:35:47 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1134
6 changed files with 35 additions and 16 deletions

View File

@@ -134,13 +134,13 @@ float4 main() : sv_target
[test]
uniform 0 float 0.1
todo(sm<4 | glsl) draw quad
todo(sm<4) draw quad
probe (0, 0) rgba (0.2, 0.1, 0.2, 0.1) 1
uniform 0 float 0.5
todo(sm<4 | glsl) draw quad
todo(sm<4) draw quad
probe (0, 0) rgba (0.5, 0.4, 1.0, 0.9) 1
uniform 0 float 0.9
todo(sm<4 | glsl) draw quad
todo(sm<4) draw quad
probe (0, 0) rgba (1.0, 0.9, 1.0, 0.6) 1
[pixel shader]