mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
validation: compute shader must include 'workgroup_size' in its attributes
Bug: tint:884 Change-Id: If96c6df3247fee142a779117fa26d006afd4f7ef Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55680 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
@@ -10,7 +10,7 @@ fn f3(a : array<array<array<f32, 4>, 3>, 2>) -> f32 {
|
||||
return a[1][2][3];
|
||||
}
|
||||
|
||||
[[stage(compute)]]
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
let a1 : array<f32, 4> = array<f32, 4>();
|
||||
let a2 : array<array<f32, 4>, 3> = array<array<f32, 4>, 3>();
|
||||
|
||||
Reference in New Issue
Block a user