mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 16:16:08 +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:
@@ -11,7 +11,7 @@ fn main_1() {
|
||||
var ll3 : i32;
|
||||
var d : i32;
|
||||
var r : i32;
|
||||
var sums : array<f32, 9>;
|
||||
var sums : array<f32, 9u>;
|
||||
var idx : i32;
|
||||
m43 = mat4x3<f32>(vec3<f32>(1.0, 0.0, 0.0), vec3<f32>(0.0, 1.0, 0.0), vec3<f32>(0.0, 0.0, 1.0), vec3<f32>(0.0, 0.0, 0.0));
|
||||
ll1 = 0;
|
||||
@@ -59,7 +59,7 @@ fn main_1() {
|
||||
let x_27 : i32 = r;
|
||||
let x_28 : i32 = r;
|
||||
let x_29 : i32 = r;
|
||||
tempm43[select(0, x_26, ((x_24 >= 0) && (x_25 < 4)))][select(0, x_29, ((x_27 >= 0) && (x_28 < 3)))] = 1.0;
|
||||
tempm43[select(0, x_26, ((x_24 >= 0) & (x_25 < 4)))][select(0, x_29, ((x_27 >= 0) & (x_28 < 3)))] = 1.0;
|
||||
|
||||
continuing {
|
||||
let x_30 : i32 = d;
|
||||
@@ -69,7 +69,7 @@ fn main_1() {
|
||||
let x_32 : i32 = idx;
|
||||
let x_33 : i32 = idx;
|
||||
let x_34 : i32 = idx;
|
||||
let x_111 : i32 = select(0, x_34, ((x_32 >= 0) && (x_33 < 9)));
|
||||
let x_111 : i32 = select(0, x_34, ((x_32 >= 0) & (x_33 < 9)));
|
||||
let x_35 : i32 = c;
|
||||
let x_113 : f32 = m43[x_35].y;
|
||||
let x_115 : f32 = sums[x_111];
|
||||
@@ -89,7 +89,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