mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Add a fx_4_1 compilation test for the BlendState states.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
fd1f74f44d
commit
d660a0d2ae
Notes:
Henri Verbeet
2025-05-06 19:06:09 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1484
25
tests/hlsl/effect-variables-fx_4_1.shader_test
Normal file
25
tests/hlsl/effect-variables-fx_4_1.shader_test
Normal file
@@ -0,0 +1,25 @@
|
||||
[require]
|
||||
shader model >= 4.1
|
||||
shader model < 6.0
|
||||
|
||||
[effect todo]
|
||||
BlendState bs
|
||||
{
|
||||
SrcBlend[0] = one;
|
||||
DestBlend[1] = zero;
|
||||
BlendOp[2] = min;
|
||||
SrcBlendAlpha[3] = dest_color;
|
||||
DestBlendAlpha[4] = src1_alpha;
|
||||
BlendOpAlpha[5] = add;
|
||||
};
|
||||
|
||||
[effect todo]
|
||||
BlendState bs
|
||||
{
|
||||
SrcBlend = one;
|
||||
DestBlend = zero;
|
||||
BlendOp = min;
|
||||
SrcBlendAlpha = dest_color;
|
||||
DestBlendAlpha = src1_alpha;
|
||||
BlendOpAlpha = add;
|
||||
};
|
Reference in New Issue
Block a user