mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/hlsl: Remove a test in which a function reads an "out" argument.
The code doesn't make sense in the first place, even if it's accepted by the compiler, so it makes sense that the behaviour is undefined. And indeed the behaviour is different on AMD (4 is returned), NVIDIA (QNaN is returned) and WARP (device is removed).
This commit is contained in:
committed by
Henri Verbeet
parent
df1aecb7bd
commit
26656808e6
Notes:
Henri Verbeet
2025-04-16 16:52:31 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1461
@@ -453,10 +453,6 @@ float4 main() : sv_target
|
|||||||
return float4(x, y, 0, 0);
|
return float4(x, y, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
[test]
|
|
||||||
todo draw quad
|
|
||||||
probe (0, 0) rgba (4.0, 4.0, 0.0, 0.0)
|
|
||||||
|
|
||||||
[pixel shader fail(sm<6)]
|
[pixel shader fail(sm<6)]
|
||||||
float func(float a, inout float b = 1.0)
|
float func(float a, inout float b = 1.0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user