mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add some fx profiles tests for structure types containing objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
7958babb39
commit
c8720f1229
Notes:
Henri Verbeet
2024-07-08 18:55:58 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/931
@ -103,6 +103,8 @@ vkd3d_shader_tests = \
|
||||
tests/hlsl/effect-technique-fx_4.shader_test \
|
||||
tests/hlsl/effect-technique-fx_5.shader_test \
|
||||
tests/hlsl/effect-variables-fx_2.shader_test \
|
||||
tests/hlsl/effect-variables-fx_4.shader_test \
|
||||
tests/hlsl/effect-variables-fx_5.shader_test \
|
||||
tests/hlsl/entry-point-semantics.shader_test \
|
||||
tests/hlsl/exp.shader_test \
|
||||
tests/hlsl/expr-indexing.shader_test \
|
||||
|
@ -24,3 +24,23 @@ Texture3D tex7;
|
||||
technique
|
||||
{
|
||||
}
|
||||
|
||||
[effect]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
technique {}
|
||||
|
||||
[effect fail]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
s var;
|
||||
|
||||
technique {}
|
||||
|
19
tests/hlsl/effect-variables-fx_4.shader_test
Normal file
19
tests/hlsl/effect-variables-fx_4.shader_test
Normal file
@ -0,0 +1,19 @@
|
||||
[require]
|
||||
shader model >= 4.0
|
||||
shader model < 6.0
|
||||
|
||||
[effect]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
[effect fail]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
s var;
|
19
tests/hlsl/effect-variables-fx_5.shader_test
Normal file
19
tests/hlsl/effect-variables-fx_5.shader_test
Normal file
@ -0,0 +1,19 @@
|
||||
[require]
|
||||
shader model >= 5.0
|
||||
shader model < 6.0
|
||||
|
||||
[effect]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
[effect fail todo]
|
||||
struct s
|
||||
{
|
||||
Texture t;
|
||||
float4 f;
|
||||
};
|
||||
|
||||
s var;
|
Loading…
Reference in New Issue
Block a user