tests: Add some tests for using technique blocks when compiling for pixel/vertex profiles.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-11-01 19:44:39 +01:00 committed by Alexandre Julliard
parent 7ca6a5452a
commit c588f33822
Notes: Alexandre Julliard 2023-11-02 22:50:16 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/437
3 changed files with 111 additions and 0 deletions

View File

@ -102,3 +102,40 @@ technique
tEchnique11
{
}
% Regular shaders with technique blocks
[vertex shader todo]
float4 main() : sv_position
{
return 0;
}
technique
{
}
technique10
{
}
technique11
{
}
[pixel shader todo]
float4 main() : sv_target
{
return 0;
}
tEchnique
{
}
technique10
{
}
technique11
{
}

View File

@ -81,3 +81,40 @@ float4 technIque10;
[effect todo]
float4 technIque11;
% Regular shaders with technique blocks
[vertex shader todo]
float4 main() : sv_position
{
return 0;
}
technique
{
}
technique10
{
}
technique11
{
}
[pixel shader todo]
float4 main() : sv_target
{
return 0;
}
tEchnique
{
}
technique10
{
}
technique11
{
}

View File

@ -81,3 +81,40 @@ float4 technIque10;
[effect todo]
float4 technIque11;
% Regular shaders with technique blocks
[vertex shader todo]
float4 main() : sv_position
{
return 0;
}
technique
{
}
technique10
{
}
technique11
{
}
[pixel shader todo]
float4 main() : sv_target
{
return 0;
}
tEchnique
{
}
technique10
{
}
technique11
{
}