mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 12:11:34 +00:00
And use this to define constants for override vars in unit tests that would fail for HLSL. Bug: tint:1519 Change-Id: I4fd15c517868694d2bcd81d563399f817ed74ae6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88882 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
8 lines
138 B
WebGPU Shading Language
8 lines
138 B
WebGPU Shading Language
// flags: --overrides WGSL_SPEC_CONSTANT_1234=0
|
|
@id(1234) override o : bool;
|
|
|
|
@stage(compute) @workgroup_size(1)
|
|
fn main() {
|
|
_ = o;
|
|
}
|