mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-11 23:56:05 +00:00
These expressions were not emitted as spec-ops, failing new CTS tests. Change-Id: I56e8f56a22de2b8dac9a8bd7a2d694d8d81dca35 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67480 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: James Price <jrprice@google.com>
17 lines
329 B
HLSL
17 lines
329 B
HLSL
SKIP: FAILED
|
|
|
|
#ifndef WGSL_SPEC_CONSTANT_1234
|
|
#error spec constant required for constant id 1234
|
|
#endif
|
|
static const bool o = WGSL_SPEC_CONSTANT_1234;
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
return;
|
|
}
|
|
/tmp/tint_4uqZfq:2:2: error: spec constant required for constant id 1234
|
|
#error spec constant required for constant id 1234
|
|
^
|
|
|
|
|