mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add tests for LOGIC_NOT on uniforms.
This commit is contained in:
parent
68b31b7396
commit
90e8a541fb
Notes:
Alexandre Julliard
2024-03-27 23:07:31 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/724
@ -156,3 +156,26 @@ float4 main() : SV_TARGET
|
||||
[test]
|
||||
todo(glsl) draw quad
|
||||
probe all rgba (0.0, 1.0, 1.0, 1.0)
|
||||
|
||||
|
||||
[pixel shader todo(sm<4)]
|
||||
int a, b;
|
||||
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
return float4(!(a && b), !!(a || b), !!!a, !(a < b));
|
||||
}
|
||||
|
||||
[test]
|
||||
if(sm<4) uniform 0 float 5
|
||||
if(sm<4) uniform 4 float 0
|
||||
if(sm>=4) uniform 0 int 5
|
||||
if(sm>=4) uniform 1 int 0
|
||||
todo(sm<4 | glsl) draw quad
|
||||
probe all rgba (1.0, 1.0, 0.0, 1.0)
|
||||
if(sm<4) uniform 0 float -1
|
||||
if(sm<4) uniform 4 float 3
|
||||
if(sm>=4) uniform 0 int -1
|
||||
if(sm>=4) uniform 1 int 3
|
||||
todo(sm<4 | glsl) draw quad
|
||||
probe all rgba (0.0, 1.0, 0.0, 0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user