mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +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,6 +1,6 @@
|
||||
struct buf0 {
|
||||
resolution : vec2<f32>;
|
||||
};
|
||||
}
|
||||
|
||||
var<private> gl_FragCoord : vec4<f32>;
|
||||
|
||||
@@ -56,12 +56,12 @@ fn pointInTriangle_vf2_vf2_vf2_vf2_(p : ptr<function, vec2<f32>>, a_1 : ptr<func
|
||||
pbc = x_132;
|
||||
let x_133 : f32 = pab;
|
||||
let x_135 : f32 = pbc;
|
||||
let x_137 : bool = ((x_133 < 0.0) && (x_135 < 0.0));
|
||||
let x_137 : bool = ((x_133 < 0.0) & (x_135 < 0.0));
|
||||
x_146_phi = x_137;
|
||||
if (!(x_137)) {
|
||||
let x_141 : f32 = pab;
|
||||
let x_143 : f32 = pbc;
|
||||
x_145 = ((x_141 >= 0.0) && (x_143 >= 0.0));
|
||||
x_145 = ((x_141 >= 0.0) & (x_143 >= 0.0));
|
||||
x_146_phi = x_145;
|
||||
}
|
||||
let x_146 : bool = x_146_phi;
|
||||
@@ -82,12 +82,12 @@ fn pointInTriangle_vf2_vf2_vf2_vf2_(p : ptr<function, vec2<f32>>, a_1 : ptr<func
|
||||
pca = x_172;
|
||||
let x_173 : f32 = pab;
|
||||
let x_175 : f32 = pca;
|
||||
let x_177 : bool = ((x_173 < 0.0) && (x_175 < 0.0));
|
||||
let x_177 : bool = ((x_173 < 0.0) & (x_175 < 0.0));
|
||||
x_186_phi = x_177;
|
||||
if (!(x_177)) {
|
||||
let x_181 : f32 = pab;
|
||||
let x_183 : f32 = pca;
|
||||
x_185 = ((x_181 >= 0.0) && (x_183 >= 0.0));
|
||||
x_185 = ((x_181 >= 0.0) & (x_183 >= 0.0));
|
||||
x_186_phi = x_185;
|
||||
}
|
||||
let x_186 : bool = x_186_phi;
|
||||
@@ -123,7 +123,7 @@ fn main_1() {
|
||||
struct main_out {
|
||||
@location(0)
|
||||
x_GLF_color_1 : vec4<f32>;
|
||||
};
|
||||
}
|
||||
|
||||
@stage(fragment)
|
||||
fn main(@builtin(position) gl_FragCoord_param : vec4<f32>) -> main_out {
|
||||
|
||||
Reference in New Issue
Block a user