vkd3d-shader/tpf: Add initial support for writing fx_4_0/fx_4_1 binaries.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov
2023-11-05 22:07:01 +01:00
committed by Alexandre Julliard
parent 9494b72224
commit a0207436f2
Notes: Alexandre Julliard 2024-01-11 23:13:27 +01: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/443
8 changed files with 208 additions and 9 deletions

View File

@@ -86,7 +86,7 @@ technique10
}
% Effects without techniques are not allowed for fx_2_0
[effect fail]
[effect fail todo]
float4 f;
% fx_5_0 keyword fails with fx_2_0 profile

View File

@@ -37,7 +37,7 @@ float4 main() : sv_target
return fxGroup;
}
[effect todo]
[effect]
technique
{
}
@@ -47,11 +47,11 @@ technique10
}
% Effects without techniques are allowed for fx_4_0+
[effect todo]
[effect]
float4 f;
% fx_2_0 keyword is allowed with fx_4_0+ profiles
[effect todo]
[effect]
technique
{
}
@@ -90,10 +90,10 @@ float4 technique10;
[effect fail]
float4 technique11;
[effect todo]
[effect]
float4 technIque10;
[effect todo]
[effect]
float4 technIque11;
% Regular shaders with technique blocks