vkd3d-shader/hlsl: Emit a hlsl_fixme() for HLSL_IR_CALL instructions.

Avoid outputting invalid shaders.
This commit is contained in:
Zebediah Figura
2023-01-30 13:29:17 -06:00
committed by Alexandre Julliard
parent f9e7cb6345
commit aa3badbd9d
Notes: Alexandre Julliard 2023-01-31 22:50:33 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
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/65
8 changed files with 39 additions and 31 deletions

View File

@ -118,7 +118,7 @@ void func()
{
}
[pixel shader]
[pixel shader todo]
float func(in float a, out float b, inout float c)
{
@ -139,10 +139,10 @@ float4 main() : sv_target
}
[test]
draw quad
todo draw quad
todo probe all rgba (0.5, 0.6, 0.7, 0)
[pixel shader]
[pixel shader todo]
void func(in float a, inout float2 b)
{
@ -160,7 +160,7 @@ float4 main() : sv_target
}
[test]
draw quad
todo draw quad
todo probe all rgba (0.6, 0.1, 0.5, 0)
% Recursion is forbidden.