vkd3d/tests/hlsl/unbounded-array-5.1.shader_test
Zebediah Figura ce50c3a186 vkd3d-shader/hlsl: Use hlsl_type_is_resource() for unbounded array checks.
Not all objects can be unbounded descriptors.
2024-04-09 12:27:51 -05:00

24 lines
374 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]
STRING s[];
float4 main() : sv_target {return 0;}