yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
d979b5048
master
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): 2 3struct S 4{ 5 float foo : 10; 6 // CHECK: non-integral.slang([[#@LINE-1]]): error 31301: bit-field type (float) must be an integral type 7 S bar : 10; 8 // CHECK: non-integral.slang([[#@LINE-1]]): error 31301: bit-field type (S) must be an integral type 9}; 10 11[numthreads(1, 1, 1)] 12void computeMain() 13{ 14}