17 lines
328 B
HLSL
17 lines
328 B
HLSL
|
SKIP: FAILED
|
||
|
|
||
|
#ifndef WGSL_SPEC_CONSTANT_1234
|
||
|
#error spec constant required for constant id 1234
|
||
|
#endif
|
||
|
static const int o = WGSL_SPEC_CONSTANT_1234;
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void main() {
|
||
|
return;
|
||
|
}
|
||
|
/tmp/tint_mwzbqN:2:2: error: spec constant required for constant id 1234
|
||
|
#error spec constant required for constant id 1234
|
||
|
^
|
||
|
|
||
|
|