vkd3d/tests/hlsl/unbounded-array-5.1.shader_test
Zebediah Figura 083a58767a tests: Test HLSL unbounded array syntax.
Change the shader in test_unbounded_samplers() to also test a nested array.
Note that the changed shader compiles to the same bytecode.
2024-04-09 12:27:49 -05:00

24 lines
379 B
Plaintext

[require]
shader model >= 5.1
options: unbounded-descriptor-arrays
[pixel shader fail]
SamplerState s[][];
float4 main() : sv_target
{
return 0;
}
[pixel shader fail]
SamplerState s[2][];
float4 main() : sv_target {return 0;}
[pixel shader fail]
float f[];
float4 main() : sv_target {return 0;}
[pixel shader fail todo]
STRING s[];
float4 main() : sv_target {return 0;}