mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 20:21:23 +00:00
The SPIR-V cleanup transforms were only being run if the DecomposeStridedMatrix transform needed to be run - despite the RemoveUnreachableStatements transform needing to be run, always. Change-Id: I5dc28a79200ab67c96fb793980412a5632e26026 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78780 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
10 lines
112 B
WebGPU Shading Language
10 lines
112 B
WebGPU Shading Language
fn main_1() {
|
|
var x_10 : u32;
|
|
return;
|
|
}
|
|
|
|
@stage(compute) @workgroup_size(1, 1, 1)
|
|
fn main() {
|
|
main_1();
|
|
}
|