vkd3d-shader/hlsl: Remove incorrect criteria for accepting implicit casts.

This commit is contained in:
Francisco Casas
2022-10-20 10:42:31 -03:00
committed by Alexandre Julliard
parent d93ce28995
commit 1c77811648
Notes: Alexandre Julliard 2022-10-25 22:39:01 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/35
2 changed files with 5 additions and 21 deletions

View File

@ -226,7 +226,7 @@ float4 main() : sv_target
}
[pixel shader fail todo]
[pixel shader fail]
float main() : SV_TARGET
{
float arr[3] = {1, 2, 3};
@ -237,7 +237,7 @@ float main() : SV_TARGET
}
[pixel shader fail todo]
[pixel shader fail]
float main() : SV_TARGET
{
float2 arr[3] = {1, 2, 3, 4, 5, 6};
@ -248,7 +248,7 @@ float main() : SV_TARGET
}
[pixel shader fail todo]
[pixel shader fail]
float4 main() : SV_TARGET
{
int arr1[4] = {1, 2, 3, 4};
@ -270,7 +270,7 @@ float4 main() : SV_TARGET
}
[pixel shader fail todo]
[pixel shader fail]
float4 main() : SV_TARGET
{
float4 f = {1, 2, 3, 4};
@ -281,7 +281,7 @@ float4 main() : SV_TARGET
}
[pixel shader fail todo]
[pixel shader fail]
float4 main() : SV_TARGET
{
float arr[4] = {1, 2, 3, 4};