vkd3d-shader: Check for missing semantics on entry function parameters.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-03-28 21:46:56 +02:00
committed by Alexandre Julliard
parent 21fea55c2d
commit 9a70d57690
2 changed files with 22 additions and 0 deletions

View File

@@ -108,6 +108,19 @@ float4 main(out float4 o : sv_target)
return 0;
}
[pixel shader fail]
float4 main(out float4 o) : sv_target
{
o = 1;
return 0;
}
[pixel shader fail]
float4 main(in float4 i) : sv_target
{
return 0;
}
[pixel shader fail]
struct {float4 a;};