17 lines
315 B
HLSL
17 lines
315 B
HLSL
|
SKIP: FAILED
|
||
|
|
||
|
#ifndef WGSL_SPEC_CONSTANT_0
|
||
|
#error spec constant required for constant id 0
|
||
|
#endif
|
||
|
static const float o = WGSL_SPEC_CONSTANT_0;
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void main() {
|
||
|
return;
|
||
|
}
|
||
|
/tmp/tint_gYmCvK:2:2: error: spec constant required for constant id 0
|
||
|
#error spec constant required for constant id 0
|
||
|
^
|
||
|
|
||
|
|