mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/fx: Initial support for fx_5_0 output.
This commit is contained in:
committed by
Alexandre Julliard
parent
8014c11e88
commit
e7d65d39ba
Notes:
Alexandre Julliard
2024-01-15 23:02:43 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/560
@ -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_5_0
|
||||
[effect todo]
|
||||
[effect]
|
||||
float4 f;
|
||||
|
||||
% fx_2_0 keyword is allowed with fx_5_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
|
||||
@ -174,7 +174,7 @@ fxgroup group
|
||||
}
|
||||
|
||||
% Group provides scope for techniques
|
||||
[effect todo]
|
||||
[effect]
|
||||
fxgroup group1
|
||||
{
|
||||
technique11 tech0 {}
|
||||
|
Reference in New Issue
Block a user