mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests: Remove [require] directives for tests that use int and bool uniforms.
These tests should actually compile and run in SM1, which is possible if we pass the int and uint uniforms in the expected IEEE 754 float format for SM1 shaders. Also, bools should be passed as 1.0f or 0.0f to SM1.
This commit is contained in:
committed by
Alexandre Julliard
parent
22c47e57f5
commit
6a8939e19f
Notes:
Alexandre Julliard
2024-02-13 23:11:43 +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/616
@ -69,8 +69,6 @@ uniform 0 float4 -1.9 -1.0 2.9 4.0
|
||||
todo draw quad
|
||||
probe all rgba (-1.0, -1.0, 2.0, 4.0)
|
||||
|
||||
[require]
|
||||
shader model >= 4.0
|
||||
|
||||
[pixel shader todo]
|
||||
uniform int4 i;
|
||||
@ -88,6 +86,7 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 int4 -2 0 1 -3000000
|
||||
if(sm<4) uniform 0 float4 -2 0 1 -3000000
|
||||
if(sm>=4) uniform 0 int4 -2 0 1 -3000000
|
||||
todo(sm<6) draw quad
|
||||
probe all rgba (-1.0, 0.0, 1.0, -3000000.0)
|
||||
probe all rgba (-1.0, 0.0, 1.0, -3000000.0) 4
|
||||
|
Reference in New Issue
Block a user