yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Ellie HermaszewskaFix segfault on arrays of structs containing parameter blocks (#8555)96df31a9f

master
264 B11 linesraw
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
2
3// Test: Direct array of ParameterBlock - should error
4
5[numthreads(4, 1, 1)]
6void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
7{
8}
9
10//CHECK: ([[# @LINE+1]]): error 30027
11uniform ParameterBlock<float> qs[2];