mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/dxil: Implement the DXIL BINOP instruction.
This commit is contained in:
committed by
Alexandre Julliard
parent
3e0638148a
commit
749df8dec2
Notes:
Alexandre Julliard
2023-11-06 23:18:07 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/409
@@ -1,3 +1,5 @@
|
||||
% TODO: dxcompiler emits no loops for any of these test shaders.
|
||||
|
||||
[pixel shader]
|
||||
float a;
|
||||
|
||||
@@ -16,7 +18,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float 5.0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (50.0, 50.0, 50.0, 50.0)
|
||||
|
||||
|
||||
@@ -39,7 +41,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float 4.0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (20.0, 20.0, 20.0, 20.0)
|
||||
|
||||
[pixel shader]
|
||||
@@ -68,7 +70,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float 4.0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (409.1, 409.1, 409.1, 409.1)
|
||||
|
||||
[pixel shader]
|
||||
@@ -98,7 +100,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float 4.0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (410.1, 410.1, 410.1, 410.1)
|
||||
|
||||
% loop attribute by itself
|
||||
|
Reference in New Issue
Block a user