mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 00:17:03 +00:00
test: Regenerate vk-gl-cts WGSL sources
This removes @stride, which will soon be invalid. Bug: tint:1381 Change-Id: I3cbe987edb9b918b2f344b92a4f0fe4838df4a80 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/83962 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
struct S {
|
||||
x : i32;
|
||||
y : i32;
|
||||
};
|
||||
}
|
||||
|
||||
struct buf0 {
|
||||
one : i32;
|
||||
};
|
||||
}
|
||||
|
||||
@group(0) @binding(0) var<uniform> x_10 : buf0;
|
||||
|
||||
@@ -18,7 +18,7 @@ fn func_struct_S_i1_i11_(arg : ptr<function, S>) {
|
||||
|
||||
fn main_1() {
|
||||
var a : f32;
|
||||
var b : array<S, 2>;
|
||||
var b : array<S, 2u>;
|
||||
var param : S;
|
||||
a = 5.0;
|
||||
loop {
|
||||
@@ -59,7 +59,7 @@ fn main_1() {
|
||||
struct main_out {
|
||||
@location(0)
|
||||
x_GLF_color_1 : vec4<f32>;
|
||||
};
|
||||
}
|
||||
|
||||
@stage(fragment)
|
||||
fn main() -> main_out {
|
||||
|
||||
Reference in New Issue
Block a user