mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-12 08:05:53 +00:00
Update validation error for invalid uniform array element alignment. Update tests to either remove the @stride attribute or use a different element type. Bug: tint:1381 Change-Id: I50b52cd78a34d9cd162fa5f2171a5fd35dcf3b79 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77560 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
9 lines
210 B
WebGPU Shading Language
9 lines
210 B
WebGPU Shading Language
type ArrayExplicitStride = array<i32, 2>;
|
|
type ArrayImplicitStride = array<i32, 2>;
|
|
|
|
fn foo() {
|
|
var explicit : ArrayExplicitStride;
|
|
var implict : ArrayImplicitStride;
|
|
implict = explicit;
|
|
}
|