[glsl][ir] Create header section before preamble. When emitting GLSL the `precision` modifiers and extensions need to be emitted before the `struct`s. This means we need a header section to go before the preamble section. Bug: 42251044 Change-Id: I6c702955481f5665b1110eeb36ea1ecd1eb65411 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205574 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/src/tint/lang/glsl/writer/access_test.cc b/src/tint/lang/glsl/writer/access_test.cc index 1d25bb3..4b8a85c 100644 --- a/src/tint/lang/glsl/writer/access_test.cc +++ b/src/tint/lang/glsl/writer/access_test.cc
@@ -75,6 +75,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct S { int a; float b; @@ -196,6 +197,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct A { int d; float e[3]; @@ -274,7 +276,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -309,7 +310,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -342,7 +342,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { mat4 tint_symbol; @@ -371,7 +370,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol[5]; @@ -401,14 +399,14 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct SB { int a; float b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -451,7 +449,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { mat3 s; vec3 t[5]; @@ -466,9 +467,6 @@ int a; Outer b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -499,7 +497,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -541,7 +538,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -587,7 +583,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { float c; uint d; @@ -597,9 +596,6 @@ int a; Inner b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -746,7 +742,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { float c; uint d; @@ -756,9 +755,6 @@ int a; Inner b; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { @@ -818,7 +814,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { float tint_symbol; @@ -845,7 +840,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { float16_t tint_symbol; @@ -875,7 +869,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { vec4 tint_symbol; @@ -911,7 +904,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { f16vec4 tint_symbol; @@ -945,7 +937,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { mat4 tint_symbol; @@ -976,7 +967,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { vec3 tint_symbol_col0; @@ -1008,7 +998,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { f16vec3 tint_symbol_col0; @@ -1040,7 +1029,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { vec2 tint_symbol_col0; @@ -1073,7 +1061,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { vec2 tint_symbol_col0; @@ -1106,7 +1093,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { f16vec2 tint_symbol_col0; @@ -1136,7 +1122,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { vec3 tint_symbol[5]; @@ -1165,7 +1150,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { f16vec3 tint_symbol[5]; @@ -1193,7 +1177,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { vec3 tint_symbol[42]; @@ -1223,14 +1206,14 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct SB { int a; float b; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { @@ -1262,14 +1245,14 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"(#extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct SB { int a; float16_t b; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo { @@ -1312,7 +1295,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner_std140 { vec3 s_col0; vec3 s_col1; @@ -1344,9 +1330,6 @@ int a; Outer b; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_std140_1_ubo { @@ -1383,7 +1366,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -1410,7 +1392,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -1437,7 +1418,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -1465,7 +1445,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -1492,7 +1471,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -1520,7 +1498,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -1547,7 +1524,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { mat4 tint_symbol; @@ -1575,7 +1551,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16mat3x2 tint_symbol; @@ -1602,7 +1577,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { mat4 tint_symbol; @@ -1630,7 +1604,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16mat2x3 tint_symbol; @@ -1656,7 +1629,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { mat4 tint_symbol; @@ -1683,7 +1655,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16mat4 tint_symbol; @@ -1709,7 +1680,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol[5]; @@ -1736,7 +1706,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol[5]; @@ -1763,7 +1732,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol[5]; @@ -1809,14 +1777,14 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct SB { int a; float b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -1846,14 +1814,14 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"(#extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct SB { int a; float16_t b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -1892,7 +1860,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { mat3 s; vec3 t[5]; @@ -1907,9 +1878,6 @@ int a; Outer b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -1948,7 +1916,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { float s; vec3 t; @@ -1963,9 +1934,6 @@ int a; Outer b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -2018,7 +1986,10 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct Inner { mat3 s; vec3 t[5]; @@ -2033,9 +2004,6 @@ int a; Outer b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -2101,14 +2069,14 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct SB { int a; vec3 b; }; -precision highp float; -precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { @@ -2140,14 +2108,14 @@ }); ASSERT_TRUE(Generate()) << err_ << output_.glsl; - EXPECT_EQ(output_.glsl, GlslHeader() + R"( + EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; +precision highp int; + + struct SB { float c; vec3 d; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_1_1_ubo {
diff --git a/src/tint/lang/glsl/writer/constructor_test.cc b/src/tint/lang/glsl/writer/constructor_test.cc index 3b23d70..2871d14 100644 --- a/src/tint/lang/glsl/writer/constructor_test.cc +++ b/src/tint/lang/glsl/writer/constructor_test.cc
@@ -607,6 +607,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct S { int a; float b; @@ -636,6 +637,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct S { int a; float b;
diff --git a/src/tint/lang/glsl/writer/function_test.cc b/src/tint/lang/glsl/writer/function_test.cc index fa89315..88844b9 100644 --- a/src/tint/lang/glsl/writer/function_test.cc +++ b/src/tint/lang/glsl/writer/function_test.cc
@@ -67,7 +67,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - void main() { } )");
diff --git a/src/tint/lang/glsl/writer/printer/printer.cc b/src/tint/lang/glsl/writer/printer/printer.cc index 1d8ee0b..8659068 100644 --- a/src/tint/lang/glsl/writer/printer/printer.cc +++ b/src/tint/lang/glsl/writer/printer/printer.cc
@@ -118,7 +118,7 @@ } { - TINT_SCOPED_ASSIGNMENT(current_buffer_, &preamble_buffer_); + TINT_SCOPED_ASSIGNMENT(current_buffer_, &header_buffer_); auto out = Line(); out << "#version " << version_.major_version << version_.minor_version << "0"; @@ -135,7 +135,17 @@ } StringStream ss; - ss << preamble_buffer_.String() << '\n' << main_buffer_.String(); + auto header = header_buffer_.String(); + if (!header.empty()) { + ss << header << "\n"; + } + + auto preamble = preamble_buffer_.String(); + if (!preamble.empty()) { + ss << preamble << "\n"; + } + ss << main_buffer_.String(); + return ss.str(); } @@ -144,6 +154,9 @@ const Version& version_; + /// The buffer holding header text + TextBuffer header_buffer_; + /// The buffer holding preamble text TextBuffer preamble_buffer_; @@ -231,9 +244,9 @@ // Fragment shaders need a precision statement if (func->Stage() == core::ir::Function::PipelineStage::kFragment) { - auto pre = Line(&preamble_buffer_); + auto pre = Line(&header_buffer_); pre << "precision highp float;\n"; - pre << "precision highp int;\n"; + pre << "precision highp int;"; } // Switch the entry point name to `main`. This makes the assumption that single entry @@ -529,7 +542,7 @@ } emitted_extensions_.Add(name); - TINT_SCOPED_ASSIGNMENT(current_buffer_, &preamble_buffer_); + TINT_SCOPED_ASSIGNMENT(current_buffer_, &header_buffer_); Line() << "#extension " << name << ": require"; }
diff --git a/src/tint/lang/glsl/writer/type_test.cc b/src/tint/lang/glsl/writer/type_test.cc index f120d93..26343c2 100644 --- a/src/tint/lang/glsl/writer/type_test.cc +++ b/src/tint/lang/glsl/writer/type_test.cc
@@ -110,6 +110,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct Inner { vec3 t[5]; }; @@ -399,6 +400,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct S { int a; float b; @@ -426,6 +428,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct S { int a; float b; @@ -459,6 +462,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct Inner { uint x; vec4 y;
diff --git a/src/tint/lang/glsl/writer/var_and_let_test.cc b/src/tint/lang/glsl/writer/var_and_let_test.cc index 8a43ab9..25b1765 100644 --- a/src/tint/lang/glsl/writer/var_and_let_test.cc +++ b/src/tint/lang/glsl/writer/var_and_let_test.cc
@@ -154,7 +154,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - layout(location = 1) flat in uint v; void main() { } @@ -178,7 +177,6 @@ precision highp float; precision highp int; - layout(location = 1, index = 1) out uint v; void main() { } @@ -201,7 +199,6 @@ EXPECT_EQ(output_.glsl, GlslHeader() + R"(precision highp float; precision highp int; - void main() { } )"); @@ -223,7 +220,6 @@ precision highp float; precision highp int; - void main() { } )"); @@ -245,7 +241,6 @@ precision highp float; precision highp int; - void main() { } )"); @@ -269,7 +264,6 @@ precision highp float; precision highp int; - void main() { } )"); @@ -306,6 +300,7 @@ ASSERT_TRUE(Generate()) << err_ << output_.glsl; EXPECT_EQ(output_.glsl, GlslHeader() + R"( + struct SB { int a; float b;
diff --git a/test/tint/array/size.wgsl.expected.ir.glsl b/test/tint/array/size.wgsl.expected.ir.glsl index 17179e1..73525ba 100644 --- a/test/tint/array/size.wgsl.expected.ir.glsl +++ b/test/tint/array/size.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_2_1_ssbo { float tint_symbol_1;
diff --git a/test/tint/array/strides.spvasm.expected.ir.glsl b/test/tint/array/strides.spvasm.expected.ir.glsl index 78b0ac3..e8eb01f 100644 --- a/test/tint/array/strides.spvasm.expected.ir.glsl +++ b/test/tint/array/strides.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct strided_arr { float el; };
diff --git a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl index 86706b1..e341c3d 100644 --- a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner { float scalar_f32; int scalar_i32;
diff --git a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl index 9fb1fd0..593005b 100644 --- a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner { float scalar_f32; int scalar_i32;
diff --git a/test/tint/buffer/storage/static_index/write.wgsl.expected.ir.glsl b/test/tint/buffer/storage/static_index/write.wgsl.expected.ir.glsl index 9e6acd0..3e1c2fe 100644 --- a/test/tint/buffer/storage/static_index/write.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/static_index/write.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner { int scalar_i32; float scalar_f32;
diff --git a/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.ir.glsl index eb07a1d..2cecf87 100644 --- a/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner { int scalar_i32; float scalar_f32;
diff --git a/test/tint/buffer/storage/types/struct_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/types/struct_f16.wgsl.expected.ir.glsl index 4c31d2b..36bd8d2 100644 --- a/test/tint/buffer/storage/types/struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/types/struct_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner { float16_t scalar_f16; f16vec3 vec3_f16;
diff --git a/test/tint/buffer/storage/types/struct_f32.wgsl.expected.ir.glsl b/test/tint/buffer/storage/types/struct_f32.wgsl.expected.ir.glsl index 572b729..9314740 100644 --- a/test/tint/buffer/storage/types/struct_f32.wgsl.expected.ir.glsl +++ b/test/tint/buffer/storage/types/struct_f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner { float scalar_f32; vec3 vec3_f32;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl index e656cfc..efd424f 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 5266328..c49182e 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl index ca3ed023..020abb9 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.ir.glsl index 9e9e0e6..2f3d94b 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_private.wgsl.expected.ir.glsl index f537280..c52754e 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_storage.wgsl.expected.ir.glsl index b51a294..7f840da 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl index ed61fa2..e9937f6 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 5a9332e..3450f67 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl index ef615bd..d0b6a71 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.ir.glsl index 885bee2..fe856f4 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_private.wgsl.expected.ir.glsl index 5bd634f..12accd3 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_storage.wgsl.expected.ir.glsl index 444c0d5..8db444f 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 811fcf9..d422bba 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 96f4ff8..3ece8cc 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl index 1cd6f65..2e92d9e 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.ir.glsl index 3116a4d..a3df2cb 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_private.wgsl.expected.ir.glsl index 8428aa9..3339ce0 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_storage.wgsl.expected.ir.glsl index 8e6aaf6..62f615c 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat2x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 8b6a0d2..c9af541 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl index b80d7d8..9de689d 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl index 168c623..a7ac8cb 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.ir.glsl index d7d2312..9776082 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_private.wgsl.expected.ir.glsl index 6f07774..c4a2214 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_storage.wgsl.expected.ir.glsl index 1ab7180..3f98c99 100644 --- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat2x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 2199f35..be04743 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index fd53c51..d58ab21 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl index a0e6802..c6eabdc 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.ir.glsl index d735018..83678c6 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_private.wgsl.expected.ir.glsl index bf3c870..b438169 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_storage.wgsl.expected.ir.glsl index 5eb4da5..d6ec28e 100644 --- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat3x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl index ea4dd09..8162a78 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl index c96a6d6..6fd3ff5 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl index 8ae8928..237bc27 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.ir.glsl index dd4f2e5..7a95268 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_private.wgsl.expected.ir.glsl index 46a92db..3f9a77a 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_storage.wgsl.expected.ir.glsl index 23e826e..5eb22de 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x2_f16_std140 { f16vec2 col0; f16vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 8e0bc3d..c452a4e 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 2f58186..ed9a4b6 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl index 9559b27..3c0da35 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.ir.glsl index 11ae122..474b0bef 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_private.wgsl.expected.ir.glsl index 4288bf9..5f080d2 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_storage.wgsl.expected.ir.glsl index ce00513..e32549e 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x2_f32_std140 { vec2 col0; vec2 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 1bc4a1a..90c1c78 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl index f26160e..ca601b0 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl index ed8b179..bee95b3 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.ir.glsl index 4bcd106..be968ae 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_private.wgsl.expected.ir.glsl index 7c81ba5..02e63ca 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_storage.wgsl.expected.ir.glsl index d55b18a..1e286f5 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x3_f16_std140 { f16vec3 col0; f16vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 1d6c3ee..cf68672 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 3220403..38e3755 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl index 68d75ce..5797644 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.ir.glsl index 38adc46..47deacf 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_private.wgsl.expected.ir.glsl index f787ff1..f29dd9b 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_storage.wgsl.expected.ir.glsl index f16c129..b3b3659 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct mat4x3_f32_std140 { vec3 col0; vec3 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl index 1efd1c3..c78a26c 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 5f70809..d7935a4 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl index de8d6ff..f469b58b 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.ir.glsl index aad693b..5010105 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_private.wgsl.expected.ir.glsl index 57b03ef..1ae3aea 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_storage.wgsl.expected.ir.glsl index f851157..4e145c4 100644 --- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct mat4x4_f16_std140 { f16vec4 col0; f16vec4 col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl index d135b6e..13a49dd 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec2 m_col0; f16vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.ir.glsl index 75fedb9..498103c 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_fn.wgsl.expected.ir.glsl index 2366734..54a7343 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_private.wgsl.expected.ir.glsl index 09d9a40..9b80b28 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.ir.glsl index 038b2aa..29dfb2d 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 3359ca0..b7fe406 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec2 m_col0; vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl index 59efa89..e057320 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_fn.wgsl.expected.ir.glsl index a83cbcf..3313e62 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_private.wgsl.expected.ir.glsl index bb7e023..7908a35 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.ir.glsl index 39eae52..7433393 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 280e235..222637f 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec3 m_col0; f16vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl index 2ada101..e199d91 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_fn.wgsl.expected.ir.glsl index e5a11fe..acc5a07 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_private.wgsl.expected.ir.glsl index d26715a..a0028b1 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.ir.glsl index 47fdddd..7efaacf 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 6acc614..2761356 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec3 m_col0; vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl index 5e8fd1e..3c4ce26 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_fn.wgsl.expected.ir.glsl index c4ba7d8..757a9bd 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_private.wgsl.expected.ir.glsl index 13f12e4..70e739f 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.ir.glsl index ff68a3a..16c18ea 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 7cf52dd..4012f45 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec4 m_col0; f16vec4 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl index fce1c25..069ae28 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_fn.wgsl.expected.ir.glsl index d8c5fee..4283c06 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_private.wgsl.expected.ir.glsl index 1433b00..afda3f3 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.ir.glsl index 7f566b4..ca90a75 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.ir.glsl index a779719..ec58de2 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat2x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_fn.wgsl.expected.ir.glsl index 6b23067..9e12ab3 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat2x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_private.wgsl.expected.ir.glsl index 4dea7d0..3298f5e 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat2x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.ir.glsl index 3b6980d..f079392 100644 --- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat2x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl index b279a38..3c4d2b6 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec2 m_col0; f16vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.ir.glsl index 96cedcd..21c48ac 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_fn.wgsl.expected.ir.glsl index d4b9db2..6ac59ba 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_private.wgsl.expected.ir.glsl index 6a08154..650e770 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.ir.glsl index 84dfd91..65c1efc 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl index bca6ab3..aea853c 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec2 m_col0; vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.ir.glsl index 6287e310..f9a6f35 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_fn.wgsl.expected.ir.glsl index 7c58638..c352d32 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_private.wgsl.expected.ir.glsl index 7a82411..e101700 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.ir.glsl index 86d830e..5547fe1 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 48e3c3b..b6434a9 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec3 m_col0; f16vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.ir.glsl index 227444b..16b8a90 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_fn.wgsl.expected.ir.glsl index 3320be3..8a3ce19 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_private.wgsl.expected.ir.glsl index 4a53ff6..e47dfd4 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.ir.glsl index 435e5ec..74c11e1 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index d0702bb..b37eaaa 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec3 m_col0; vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl index eaea8c6..fb0c192 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_fn.wgsl.expected.ir.glsl index c1084dd..36177d3 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_private.wgsl.expected.ir.glsl index ed4574f..dfae60e 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.ir.glsl index 7ff4db2..6bf6a89 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 5d21dbe..3de753c 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec4 m_col0; f16vec4 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.ir.glsl index 42d175f..0f86672 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_fn.wgsl.expected.ir.glsl index b49c32f..f0e3f53 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_private.wgsl.expected.ir.glsl index c050af8..e514ab4 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.ir.glsl index 2efedf7..bde3ea4 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.ir.glsl index fb36742..ede7a6b 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat3x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_fn.wgsl.expected.ir.glsl index f28b7ca..613fbc9 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat3x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_private.wgsl.expected.ir.glsl index 57271ee..97f2b35 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat3x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.ir.glsl index f7ae754..1bc3a04 100644 --- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat3x4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 3af6bff..e08735a 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec2 m_col0; f16vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl index 7e6f245..c673b96 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_fn.wgsl.expected.ir.glsl index e228d18..ff1fb84 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_private.wgsl.expected.ir.glsl index dd8cbab..4408be8 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.ir.glsl index 46682ec..9834cb2 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 8b195ef..7ec44c9 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec2 m_col0; vec2 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl index aed4bd2..e8ef9bd 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_fn.wgsl.expected.ir.glsl index 1f87dd6..000fa46 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_private.wgsl.expected.ir.glsl index 9e56753..d5df5ea 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.ir.glsl index 2259d64..8cba02a 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec2 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl index ac914a7..b294321 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec3 m_col0; f16vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl index d9dacc8..837511c 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_fn.wgsl.expected.ir.glsl index 7198a0f..9ac4a28 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_private.wgsl.expected.ir.glsl index 3b8bd88..30cd9c8 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.ir.glsl index 45f5521..ffb967e 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl index 3a83152..ab8bee4 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner_std140 { vec3 m_col0; vec3 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl index 2793e11..34aabd4 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_fn.wgsl.expected.ir.glsl index 52f23a0..6cffab1 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_private.wgsl.expected.ir.glsl index faf65d6..a7153ac 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.ir.glsl index b91c5e2..3d2fca3 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { int before; vec3 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl index 1b6d4ba..89967c9 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { f16vec4 m_col0; f16vec4 m_col1;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl index 573de15..484cd3f 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_fn.wgsl.expected.ir.glsl index b11be9c..47d4bee 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_fn.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_private.wgsl.expected.ir.glsl index 44190da..140878a 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_private.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.ir.glsl index 37e0016..a3c6ee9 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S_std140 { int before; f16vec4 m_col0;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.ir.glsl index 7252977..0c73d3e 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_fn.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_fn.wgsl.expected.ir.glsl index 10b6024..6acb495 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_fn.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_fn.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_private.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_private.wgsl.expected.ir.glsl index a35a1b5..abded5e 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_private.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat4 m;
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.ir.glsl index 608366e..04a36b0 100644 --- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int before; mat4 m;
diff --git a/test/tint/buffer/uniform/types/struct_f16.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/types/struct_f16.wgsl.expected.ir.glsl index c7534de..a66cef8 100644 --- a/test/tint/buffer/uniform/types/struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/types/struct_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Inner_std140 { float16_t scalar_f16; f16vec3 vec3_f16;
diff --git a/test/tint/buffer/uniform/types/struct_f32.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/types/struct_f32.wgsl.expected.ir.glsl index 70bad9d..990df0f 100644 --- a/test/tint/buffer/uniform/types/struct_f32.wgsl.expected.ir.glsl +++ b/test/tint/buffer/uniform/types/struct_f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Inner { float scalar_f32; vec3 vec3_f32;
diff --git a/test/tint/bug/chromium/1273451.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1273451.wgsl.expected.ir.glsl index 5128280..430d358 100644 --- a/test/tint/bug/chromium/1273451.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1273451.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct B { int b; };
diff --git a/test/tint/bug/chromium/1367602_storage_space.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1367602_storage_space.wgsl.expected.ir.glsl index 700e737..fdbfbfd 100644 --- a/test/tint/bug/chromium/1367602_storage_space.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1367602_storage_space.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct A { float a[1000000]; };
diff --git a/test/tint/bug/chromium/1372963.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1372963.wgsl.expected.ir.glsl index 2107cf8..cc5c248 100644 --- a/test/tint/bug/chromium/1372963.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1372963.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - ivec4 g() { return ivec4(0); }
diff --git a/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl index 404e6aa..3ca01ba 100644 --- a/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 2) in float tint_symbol_loc2_Input; void tint_symbol_inner(float none) { }
diff --git a/test/tint/bug/chromium/1417515.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1417515.wgsl.expected.ir.glsl index ac51a11..44af1af 100644 --- a/test/tint/bug/chromium/1417515.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1417515.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct modf_result_f32 { float fract; float whole;
diff --git a/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl index f25226fc..2e29035 100644 --- a/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct frexp_result_f32 { float f; @@ -10,21 +11,13 @@ float fract; int exp; }; -precision highp float; -precision highp int; - frexp_result_f32 a = frexp_result_f32(0.0f); frexp_result_f32_1 b = frexp_result_f32_1(0.5f, 1); -vec4 main() { +layout(location = 0) out vec4 tint_symbol_loc0_Output; +vec4 tint_symbol_inner() { return vec4(a.f, b.fract, 0.0f, 0.0f); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_loc0_Output = tint_symbol_inner(); +}
diff --git a/test/tint/bug/chromium/344265982.wgsl.expected.ir.glsl b/test/tint/bug/chromium/344265982.wgsl.expected.ir.glsl index 5d343c3..9367735 100644 --- a/test/tint/bug/chromium/344265982.wgsl.expected.ir.glsl +++ b/test/tint/bug/chromium/344265982.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_3_1_ssbo { int tint_symbol_2[4];
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/function.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/read/function.wgsl.expected.ir.glsl index 5fbf49f..a4459fd 100644 --- a/test/tint/bug/fxc/dyn_array_idx/read/function.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/read/function.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/private.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/read/private.wgsl.expected.ir.glsl index 0833a9a..e2eb79e 100644 --- a/test/tint/bug/fxc/dyn_array_idx/read/private.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/read/private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.ir.glsl index 9f0cbf0..8e136c4 100644 --- a/test/tint/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.ir.glsl index 82d7909..c18a5f2 100644 --- a/test/tint/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { ivec4 data[4]; int dynamic_idx;
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/function.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/function.wgsl.expected.ir.glsl index 8f74455..297f08f 100644 --- a/test/tint/bug/fxc/dyn_array_idx/write/function.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/write/function.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.ir.glsl index 960abde..a96b7b8 100644 --- a/test/tint/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/private.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/private.wgsl.expected.ir.glsl index cb34e38..0dc224b 100644 --- a/test/tint/bug/fxc/dyn_array_idx/write/private.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/write/private.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.ir.glsl index 3900161..07f68fd 100644 --- a/test/tint/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.ir.glsl index f0f4b47..4fb6837 100644 --- a/test/tint/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UBO { int dynamic_idx; };
diff --git a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl index 09ff468..9725201 100644 --- a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Particle { vec3 position[8]; float lifetime;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.ir.glsl index 791e424..7a92a22 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.ir.glsl index effd110..93b0645 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.ir.glsl index 3f519b5..c444d81 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.ir.glsl index d785f09..6677b90 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.ir.glsl index 49ff668..2ca13df 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.ir.glsl index 6f00c1a..66764c8 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.ir.glsl index 3f519b5..c444d81 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.ir.glsl b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.ir.glsl index 1db966f..8f24397 100644 --- a/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.ir.glsl +++ b/test/tint/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl b/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl index a8e3157..0c8f4f4 100644 --- a/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl +++ b/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main_1() { uint x_88 = 58u; }
diff --git a/test/tint/bug/tint/1046.wgsl.expected.ir.glsl b/test/tint/bug/tint/1046.wgsl.expected.ir.glsl index b771681..762ca9e 100644 --- a/test/tint/bug/tint/1046.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1046.wgsl.expected.ir.glsl
@@ -1,11 +1,51 @@ -SKIP: FAILED +#version 310 es +precision highp float; +precision highp int; -<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler -******************************************************************** -* The tint shader compiler has encountered an unexpected error. * -* * -* Please help us fix this issue by submitting a bug report at * -* crbug.com/tint with the source program that triggered the bug. * -******************************************************************** -tint executable returned error: signal: trace/BPT trap +struct Uniforms { + mat4 worldView; + mat4 proj; + uint numPointLights; + uint color_source; + vec4 color; +}; + +struct PointLight { + vec4 position; +}; + +struct FragmentOutput { + vec4 color; +}; + +struct FragmentInput { + vec4 position; + vec4 view_position; + vec4 normal; + vec2 uv; + vec4 color; +}; + +layout(binding = 0, std140) +uniform tint_symbol_3_1_ubo { + Uniforms tint_symbol_2; +} v; +layout(binding = 1, std430) +buffer PointLights_1_ssbo { + PointLight values[]; +} pointLights; +uniform highp sampler2D myTexture; +layout(location = 0) in vec4 tint_symbol_loc0_Input; +layout(location = 1) in vec4 tint_symbol_loc1_Input; +layout(location = 2) in vec2 tint_symbol_loc2_Input; +layout(location = 3) in vec4 tint_symbol_loc3_Input; +layout(location = 0) out vec4 tint_symbol_loc0_Output; +FragmentOutput tint_symbol_inner(FragmentInput fragment) { + FragmentOutput tint_symbol_1 = FragmentOutput(vec4(0.0f)); + tint_symbol_1.color = vec4(1.0f, 0.0f, 0.0f, 1.0f); + return tint_symbol_1; +} +void main() { + tint_symbol_loc0_Output = tint_symbol_inner(FragmentInput(gl_FragCoord, tint_symbol_loc0_Input, tint_symbol_loc1_Input, tint_symbol_loc2_Input, tint_symbol_loc3_Input)).color; +}
diff --git a/test/tint/bug/tint/1061.spvasm.expected.ir.glsl b/test/tint/bug/tint/1061.spvasm.expected.ir.glsl index ed8530f..76b27d5 100644 --- a/test/tint/bug/tint/1061.spvasm.expected.ir.glsl +++ b/test/tint/bug/tint/1061.spvasm.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct buf0 { vec4 r; @@ -9,36 +10,31 @@ struct main_out { vec4 x_GLF_color_1; }; -precision highp float; -precision highp int; - -uniform buf0 x_7; +layout(binding = 0, std140) +uniform tint_symbol_2_1_ubo { + buf0 tint_symbol_1; +} v_1; vec4 x_GLF_color = vec4(0.0f); +layout(location = 0) out vec4 tint_symbol_loc0_Output; void main_1() { float f = 0.0f; vec4 v = vec4(0.0f); f = 1.0f; - float v_1 = sin(f); - float v_2 = cos(f); - float v_3 = exp2(f); - v = vec4(v_1, v_2, v_3, log(f)); - if ((distance(v, x_7.r) < 0.10000000149011611938f)) { + float v_2 = sin(f); + float v_3 = cos(f); + float v_4 = exp2(f); + v = vec4(v_2, v_3, v_4, log(f)); + if ((distance(v, v_1.tint_symbol_1.r) < 0.10000000149011611938f)) { x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); } else { x_GLF_color = vec4(0.0f); } } -main_out main() { +main_out tint_symbol_inner() { main_1(); return main_out(x_GLF_color); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_loc0_Output = tint_symbol_inner().x_GLF_color_1; +}
diff --git a/test/tint/bug/tint/1064.wgsl.expected.ir.glsl b/test/tint/bug/tint/1064.wgsl.expected.ir.glsl index 8017692..62ea59f 100644 --- a/test/tint/bug/tint/1064.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1064.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main() { { while(true) {
diff --git a/test/tint/bug/tint/1081.wgsl.expected.ir.glsl b/test/tint/bug/tint/1081.wgsl.expected.ir.glsl index fae0536..7c2536d 100644 --- a/test/tint/bug/tint/1081.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1081.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - bool continue_execution = true; layout(location = 1) flat in ivec3 tint_symbol_loc1_Input; layout(location = 2) out int tint_symbol_loc2_Output;
diff --git a/test/tint/bug/tint/1086.wgsl.expected.ir.glsl b/test/tint/bug/tint/1086.wgsl.expected.ir.glsl index 52ecd40..1de8cd9 100644 --- a/test/tint/bug/tint/1086.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1086.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - float v = 0.0f; void x(inout float p) { p = 0.0f;
diff --git a/test/tint/bug/tint/1088.spvasm.expected.ir.glsl b/test/tint/bug/tint/1088.spvasm.expected.ir.glsl index 72bf795..d8ef152 100644 --- a/test/tint/bug/tint/1088.spvasm.expected.ir.glsl +++ b/test/tint/bug/tint/1088.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct strided_arr { float el; };
diff --git a/test/tint/bug/tint/1118.wgsl.expected.ir.glsl b/test/tint/bug/tint/1118.wgsl.expected.ir.glsl index b3ab4db..0a1a8c0 100644 --- a/test/tint/bug/tint/1118.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1118.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct Scene { vec4 vEyePosition; @@ -21,17 +22,26 @@ struct main_out { vec4 glFragColor_1; }; -precision highp float; -precision highp int; - float fClipDistance3 = 0.0f; float fClipDistance4 = 0.0f; -uniform Scene x_29; -uniform Material x_49; -uniform Mesh x_137; +layout(binding = 0, std140) +uniform tint_symbol_2_1_ubo { + Scene tint_symbol_1; +} v; +layout(binding = 1, std140) +uniform tint_symbol_4_1_ubo { + Material tint_symbol_3; +} v_1; +layout(binding = 2, std140) +uniform tint_symbol_6_1_ubo { + Mesh tint_symbol_5; +} v_2; vec4 glFragColor = vec4(0.0f); bool continue_execution = true; +layout(location = 2) in float tint_symbol_loc2_Input; +layout(location = 3) in float tint_symbol_loc3_Input; +layout(location = 0) out vec4 tint_symbol_loc0_Output; void main_1() { vec3 viewDirectionW = vec3(0.0f); vec4 baseColor = vec4(0.0f); @@ -57,21 +67,21 @@ if ((x_17 > 0.0f)) { continue_execution = false; } - vec4 x_34 = x_29.vEyePosition; + vec4 x_34 = v.tint_symbol_1.vEyePosition; vec3 x_38 = vec3(0.0f); viewDirectionW = normalize((vec3(x_34[0u], x_34[1u], x_34[2u]) - x_38)); baseColor = vec4(1.0f); - vec4 x_52 = x_49.vDiffuseColor; + vec4 x_52 = v_1.tint_symbol_3.vDiffuseColor; diffuseColor = vec3(x_52[0u], x_52[1u], x_52[2u]); - float x_60 = x_49.vDiffuseColor.w; + float x_60 = v_1.tint_symbol_3.vDiffuseColor.w; alpha = x_60; vec3 x_62 = vec3(0.0f); vec3 x_64 = vec3(0.0f); uvOffset = vec2(0.0f); vec4 x_74 = vec4(0.0f); vec4 x_76 = baseColor; - vec3 v = vec3(x_76[0u], x_76[1u], x_76[2u]); - vec3 x_78 = (v * vec3(x_74[0u], x_74[1u], x_74[2u])); + vec3 v_3 = vec3(x_76[0u], x_76[1u], x_76[2u]); + vec3 x_78 = (v_3 * vec3(x_74[0u], x_74[1u], x_74[2u])); vec4 x_79 = baseColor; baseColor = vec4(x_78[0u], x_78[1u], x_78[2u], x_79[3u]); baseAmbientColor = vec3(1.0f); @@ -80,51 +90,45 @@ shadow = 1.0f; refractionColor = vec4(0.0f, 0.0f, 0.0f, 1.0f); reflectionColor = vec4(0.0f, 0.0f, 0.0f, 1.0f); - vec3 x_94 = x_49.vEmissiveColor; + vec3 x_94 = v_1.tint_symbol_3.vEmissiveColor; emissiveColor = x_94; vec3 x_96 = diffuseBase; vec3 x_97 = diffuseColor; vec3 x_99 = emissiveColor; - vec3 x_103 = x_49.vAmbientColor; + vec3 x_103 = v_1.tint_symbol_3.vAmbientColor; vec4 x_108 = baseColor; - vec3 v_1 = clamp((((x_96 * x_97) + x_99) + x_103), vec3(0.0f), vec3(1.0f)); - finalDiffuse = (v_1 * vec3(x_108[0u], x_108[1u], x_108[2u])); + vec3 v_4 = clamp((((x_96 * x_97) + x_99) + x_103), vec3(0.0f), vec3(1.0f)); + finalDiffuse = (v_4 * vec3(x_108[0u], x_108[1u], x_108[2u])); finalSpecular = vec3(0.0f); vec3 x_113 = finalDiffuse; vec3 x_114 = baseAmbientColor; vec3 x_116 = finalSpecular; vec4 x_118 = reflectionColor; vec4 x_121 = refractionColor; - vec3 v_2 = (((x_113 * x_114) + x_116) + vec3(x_118[0u], x_118[1u], x_118[2u])); - vec3 x_123 = (v_2 + vec3(x_121[0u], x_121[1u], x_121[2u])); + vec3 v_5 = (((x_113 * x_114) + x_116) + vec3(x_118[0u], x_118[1u], x_118[2u])); + vec3 x_123 = (v_5 + vec3(x_121[0u], x_121[1u], x_121[2u])); float x_124 = alpha; color = vec4(x_123[0u], x_123[1u], x_123[2u], x_124); vec4 x_129 = color; vec3 x_132 = max(vec3(x_129[0u], x_129[1u], x_129[2u]), vec3(0.0f)); vec4 x_133 = color; color = vec4(x_132[0u], x_132[1u], x_132[2u], x_133[3u]); - float x_140 = x_137.visibility; + float x_140 = v_2.tint_symbol_5.visibility; float x_142 = color.w; color[3u] = (x_142 * x_140); vec4 x_147 = color; glFragColor = x_147; } -main_out main(float fClipDistance3_param, float fClipDistance4_param) { +main_out tint_symbol_inner(float fClipDistance3_param, float fClipDistance4_param) { fClipDistance3 = fClipDistance3_param; fClipDistance4 = fClipDistance4_param; main_1(); - main_out v_3 = main_out(glFragColor); + main_out v_6 = main_out(glFragColor); if (!(continue_execution)) { discard; } - return v_3; + return v_6; } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_loc0_Output = tint_symbol_inner(tint_symbol_loc2_Input, tint_symbol_loc3_Input).glFragColor_1; +}
diff --git a/test/tint/bug/tint/1136.wgsl.expected.ir.glsl b/test/tint/bug/tint/1136.wgsl.expected.ir.glsl index ee4a0e8..6195e31 100644 --- a/test/tint/bug/tint/1136.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1136.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Buffer { uint data; };
diff --git a/test/tint/bug/tint/1369.wgsl.expected.ir.glsl b/test/tint/bug/tint/1369.wgsl.expected.ir.glsl index 213bbdb..fbbac8f 100644 --- a/test/tint/bug/tint/1369.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1369.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - bool continue_execution = true; bool call_discard() { continue_execution = false;
diff --git a/test/tint/bug/tint/1509.wgsl.expected.ir.glsl b/test/tint/bug/tint/1509.wgsl.expected.ir.glsl index 4685bf4..e0cac1f 100644 --- a/test/tint/bug/tint/1509.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1509.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - uint v0 = 0u; uint v1 = 0u; uint v2 = 0u;
diff --git a/test/tint/bug/tint/1542.wgsl.expected.ir.glsl b/test/tint/bug/tint/1542.wgsl.expected.ir.glsl index 86e2765..e1c2156 100644 --- a/test/tint/bug/tint/1542.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1542.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct UniformBuffer { ivec3 d; };
diff --git a/test/tint/bug/tint/1598.wgsl.expected.ir.glsl b/test/tint/bug/tint/1598.wgsl.expected.ir.glsl index c8e9840..6917be9 100644 --- a/test/tint/bug/tint/1598.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1598.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main() { int a[5] = int[5](0, 0, 0, 0, 0); }
diff --git a/test/tint/bug/tint/1641.wgsl.expected.ir.glsl b/test/tint/bug/tint/1641.wgsl.expected.ir.glsl index 4fc22ac..4cdbdad 100644 --- a/test/tint/bug/tint/1641.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1641.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Normals { vec3 f; };
diff --git a/test/tint/bug/tint/1670.spvasm.expected.ir.glsl b/test/tint/bug/tint/1670.spvasm.expected.ir.glsl index 81458be..bcf1ea7 100644 --- a/test/tint/bug/tint/1670.spvasm.expected.ir.glsl +++ b/test/tint/bug/tint/1670.spvasm.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main_1() { mat2 m2i = mat2(vec2(0.0f), vec2(0.0f)); mat2 m2 = mat2(vec2(0.0f), vec2(0.0f));
diff --git a/test/tint/bug/tint/1677.wgsl.expected.ir.glsl b/test/tint/bug/tint/1677.wgsl.expected.ir.glsl index 271dc75..b889308 100644 --- a/test/tint/bug/tint/1677.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1677.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Input { ivec3 position; };
diff --git a/test/tint/bug/tint/1735.wgsl.expected.ir.glsl b/test/tint/bug/tint/1735.wgsl.expected.ir.glsl index 010b718..8a637f2 100644 --- a/test/tint/bug/tint/1735.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1735.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { float f; };
diff --git a/test/tint/bug/tint/1776.spvasm.expected.ir.glsl b/test/tint/bug/tint/1776.spvasm.expected.ir.glsl index 90721d2..0a8d81f 100644 --- a/test/tint/bug/tint/1776.spvasm.expected.ir.glsl +++ b/test/tint/bug/tint/1776.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; int b;
diff --git a/test/tint/bug/tint/1776.wgsl.expected.ir.glsl b/test/tint/bug/tint/1776.wgsl.expected.ir.glsl index 35c62f9..c5acf7b 100644 --- a/test/tint/bug/tint/1776.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1776.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; int b;
diff --git a/test/tint/bug/tint/1860.wgsl.expected.ir.glsl b/test/tint/bug/tint/1860.wgsl.expected.ir.glsl index 52061b8..310d589 100644 --- a/test/tint/bug/tint/1860.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/1860.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct DeclaredAfterUsage { float f; };
diff --git a/test/tint/bug/tint/2069.wgsl.expected.ir.glsl b/test/tint/bug/tint/2069.wgsl.expected.ir.glsl index 29c5202..608c896 100644 --- a/test/tint/bug/tint/2069.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/2069.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct modf_result_f32 { float fract; float whole;
diff --git a/test/tint/bug/tint/2076.wgsl.expected.ir.glsl b/test/tint/bug/tint/2076.wgsl.expected.ir.glsl index b4e0760..296a85e 100644 --- a/test/tint/bug/tint/2076.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/2076.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct tint_GammaTransferParams { float G; float A;
diff --git a/test/tint/bug/tint/2100.wgsl.expected.ir.glsl b/test/tint/bug/tint/2100.wgsl.expected.ir.glsl index c8ef166..e0724c3 100644 --- a/test/tint/bug/tint/2100.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/2100.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_std140 { mat4 matrix_view; vec3 matrix_normal_col0;
diff --git a/test/tint/bug/tint/2121.wgsl.expected.ir.glsl b/test/tint/bug/tint/2121.wgsl.expected.ir.glsl index 642a2f1..8653400 100644 --- a/test/tint/bug/tint/2121.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/2121.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct VSOut { vec4 pos; };
diff --git a/test/tint/bug/tint/294.wgsl.expected.ir.glsl b/test/tint/bug/tint/294.wgsl.expected.ir.glsl index 24ddd33..822b98f 100644 --- a/test/tint/bug/tint/294.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/294.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Light { vec3 position; vec3 colour;
diff --git a/test/tint/bug/tint/369.wgsl.expected.ir.glsl b/test/tint/bug/tint/369.wgsl.expected.ir.glsl index 22150c4..e068aac 100644 --- a/test/tint/bug/tint/369.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/369.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { mat2 m; };
diff --git a/test/tint/bug/tint/744.wgsl.expected.ir.glsl b/test/tint/bug/tint/744.wgsl.expected.ir.glsl index 145ee3c..d01bf4b 100644 --- a/test/tint/bug/tint/744.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/744.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uvec2 aShape; uvec2 bShape;
diff --git a/test/tint/bug/tint/870.spvasm.expected.ir.glsl b/test/tint/bug/tint/870.spvasm.expected.ir.glsl index abd08d1..b460076 100644 --- a/test/tint/bug/tint/870.spvasm.expected.ir.glsl +++ b/test/tint/bug/tint/870.spvasm.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct sspp962805860buildInformationS { vec4 footprint; @@ -12,14 +13,14 @@ struct x_B4_BuildInformation { sspp962805860buildInformationS passthru; }; -precision highp float; -precision highp int; - -x_B4_BuildInformation sspp962805860buildInformation; +layout(binding = 2, std430) +buffer tint_symbol_2_1_ssbo { + x_B4_BuildInformation tint_symbol_1; +} v; void main_1() { int orientation[6] = int[6](0, 0, 0, 0, 0, 0); - int x_23[6] = sspp962805860buildInformation.passthru.orientation; + int x_23[6] = v.tint_symbol_1.passthru.orientation; orientation[0] = x_23[0u]; orientation[1] = x_23[1u]; orientation[2] = x_23[2u]; @@ -30,12 +31,3 @@ void main() { main_1(); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/959.wgsl.expected.ir.glsl b/test/tint/bug/tint/959.wgsl.expected.ir.glsl index b771681..b0bdab6 100644 --- a/test/tint/bug/tint/959.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/959.wgsl.expected.ir.glsl
@@ -1,11 +1,91 @@ -SKIP: FAILED +#version 310 es +precision highp float; +precision highp int; -<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler -******************************************************************** -* The tint shader compiler has encountered an unexpected error. * -* * -* Please help us fix this issue by submitting a bug report at * -* crbug.com/tint with the source program that triggered the bug. * -******************************************************************** -tint executable returned error: signal: trace/BPT trap +struct S { + float a; +}; + +layout(binding = 0, std430) +buffer tint_symbol_2_1_ssbo { + S tint_symbol_1; +} v; +layout(binding = 0, std430) +buffer tint_symbol_4_1_ssbo { + S tint_symbol_3; +} v_1; +layout(binding = 0, std430) +buffer tint_symbol_6_1_ssbo { + S tint_symbol_5; +} v_2; +layout(binding = 0, std430) +buffer tint_symbol_8_1_ssbo { + S tint_symbol_7; +} v_3; +layout(binding = 0, std430) +buffer tint_symbol_10_1_ssbo { + S tint_symbol_9; +} v_4; +layout(binding = 0, std430) +buffer tint_symbol_12_1_ssbo { + S tint_symbol_11; +} v_5; +layout(binding = 0, std430) +buffer tint_symbol_14_1_ssbo { + S tint_symbol_13; +} v_6; +layout(binding = 0, std430) +buffer tint_symbol_16_1_ssbo { + S tint_symbol_15; +} v_7; +layout(binding = 1, std140) +uniform tint_symbol_18_1_ubo { + S tint_symbol_17; +} v_8; +layout(binding = 1, std140) +uniform tint_symbol_20_1_ubo { + S tint_symbol_19; +} v_9; +layout(binding = 1, std140) +uniform tint_symbol_22_1_ubo { + S tint_symbol_21; +} v_10; +layout(binding = 1, std140) +uniform tint_symbol_24_1_ubo { + S tint_symbol_23; +} v_11; +layout(binding = 1, std140) +uniform tint_symbol_26_1_ubo { + S tint_symbol_25; +} v_12; +layout(binding = 1, std140) +uniform tint_symbol_28_1_ubo { + S tint_symbol_27; +} v_13; +layout(binding = 1, std140) +uniform tint_symbol_30_1_ubo { + S tint_symbol_29; +} v_14; +layout(binding = 1, std140) +uniform tint_symbol_32_1_ubo { + S tint_symbol_31; +} v_15; +uniform highp sampler2D t0; +uniform highp sampler2D t1; +uniform highp sampler2D t2; +uniform highp sampler2D t3; +uniform highp sampler2D t4; +uniform highp sampler2D t5; +uniform highp sampler2D t6; +uniform highp sampler2D t7; +uniform highp sampler2DShadow t8; +uniform highp sampler2DShadow t9; +uniform highp sampler2DShadow t10; +uniform highp sampler2DShadow t11; +uniform highp sampler2DShadow t12; +uniform highp sampler2DShadow t13; +uniform highp sampler2DShadow t14; +uniform highp sampler2DShadow t15; +void main() { +}
diff --git a/test/tint/bug/tint/980.wgsl.expected.ir.glsl b/test/tint/bug/tint/980.wgsl.expected.ir.glsl index ce34a19..3320ac1 100644 --- a/test/tint/bug/tint/980.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/980.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 v; uint i;
diff --git a/test/tint/bug/tint/992.wgsl.expected.ir.glsl b/test/tint/bug/tint/992.wgsl.expected.ir.glsl index 2b37132..dcdd2ba 100644 --- a/test/tint/bug/tint/992.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/992.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 frag_main_loc0_Output; vec4 frag_main_inner() { float b = 0.0f;
diff --git a/test/tint/bug/tint/998.wgsl.expected.ir.glsl b/test/tint/bug/tint/998.wgsl.expected.ir.glsl index ec924ed..65b53d1 100644 --- a/test/tint/bug/tint/998.wgsl.expected.ir.glsl +++ b/test/tint/bug/tint/998.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Constants { uint zero; };
diff --git a/test/tint/builtins/frexp.wgsl.expected.ir.glsl b/test/tint/builtins/frexp.wgsl.expected.ir.glsl index e67c0ce..25e9344 100644 --- a/test/tint/builtins/frexp.wgsl.expected.ir.glsl +++ b/test/tint/builtins/frexp.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct frexp_result_f32 { float fract; int exp;
diff --git a/test/tint/builtins/frexp/scalar/const.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/scalar/const.wgsl.expected.ir.glsl index b4f8e66..0f958a8 100644 --- a/test/tint/builtins/frexp/scalar/const.wgsl.expected.ir.glsl +++ b/test/tint/builtins/frexp/scalar/const.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct frexp_result_f32 { float fract; int exp;
diff --git a/test/tint/builtins/frexp/vector/const.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/vector/const.wgsl.expected.ir.glsl index 8be4b60..3ba7374 100644 --- a/test/tint/builtins/frexp/vector/const.wgsl.expected.ir.glsl +++ b/test/tint/builtins/frexp/vector/const.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct frexp_result_vec2_f32 { vec2 fract; ivec2 exp;
diff --git a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl index 6e80e1a..9f83f3e 100644 --- a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl index 7d7888c..ea88a65 100644 --- a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl index b47173a..ee0e609 100644 --- a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl index 8b8f2d5..d41cec6 100644 --- a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl index 9835581..b036c218 100644 --- a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_2f861b() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl index 9f548612..281c690 100644 --- a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl index bde7166..f668073 100644 --- a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl index 27cea52..bca1b13 100644 --- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl index f83be74..79234df 100644 --- a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl index 54714a8..1dd5cfa 100644 --- a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_577d6e() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl index 34eac65..ff8c91a 100644 --- a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_5a8af1() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl index 59824ec..bd98fce 100644 --- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl index b384022..8d96dce 100644 --- a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl index 96f0332..0080093 100644 --- a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl index 4366b75..1f1117f 100644 --- a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl index d6684d4..82a83ee 100644 --- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl index a48800b..12797eb 100644 --- a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_82ff9d() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl index c34b852..9827f0b 100644 --- a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_8ca9b1() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl index 1ab4000..68476eb 100644 --- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl index 6a56d49..352bee8 100644 --- a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_aedb6d() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl index 6bad99c..7998e0e 100644 --- a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl index 019254e..f78494f 100644 --- a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_c3321c() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl index 97e4bd4..26b22c2 100644 --- a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_e28785() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl index ad00323..0207279 100644 --- a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl index ec7db52..a39689b 100644 --- a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl index 9200608..7c331db 100644 --- a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_069188() { vec3 res = vec3(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl index 4e385db..03ac176 100644 --- a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_15d35b() { vec2 res = vec2(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl index 9538c37..dfe01c7 100644 --- a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl index 508c469..f585aa5 100644 --- a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl index 4f46cad..2a7d464 100644 --- a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl index 4d92fb6..e393988 100644 --- a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_4dac75() { vec4 res = vec4(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl index 12c3548..9e229eb 100644 --- a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_5e9ad2() { float res = 0.25f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl index 74ae65b..bc99fd5 100644 --- a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl index 06ac59b..df4c6d0 100644 --- a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl index bc8f427..ecb6553 100644 --- a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl index 50dde95..366abb9 100644 --- a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl index 9232c07..a4dc911 100644 --- a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_17260e() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl index f2d76b7..7a9c0953 100644 --- a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_3433e8() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl index 1bed89c..c1af2cc 100644 --- a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_490aae() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl index a8c5557..cbc3726 100644 --- a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl index fcec510..90bade4 100644 --- a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl index 32e0851..bde8da8 100644 --- a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_9f213e() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl index 00ba479..3c04af7 100644 --- a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl index 0ed41d4..5212398 100644 --- a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl index 95e5f0e..4d67ec9 100644 --- a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl index f8d1fc2..1162fc6 100644 --- a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl index 2fcd33d..914b307 100644 --- a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl index 75e35b1..9ea9ec5 100644 --- a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl index 5ec0603..4c366c1 100644 --- a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl index 1195fb0..f69a6e0 100644 --- a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_0bac07() { vec3 res = vec3(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl index 0f67f79..951ce56 100644 --- a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl index 1daad91..473e610 100644 --- a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl index a6b92a4..69a13d0 100644 --- a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl index 2ac68c5..c8447f2 100644 --- a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_64bb1f() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl index aef15dc..f679766 100644 --- a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl index d730a31..935539c 100644 --- a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl index 048e94d..f1fc920 100644 --- a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_a5dd88() { vec2 res = vec2(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl index a63b426..8c4c8b8 100644 --- a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_a6d73a() { float res = 0.5f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl index 4e0df6b..b56b17c 100644 --- a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl index 7f7d675..e58bcc0 100644 --- a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl index 720f4e0..8d73582 100644 --- a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl index 01f1328..c144b67 100644 --- a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_16b543() { vec2 res = vec2(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl index 2deb7f4..48e4e9e 100644 --- a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_180015() { float res = 0.88137358427047729492f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl index 654b77d..d689c2e 100644 --- a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl index 9651d412..67a6f2f 100644 --- a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl index 8148f34..913c984 100644 --- a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl index a917715..75116a4 100644 --- a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_51079e() { vec3 res = vec3(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl index 2a00d06..cae9ace 100644 --- a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl index 4bb8233..844288c 100644 --- a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl index c19d7d0..2047cd9 100644 --- a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl index c4fcf26..d58db30 100644 --- a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_cf8603() { vec4 res = vec4(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl index 1d2bc07..2c5e0bd 100644 --- a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl index b5f6d63..94229b9 100644 --- a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl index b0b6298..c903fa1 100644 --- a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl index f9dd4d8..5c4d756 100644 --- a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl index 05e3476..f668c7d 100644 --- a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl index dcd81e9..b1c13d9 100644 --- a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_5ca7b8() { vec2 res = vec2(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl index 907578a..51c863c 100644 --- a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_749e1b() { vec3 res = vec3(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl index 8721302..e181a9b 100644 --- a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_7a2a75() { float res = 0.78539818525314331055f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl index 23eb38b..7f21714 100644 --- a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl index e5accdc..a4db559 100644 --- a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl index 9763aa1..97cab47 100644 --- a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl index 051e173..5f2758f 100644 --- a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl index cfd1eb24..f859437 100644 --- a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_d17fb2() { vec4 res = vec4(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl index ab41168..7ed692f 100644 --- a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_034ace() { float res = 0.78539818525314331055f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl index e7330ed..2f767a2 100644 --- a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl index fc3d9e3..f5b09cf 100644 --- a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_3c2865() { vec3 res = vec3(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl index 0215650..a1b9ccc 100644 --- a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl index c313f3b..2bf2465 100644 --- a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl index 3dc532b..9ef53e6 100644 --- a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl index 9014757..2fa4066 100644 --- a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl index dc8a462..31320d6 100644 --- a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl index 31aa131..486c256 100644 --- a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_c19683() { vec2 res = vec2(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl index 4a208d3..197f79f 100644 --- a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_c4be45() { vec4 res = vec4(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl index 154fbbe..995f653 100644 --- a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl index 9bfad09..1640c54 100644 --- a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl index 2615585..985578c 100644 --- a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl index 2428d82..9790a1d 100644 --- a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl index 1c3a757..2d71a66 100644 --- a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_70d5bd() { vec2 res = vec2(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl index 5342563..98758ab 100644 --- a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl index 9129cb3..bd774a7b 100644 --- a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_7f2874() { vec3 res = vec3(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl index 9df7ca6..7b7702d 100644 --- a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl index 64cb96d..61d5394 100644 --- a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_c5dc32() { float res = 0.54930615425109863281f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl index 441472f..c7ade1d 100644 --- a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl index de100f9..450edac 100644 --- a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl index 6c080bc..91a49ae 100644 --- a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_e431bb() { vec4 res = vec4(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl index 03f0830..f6afcd9 100644 --- a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl index 6cbe023..64e7434 100644 --- a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl index 4dc94ba..a787074 100644 --- a/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl index 68e23f2..d42ee20 100644 --- a/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl index b8db9a9..6814c80 100644 --- a/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl index f6f1af0..b7af8ee 100644 --- a/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl index 7745646..1e05eb0 100644 --- a/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl index 808f574..0e9667d 100644 --- a/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl index 9eb8390..fdf53f5 100644 --- a/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl index 76d76df..e14d220 100644 --- a/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl index 393a59f..c8ab2bb 100644 --- a/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl index 41c9e3d..fa4817c 100644 --- a/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl index 598df72..3bbc8fc 100644 --- a/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl index 8cdd6ed..15ae107 100644 --- a/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl index d81cee4..d9cdcc0 100644 --- a/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl index 1d7584c..7449094 100644 --- a/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl index 07759aa..b245bd5 100644 --- a/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl index 1efb3d0..a5516cc 100644 --- a/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl index 9ed7614..8d498ca 100644 --- a/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl index 027c051..8a98a10 100644 --- a/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl index 7203585..5de3887 100644 --- a/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl index deff4a0..44d3cbf 100644 --- a/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl index 1a608a8..9a6aa4a 100644 --- a/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl index 6fadc49..6cd7ef4 100644 --- a/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl index e28f258..fd87841 100644 --- a/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl index 7ed2c59..b8b1c9d 100644 --- a/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl index c66d8de0..78748d8 100644 --- a/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl index 09df200..0285930 100644 --- a/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl index 089ffa5..e03abf3 100644 --- a/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl index ba4b8cb..702711f 100644 --- a/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl index 23cd74f..6d4d94e 100644 --- a/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl index da0ac23..f8f79f2 100644 --- a/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl index 6e155fa..ccfee85 100644 --- a/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl index 7bdb364..9b03c94 100644 --- a/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl index 45e65f4..4f10171 100644 --- a/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl index 192f6d4..8fa6fcd 100644 --- a/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl index 267f3d7..55e12d5 100644 --- a/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl index e566778..6d760b9 100644 --- a/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl index 7554348..62c4fd7 100644 --- a/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl index b05e639..086f2c3 100644 --- a/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl index 5c6339d..53573a6 100644 --- a/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl index 6b6aae6..2bd48a1 100644 --- a/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl index c8db5a3..c3af47b 100644 --- a/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl index f335d5f..69b5ec9 100644 --- a/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl index 5986bee..6a8e5b3 100644 --- a/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl index d326e89..6b0246c 100644 --- a/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl index 587f603..03bcdd3 100644 --- a/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl index 06eb6b2..85c877d 100644 --- a/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl index 8410ffc..c3c3625 100644 --- a/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl index 298a11e..e447579 100644 --- a/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl index d6fa1b7..51a4e4a 100644 --- a/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl index 3d3bf90..dc6d495 100644 --- a/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl index 31b775a..0dc0281 100644 --- a/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl index 4a7fe9e..90b6e69 100644 --- a/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl index 70d14ba..abea0dd 100644 --- a/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl index a59f885..3e22f36 100644 --- a/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl index b452153..1c80efd 100644 --- a/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl index 31fcfdc..f019535 100644 --- a/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl index af7cf5a..377fab8 100644 --- a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl index ad89344..b4adcd0 100644 --- a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_11b1dc() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl index fd4ba03..91d37ff 100644 --- a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl index dbfe5d1..27e7886 100644 --- a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_32c946() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl index 1557085..9c2978b 100644 --- a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl index f4a51dc..6fb4ec8 100644 --- a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl index f4f6eb6..4d189ef 100644 --- a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl index b8b391d..00b6f9f 100644 --- a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl index bd74828..fc7e1e5 100644 --- a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl index 45e1857..2a6e613 100644 --- a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_bb2ca2() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl index f7dc596..976436f 100644 --- a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_e0b70a() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl index 1940dc0..b21c980 100644 --- a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl index 5d7f050..f5bb46e 100644 --- a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl index 2407c92..490e45d 100644 --- a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_177548() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl index b92dc45..675e1a5 100644 --- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl index bd4efc8..1ebf73a 100644 --- a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl index 61c510c..1a4fced 100644 --- a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_23aa4f() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl index 3b91bba..ca630a7 100644 --- a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl index 641a533..15925f7 100644 --- a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl index 0843db1..a580992 100644 --- a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl index 8452199..183b999 100644 --- a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl index b4d8213..2a26e75 100644 --- a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl index 2f2d285..0faf6a6 100644 --- a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_5cf700() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl index 0f7f7b8..c88cc1b 100644 --- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl index b0d1d35..b5e7e43 100644 --- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl index 26f0cf2..9626251 100644 --- a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl index 4b01a35..7f61660 100644 --- a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl index c45827e..31d90da 100644 --- a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_87df46() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl index 257a806..48706f9 100644 --- a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_8b1eaa() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl index 01b8938..b4b1f54 100644 --- a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_96e56a() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl index b3bb823..3fca7e5 100644 --- a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_9d731c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl index a016e75..e5fde54 100644 --- a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl index 92922a6..02eb8fa 100644 --- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl index 48aeee5..ff94654 100644 --- a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl index 016307b..c642173 100644 --- a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl index d1f3afe..3de2905 100644 --- a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_d396af() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl index a738c98..9fdcc12 100644 --- a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl index 68603b6..d5c6aa8 100644 --- a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl index b3d4bfa..32502b1 100644 --- a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl index 17c5386..1c31c5e 100644 --- a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl index a42bf44..8e7f2ad 100644 --- a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_47d768() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl index ed4f1e4..045c03c 100644 --- a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl index ba87cf9..a6aa5d6 100644 --- a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_6b1fdf() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl index 5d443c2..2b0a996 100644 --- a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_a297d4() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl index fcd3506..2ad4ff9 100644 --- a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_af7447() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl index 1218060..148b69f 100644 --- a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl index c0ae20e..cbda2b1 100644 --- a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl index 929f492..d87d32c 100644 --- a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl index 93c8e1b..c18c475 100644 --- a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl index 6fc5f01..3d04406 100644 --- a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl index cd32006..ad4a431 100644 --- a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl index ffc07e7..2e04b50 100644 --- a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_432645() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl index ef8512e..5005efc 100644 --- a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl index d03a86b..d73ed91 100644 --- a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl index 09bbe79..2c8f4b7 100644 --- a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl index 6942ec7..03bc646 100644 --- a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_c892bb() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl index 9345395..fc54f2e 100644 --- a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_d8dee7() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl index 04dc934..17e4e31 100644 --- a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl index 3451c82..3779cc1 100644 --- a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl index 834a361..c2847a4 100644 --- a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_f67ff1() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl index f1b5644..a32864e 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl index a41336b..d1cd3b6 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl index 584e3f0..c9527b9 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl index f9d2342..9af7f30 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl index 7a1f59b..644f7bc 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl index cdc90bc..d5d76aa 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl index 8764c77..e06f91b 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl index 88785c2..bc11cb7 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl index 943c3fa..456734f 100644 --- a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl index c1e7fb8..4ff00b1 100644 --- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl index 96df5df..ce26402 100644 --- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl index debf36c..9bb9fd8 100644 --- a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl index 03e91eb..41e4ec7 100644 --- a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl index 95da575..7dfc64b 100644 --- a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl index ccfa710..249710e 100644 --- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl index 2c7ee82..94acf7a 100644 --- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl index 68f50b6..99723bd 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl index 1e43705..6ed3f5a 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl index e312aac..300633f 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl index 30530b8..bf4c2a8 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl index 33f308d..b6a69e2 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl index 858df09..bb4c52c 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl index 45deeea..7dbad30 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl index abf556f..fb033cd 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl index d5c24a5..0beafac 100644 --- a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl index 0319980..08fa578 100644 --- a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cross_1d7933() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl index a2a7f5a..1293a6c 100644 --- a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl index 4af1ed0..33d7197 100644 --- a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl index da8e056..54729252 100644 --- a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl index 9574cd3..cebd75a 100644 --- a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl index 48ab43c..a16676a 100644 --- a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl index e34c1f8..bd4b06a 100644 --- a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl index 3c3f18b..a89632c 100644 --- a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl index 4b38a57..5c0391f 100644 --- a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_810467() { vec2 res = vec2(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl index 621bdf7..40da781 100644 --- a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_c0880c() { vec3 res = vec3(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl index 82e4e29..47da4ac 100644 --- a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_d43a49() { vec4 res = vec4(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl index bafec75..3b1ed2b 100644 --- a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl index b3c059f..b35e4aa 100644 --- a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl index fc2ebbb..5feabe9 100644 --- a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_fafa7e() { float res = 57.295780181884765625f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl index 63a43b6..a9546b5 100644 --- a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_1bf6e7() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl index 07adb64..7a910d7 100644 --- a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl index e395d76..b48c9f5 100644 --- a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl index 87cc6b5..6ad108a 100644 --- a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl index b2998c2..5f6ca36 100644 --- a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_c8251d() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl index 32f7b21..34e51e6 100644 --- a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_cefdf3() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl index 859e559..f06b867 100644 --- a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl index 1eaa65f..f556471 100644 --- a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl index 7d503c5..9a56cdc 100644 --- a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl index 11566a8..fff4222 100644 --- a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl index 16815c0..2488daf 100644 --- a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_3a175a() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl index 23bed9f..da84319 100644 --- a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl index 7fdcd05..e688cd4 100644 --- a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl index f44d9db..7a2afc6 100644 --- a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_83911f() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl index 2e5fbdf..6d69755 100644 --- a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl index 2a147aa..cc15134 100644 --- a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl index f4a5946..b4913f9 100644 --- a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl index e0eb565..742955f 100644 --- a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl index 62bb225..1da3518 100644 --- a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_ac5535() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl index 7115a4a..dea33df 100644 --- a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl index 68c43dc..96083b2 100644 --- a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_f9c9ee() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl index f1c3cfd..0cd99a0 100644 --- a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_08eb56() { float res = 4.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl index 329e156..714b85e 100644 --- a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl index d008c5a..564788d 100644 --- a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_0d2c2e() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl index 6e8ead4..31e97ab 100644 --- a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_14bc63() { int res = 2; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl index 148c019..4fe7cab 100644 --- a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_5a4c8f() { float res = 3.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl index 1b962d3..d7a8bb9 100644 --- a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl index a08936f..da09004 100644 --- a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl index ab95e9d..fb7e2d5 100644 --- a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl index b7cde11..ff20070 100644 --- a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl index b9f44e2..0bb85dc 100644 --- a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl index 95df9db..8e148f9 100644 --- a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_c11efe() { int res = 3; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl index 8c07152..bacb7cc 100644 --- a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl index 7ae5e1f..fc8aa7e 100644 --- a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl index aade8ce..eaefcaf 100644 --- a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl index fa9e75a..899af2b 100644 --- a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_eb9fbf() { int res = 4; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl index 4ca2fce..129baa8 100644 --- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl index 96c09da..001bb81 100644 --- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl index 46a99e5..3a7d61f 100644 --- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl index 4881d25..ecd6b2e 100644 --- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl index 5d7d7a6..d730b0f 100644 --- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/dpdx/0763f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdx/0763f7.wgsl.expected.ir.glsl index d9b52fd..4972aed 100644 --- a/test/tint/builtins/gen/literal/dpdx/0763f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdx/0763f7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdx/99edb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdx/99edb1.wgsl.expected.ir.glsl index 9ce8729..2d4894c 100644 --- a/test/tint/builtins/gen/literal/dpdx/99edb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdx/99edb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdx/c487fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdx/c487fa.wgsl.expected.ir.glsl index 96ed593..8834b29 100644 --- a/test/tint/builtins/gen/literal/dpdx/c487fa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdx/c487fa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdx/e263de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdx/e263de.wgsl.expected.ir.glsl index 966befb..74b2f8c 100644 --- a/test/tint/builtins/gen/literal/dpdx/e263de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdx/e263de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl index 11b1d02..932160a 100644 --- a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl index 3f844a5..1abc7df 100644 --- a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl index 9f9b7e1..b6d6080 100644 --- a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl index 4f9c1e6..e18e3df 100644 --- a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl index 8d52a97..d31f023 100644 --- a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl index 3bc9188..de1ea95 100644 --- a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl index 94d76c7..8c21364 100644 --- a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl index 8a8b822..95efb61 100644 --- a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdy/699a05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdy/699a05.wgsl.expected.ir.glsl index 16fd347..30e21b2 100644 --- a/test/tint/builtins/gen/literal/dpdy/699a05.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdy/699a05.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdy/7f8d84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdy/7f8d84.wgsl.expected.ir.glsl index 6367bda..39e9e47 100644 --- a/test/tint/builtins/gen/literal/dpdy/7f8d84.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdy/7f8d84.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdy/a8b56e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdy/a8b56e.wgsl.expected.ir.glsl index 4cafd6a..09e9b7d8 100644 --- a/test/tint/builtins/gen/literal/dpdy/a8b56e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdy/a8b56e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdy/feb40f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdy/feb40f.wgsl.expected.ir.glsl index 7168320..79c99f7 100644 --- a/test/tint/builtins/gen/literal/dpdy/feb40f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdy/feb40f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl index 990ad38..8cb719b 100644 --- a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl index 6956bfb..c4a760a 100644 --- a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl index f3db3ca..77b9419 100644 --- a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl index 4b24344..a066a46 100644 --- a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl index a812f31..937aebf 100644 --- a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl index 66cc4ef..402b5d7 100644 --- a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl index 18abf01..5673701 100644 --- a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl index 6b2730e..c71ce4c 100644 --- a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl index 7657154..c09ce4e 100644 --- a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl index 4233b58..1e98b86 100644 --- a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl index 20e7562..40b22f4 100644 --- a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl index 94a82ca..bf51bb2 100644 --- a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl index 899a782..6fad8b9 100644 --- a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_49e4c5() { float res = 2.71828174591064453125f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl index 98c0412..9d0c872 100644 --- a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl index 1e3ec9f..0e80364 100644 --- a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_699629() { vec2 res = vec2(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl index 20a6396..3fc7516 100644 --- a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl index 907fa03..5812e87 100644 --- a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_bda5bb() { vec3 res = vec3(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl index f090b18..50a26bc 100644 --- a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl index 7f28655..2616d62 100644 --- a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl index 73d7d5e..e981480 100644 --- a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_dad791() { vec4 res = vec4(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl index 7acbf7e..30eb73d 100644 --- a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl index 9657de4..5667e3f 100644 --- a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_18aa76() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl index 5763736..4a7c311 100644 --- a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl index afa55ca..6065883 100644 --- a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_303753() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl index 10bb7bc..8a98dfd 100644 --- a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl index dceb6d9..1d13dc3 100644 --- a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_8bd72d() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl index 114e50c..705a91a 100644 --- a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl index cfacd69..49fd542 100644 --- a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl index 5bbff5e..8f88ddc 100644 --- a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl index a18d374..1a5f828 100644 --- a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl index ca387e9..655a57a 100644 --- a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_f4f0f1() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl index 3cc38f4..ec08abe 100644 --- a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl index 35cfc25..95b315c 100644 --- a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl index caeb964..f2b1db3 100644 --- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl index f702919..88f2b69 100644 --- a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl index 610e5ee..a3b76aa 100644 --- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl index 22c3b4a..908eeba 100644 --- a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl index b5d9132..97d4331 100644 --- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl index 0b9dfda..e4410098 100644 --- a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl index 23eecf0..d6dcace 100644 --- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl index 6a87694..5d89f95 100644 --- a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_2c4d14() { vec4 res = vec4(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl index f37f932..7344809 100644 --- a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl index 88d3f96..418c003 100644 --- a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl index edfa6f3..1d2d6c5 100644 --- a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl index 45192cb..e8523de 100644 --- a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_b42ef3() { vec2 res = vec2(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl index d5a6309..66e8849 100644 --- a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl index e7ef0b5..f8b1911 100644 --- a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl index 63c6a25..f9fdd19 100644 --- a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl index b1aeb5d..33feea4 100644 --- a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_fe522b() { vec3 res = vec3(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl index d6b3893..e143ba8 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl index c29e650..fa675ed 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl index 05d2cb7..631a887 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl index 74f7033..4fa485d 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl index 2eca1cc..4f6d424 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl index 524215e..5d05c7a 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl index 92ef757..0c688fe 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl index 0696526..a2b0531 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl index 1cde18f..62ed08e 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl index 9ee09ce..7604c33 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl index f1d399c..5a6ad7c 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl index 5706092..68aeb6a 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl index 9266d8e..73de3e4 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl index 5e9934d..7b523b7 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl index 78b8eb5..2523e1f 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl index a58a498..7bf9f99 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl index 6d8ad58..d6020ce 100644 --- a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_218952() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl index b4ea450..c5ca900 100644 --- a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl index 0e83592..948c5ec 100644 --- a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl index e45ddec..02c8f7a 100644 --- a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl index ae7ed25..bfc443c 100644 --- a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl index 301e73d..0b7a52e 100644 --- a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl index 4bbfe09..66638d2 100644 --- a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl index d8f482e..04d9743 100644 --- a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_953774() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl index 0043121..41b302b 100644 --- a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl index 6147f65..a12f6d0 100644 --- a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl index f802c7d..7967379 100644 --- a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_dcd5a2() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl index dfc52a1..ae0705a 100644 --- a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_e585ef() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl index 791206b..3831794 100644 --- a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_143d5d() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl index dc7623c..b9b9acc 100644 --- a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_1f5084() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl index cf04a9a..6c1bd49 100644 --- a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl index 51a6c6b..928e839 100644 --- a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_466442() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl index bb15f9a..f66cef8 100644 --- a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl index c38cc6e..890a3d2 100644 --- a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl index 8617782..f9662d2 100644 --- a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl index fa8ff5b..dca0b38 100644 --- a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl index 2be2962..ddadd5d 100644 --- a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl index 624dea6..030f4b1 100644 --- a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl index a4abc0e..339e71c 100644 --- a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl index 26e5131..1c179e9 100644 --- a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_eb25d7() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl index c085e0f..763ef58 100644 --- a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl index d9378da..17b2832 100644 --- a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_2eddfe() { float res = 0.25f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl index afbd376..e700bde 100644 --- a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl index ba2c36f..92d8adf 100644 --- a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_7e3f2d() { vec4 res = vec4(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl index 2daa4de..136b926 100644 --- a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl index 0116cb6..2772af8 100644 --- a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl index a6d3e86..5f8c14e 100644 --- a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl index 57cd0f4..82b0f4a 100644 --- a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl index 94b7bf1..9238b7c 100644 --- a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl index 4cb44f2..1308a24 100644 --- a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_ed00ca() { vec2 res = vec2(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl index e80afd5..b9b28f1 100644 --- a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_ed2f79() { vec3 res = vec3(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl index 7839e4c..9695b59 100644 --- a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl index 8b09428..ee00b55 100644 --- a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; }; void frexp_34bbfb() { @@ -20,32 +14,28 @@ void main() { frexp_34bbfb(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_34bbfb(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec4_f32 { vec4 fract; ivec4 exp; }; -precision highp float; -precision highp int; +void frexp_34bbfb() { + frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_34bbfb(); +} +#version 310 es + + +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_34bbfb() { frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); } -void main() { - frexp_34bbfb(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_34bbfb(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_34bbfb() { - frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); -} void main() { - frexp_34bbfb(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_34bbfb(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl index 96c905c..b2e4303 100644 --- a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct frexp_result_vec4_f16 { f16vec4 fract; ivec4 exp; }; -precision highp float; -precision highp int; - void frexp_3dd21e() { frexp_result_vec4_f16 res = frexp_result_vec4_f16(f16vec4(0.5hf), ivec4(1)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec4_f16 { f16vec4 fract; ivec4 exp; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec4_f16 { f16vec4 fract; ivec4 exp;
diff --git a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl index 2116040..2740ef8 100644 --- a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_f32 { + float fract; + int exp; }; void frexp_4b2200() { @@ -20,32 +14,28 @@ void main() { frexp_4b2200(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_4b2200(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_4b2200(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_f32 { float fract; int exp; }; -precision highp float; -precision highp int; +void frexp_4b2200() { + frexp_result_f32 res = frexp_result_f32(0.5f, 1); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_4b2200(); +} +#version 310 es + + +struct frexp_result_f32 { + float fract; + int exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_4b2200() { frexp_result_f32 res = frexp_result_f32(0.5f, 1); } -void main() { - frexp_4b2200(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_4b2200(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_4b2200(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_4b2200() { - frexp_result_f32 res = frexp_result_f32(0.5f, 1); -} void main() { - frexp_4b2200(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_4b2200(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_4b2200(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl index 6af0cdf..c01783c 100644 --- a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct frexp_result_f16 { float16_t fract; int exp; }; -precision highp float; -precision highp int; - void frexp_5257dd() { frexp_result_f16 res = frexp_result_f16(0.5hf, 1); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_f16 { float16_t fract; int exp; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_f16 { float16_t fract; int exp;
diff --git a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl index fe6c0a3..0091014 100644 --- a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct frexp_result_vec2_f16 { f16vec2 fract; ivec2 exp; }; -precision highp float; -precision highp int; - void frexp_5f47bf() { frexp_result_vec2_f16 res = frexp_result_vec2_f16(f16vec2(0.5hf), ivec2(1)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec2_f16 { f16vec2 fract; ivec2 exp; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec2_f16 { f16vec2 fract; ivec2 exp;
diff --git a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl index 7a3237a..7834b99 100644 --- a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; }; void frexp_6fb3ad() { @@ -20,32 +14,28 @@ void main() { frexp_6fb3ad(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_6fb3ad(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec2_f32 { vec2 fract; ivec2 exp; }; -precision highp float; -precision highp int; +void frexp_6fb3ad() { + frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_6fb3ad(); +} +#version 310 es + + +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_6fb3ad() { frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); } -void main() { - frexp_6fb3ad(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_6fb3ad(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_6fb3ad() { - frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); -} void main() { - frexp_6fb3ad(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_6fb3ad(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl index d6091ff..15066df 100644 --- a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; }; void frexp_77af93() { @@ -20,32 +14,28 @@ void main() { frexp_77af93(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_77af93(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_77af93(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec4_f32 { vec4 fract; ivec4 exp; }; -precision highp float; -precision highp int; +void frexp_77af93() { + frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_77af93(); +} +#version 310 es + + +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_77af93() { frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); } -void main() { - frexp_77af93(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_77af93(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_77af93(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_77af93() { - frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); -} void main() { - frexp_77af93(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_77af93(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_77af93(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl index 3d92b92..9d68121 100644 --- a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; }; void frexp_979800() { @@ -20,32 +14,28 @@ void main() { frexp_979800(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_979800(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_979800(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec3_f32 { vec3 fract; ivec3 exp; }; -precision highp float; -precision highp int; +void frexp_979800() { + frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_979800(); +} +#version 310 es + + +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_979800() { frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); } -void main() { - frexp_979800(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_979800(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_979800(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_979800() { - frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); -} void main() { - frexp_979800(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_979800(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_979800(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl index 014f20e..bd29a91 100644 --- a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct frexp_result_vec3_f16 { f16vec3 fract; ivec3 exp; }; -precision highp float; -precision highp int; - void frexp_ae4a66() { frexp_result_vec3_f16 res = frexp_result_vec3_f16(f16vec3(0.5hf), ivec3(1)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec3_f16 { f16vec3 fract; ivec3 exp; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct frexp_result_vec3_f16 { f16vec3 fract; ivec3 exp;
diff --git a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl index d919496..71d5020 100644 --- a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_f32 { + float fract; + int exp; }; void frexp_bee870() { @@ -20,32 +14,28 @@ void main() { frexp_bee870(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bee870(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_f32 { float fract; int exp; }; -precision highp float; -precision highp int; +void frexp_bee870() { + frexp_result_f32 res = frexp_result_f32(0.5f, 1); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_bee870(); +} +#version 310 es + + +struct frexp_result_f32 { + float fract; + int exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_bee870() { frexp_result_f32 res = frexp_result_f32(0.5f, 1); } -void main() { - frexp_bee870(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_bee870(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_bee870() { - frexp_result_f32 res = frexp_result_f32(0.5f, 1); -} void main() { - frexp_bee870(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bee870(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl index 8b865a6..f85ec2d 100644 --- a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; }; void frexp_bf45ae() { @@ -20,32 +14,28 @@ void main() { frexp_bf45ae(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bf45ae(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec3_f32 { vec3 fract; ivec3 exp; }; -precision highp float; -precision highp int; +void frexp_bf45ae() { + frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_bf45ae(); +} +#version 310 es + + +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_bf45ae() { frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); } -void main() { - frexp_bf45ae(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_bf45ae(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_bf45ae() { - frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); -} void main() { - frexp_bf45ae(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bf45ae(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl index 2c4321f..9e6f3e5 100644 --- a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; }; void frexp_eb2421() { @@ -20,32 +14,28 @@ void main() { frexp_eb2421(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_eb2421(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_eb2421(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec2_f32 { vec2 fract; ivec2 exp; }; -precision highp float; -precision highp int; +void frexp_eb2421() { + frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_eb2421(); +} +#version 310 es + + +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_eb2421() { frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); } -void main() { - frexp_eb2421(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_eb2421(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_eb2421(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_eb2421() { - frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); -} void main() { - frexp_eb2421(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_eb2421(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_eb2421(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fwidth/5d1b39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidth/5d1b39.wgsl.expected.ir.glsl index 86fba35..56ac66d 100644 --- a/test/tint/builtins/gen/literal/fwidth/5d1b39.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidth/5d1b39.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidth/b83ebb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidth/b83ebb.wgsl.expected.ir.glsl index ad25226..1820432 100644 --- a/test/tint/builtins/gen/literal/fwidth/b83ebb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidth/b83ebb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidth/d2ab9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidth/d2ab9a.wgsl.expected.ir.glsl index c650520..84ef9a3 100644 --- a/test/tint/builtins/gen/literal/fwidth/d2ab9a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidth/d2ab9a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidth/df38ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidth/df38ef.wgsl.expected.ir.glsl index 18cb417..629e077 100644 --- a/test/tint/builtins/gen/literal/fwidth/df38ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidth/df38ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthCoarse/159c8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthCoarse/159c8a.wgsl.expected.ir.glsl index f4f0a8f..1c1338b 100644 --- a/test/tint/builtins/gen/literal/fwidthCoarse/159c8a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthCoarse/159c8a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl index fdd1469..6f3fc26 100644 --- a/test/tint/builtins/gen/literal/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl index 4cfc7c3..78a4d58 100644 --- a/test/tint/builtins/gen/literal/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthCoarse/e653f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthCoarse/e653f7.wgsl.expected.ir.glsl index 255e643..fe5453c 100644 --- a/test/tint/builtins/gen/literal/fwidthCoarse/e653f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthCoarse/e653f7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthFine/523fdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthFine/523fdc.wgsl.expected.ir.glsl index ad8cdd8..be3cec9 100644 --- a/test/tint/builtins/gen/literal/fwidthFine/523fdc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthFine/523fdc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthFine/68f4ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthFine/68f4ef.wgsl.expected.ir.glsl index 3089a23..a8a78ff 100644 --- a/test/tint/builtins/gen/literal/fwidthFine/68f4ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthFine/68f4ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthFine/f1742d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthFine/f1742d.wgsl.expected.ir.glsl index bd13366..d4ffe04 100644 --- a/test/tint/builtins/gen/literal/fwidthFine/f1742d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthFine/f1742d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/literal/fwidthFine/ff6aa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fwidthFine/ff6aa0.wgsl.expected.ir.glsl index 6a3b954..a98c64c 100644 --- a/test/tint/builtins/gen/literal/fwidthFine/ff6aa0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/fwidthFine/ff6aa0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl index 1a0e89d..37b0ab6 100644 --- a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl index fd872e5..a642761 100644 --- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl index 83ebe52..d2e4c73 100644 --- a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl index 879dcfa..b28fc48 100644 --- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl index 8a1fff0..ab3f71b 100644 --- a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl index de1d6da..8e673fa 100644 --- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl index aaa0a15..ec789e7 100644 --- a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl index 60d065d..1d3b788 100644 --- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl index 68e0023..905b0e0 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_07a6fe() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl index acce80a..ca0f51b 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl index a732eff..b29bbbf 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_4ca6d6() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl index 2b165b7..a9ec050 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl index 4929f9a..71e5ce0 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_6d0783() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl index a49c464..765fbc4 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl index a787c2f..c7acd46 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl index c1859d9..2fae292 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl index 92c7daf..04bad2d 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl index a4eeb7d..2eae244 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl index 54ae62e..093fe86 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl index 403427b..31a10db 100644 --- a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_f60c1c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl index 342ef08..75a1c4b 100644 --- a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl index cc88264..adca877 100644 --- a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl index 151937e..e98088b 100644 --- a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_2bfc68() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl index 5887714..a9cb9c1 100644 --- a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_2c6370() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl index 99880d6..3e0fe5a 100644 --- a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_376938() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl index 4be775f..f2d2875 100644 --- a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl index e7b55f6..7ad2723 100644 --- a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_4a3ad9() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl index 815d9fb..1511eed 100644 --- a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl index 0343ea2..2a4eccd 100644 --- a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl index 3ad7a12..ec7804e 100644 --- a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl index 1256024..2b2fbc5 100644 --- a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_71ebe3() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl index 3ba7ff5..e898f0f 100644 --- a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl index 96f73a7..4a2d6ad 100644 --- a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl index c8cf2c0..fd9d008 100644 --- a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl index a59598c..65e8a1a 100644 --- a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl index bc2c19f..a3e0fe0 100644 --- a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl index 743c13f..2e5ae36 100644 --- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl index a0de265..dc08060 100644 --- a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_a6126e() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl index 7198095..b1ec503 100644 --- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl index 36a1cff..b0f70f5 100644 --- a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl index b922890..af4fc55 100644 --- a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_cb0faf() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl index 08becc9..60ac767 100644 --- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl index dceb60f..95690b4 100644 --- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl index 8de5e88..210faec 100644 --- a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_fdbc7b() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl index df90658..12dc083 100644 --- a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl index df8c30c..fd05ab4 100644 --- a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl index b0a96b0..08d17eb 100644 --- a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_555aba() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl index 92b9dd1..7389767 100644 --- a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl index 6644555..a16139b 100644 --- a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl index 43a68e9..7482b7f 100644 --- a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_7b4741() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl index 80e926f..69299a7 100644 --- a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_936ad5() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl index 27950ec..a2a20fd 100644 --- a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl index 6b4af6a..b1105f2 100644 --- a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl index a6395df..719ca9f 100644 --- a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl index 7934d00..f4648e1 100644 --- a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl index fcd6433..2b42e36 100644 --- a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_c2c544() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl index 187700a..4ae1f06 100644 --- a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl index 559ec95..b2f1638 100644 --- a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_655989() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl index b8ad471..c96c5db 100644 --- a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_697e1d() { vec4 res = vec4(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl index 2ca1b80..c2d927c 100644 --- a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl index 6ce93d1..f11e9a0 100644 --- a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl index b33fe43..d0f1d8a 100644 --- a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl index 9cd637d..36d1226 100644 --- a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl index d577c2c..827c094 100644 --- a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_b8088d() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl index 485fbb9..f5954d3 100644 --- a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl index 067a326..a64ddd5 100644 --- a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl index 353329f..97369f9 100644 --- a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl index 1cd5963..c2212fa 100644 --- a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_f60cc7() { vec2 res = vec2(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl index cefd5f8..c8060a2 100644 --- a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_0fbd39() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl index 4028b49..bea0763 100644 --- a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl index 04fcc29..d1b977b 100644 --- a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl index 0bf201a..9e452912 100644 --- a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_5b464b() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl index cec9e76..b710fca 100644 --- a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_6b8954() { vec2 res = vec2(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl index 5061c06..0df1c67 100644 --- a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl index 7cb6c58..797f600 100644 --- a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl index c69bc77..a65098d 100644 --- a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl index c53ffb1..d8c83b4 100644 --- a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_a52bbb() { vec4 res = vec4(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl index 30bb6aa..e6f0344 100644 --- a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl index a8e79c5..ba46b14 100644 --- a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl index 750c976..5852645 100644 --- a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl index baa855d..5bd602e 100644 --- a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_067f3a() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl index 0476cc8..54c071a 100644 --- a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl index c632a95..31df79b 100644 --- a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl index 0069639..14c50b2 100644 --- a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_19070a() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl index 6786401..0182327 100644 --- a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl index 35f1825..bf0275d 100644 --- a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl index d11c8e6..ddc071d 100644 --- a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl index c1eaa40..6c70de7 100644 --- a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl index 35b36e2..09efdb6 100644 --- a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl index 16f94e1..8400bb6 100644 --- a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl index 7b31455..74612da 100644 --- a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl index c769d41..3831036 100644 --- a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_482d23() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl index 308c7b5..c30dc6b 100644 --- a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl index 9b16985..8734ff2 100644 --- a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_4bbff2() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl index b54ab06..79e6365 100644 --- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl index 77cd8c5..7615289 100644 --- a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_a1b196() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl index 1a4fe84..dacbef8 100644 --- a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl index b1af089..591fa00 100644 --- a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl index ab457f7..17df029 100644 --- a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_c023dd() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl index 6c04daf..b3db83b 100644 --- a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_caa3d7() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl index a342cd5..5bbafe8 100644 --- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl index 8b76aab..c46849f 100644 --- a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_de6b87() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl index 2883622..e6518e3 100644 --- a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl index f535c25..3360d21 100644 --- a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl index 79d9bfe..506b277 100644 --- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl index 29582ff..fdad115 100644 --- a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl index 4ebe553..ed92de8 100644 --- a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_364910() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl index 224b162..6c0e295 100644 --- a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_371bd6() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl index 26cba67..ceee741 100644 --- a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl index ebb98f8..7a49817f 100644 --- a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl index 9ba597d..b085bcc 100644 --- a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_527b79() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl index c2eda73..4a9ec0f 100644 --- a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_717257() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl index 693ed61..53f4356 100644 --- a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_794711() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl index 6145b5c..132abf6 100644 --- a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl index d48cac3..a36fe2b 100644 --- a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl index 07110d8..843d0b5 100644 --- a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_84c9fe() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl index 825c899..ce5d175 100644 --- a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl index 1315ab7..accd496 100644 --- a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_98e797() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl index 26e803a..15de0c9 100644 --- a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl index 1c8b273..32cd62d 100644 --- a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl index 30c0155..f3e8a07 100644 --- a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl index 4be4aca..dcb97dd 100644 --- a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl index b1ddd2f..3ea7c85 100644 --- a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl index 6741953..10ba99e 100644 --- a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_af364e() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl index 73cc51f..3999f40 100644 --- a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl index 57a0040..93d8837 100644 --- a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl index 9cb2515..fa68aab 100644 --- a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl index 4708f79..8a24450 100644 --- a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl index f24d55f..e3028e5 100644 --- a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl index 688480d..804b2a9 100644 --- a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl index 3dbab02..9b20656 100644 --- a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_275cac() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl index a4e92fe..b625814 100644 --- a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl index 7dac4f6..f3d1742 100644 --- a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_30de36() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl index 3ceddaa..7c61cf0 100644 --- a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl index 48e6b52..b4a3773 100644 --- a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_343c49() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl index 5ea64f9..7b253e7 100644 --- a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl index 9271c0a..0d20792 100644 --- a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_42d11d() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl index 19fd1d7..0e3d335 100644 --- a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl index 7b0c842..acbdd71 100644 --- a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl index 91c8578..572b5a4 100644 --- a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl index b1788ae..902c7e1 100644 --- a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_98007a() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl index 73346a5..ea00b91 100644 --- a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl index d9da496..8b303a7 100644 --- a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_9c2681() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl index fff1927..2ad933c 100644 --- a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl index e7a4dfd..275793b 100644 --- a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl index 24c9613..7fb585d 100644 --- a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl index d76d2c2..484dd7f 100644 --- a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl index efdf84d..3b04c63 100644 --- a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_ef3575() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl index dc607f1..edf62f8 100644 --- a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl index db5cff0..26a43e7 100644 --- a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; }; void modf_2d50da() { @@ -20,32 +14,28 @@ void main() { modf_2d50da(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_2d50da(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_2d50da(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec2_f32 { vec2 fract; vec2 whole; }; -precision highp float; -precision highp int; +void modf_2d50da() { + modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_2d50da(); +} +#version 310 es + + +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_2d50da() { modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); } -void main() { - modf_2d50da(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_2d50da(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_2d50da(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_2d50da() { - modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); -} void main() { - modf_2d50da(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_2d50da(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_2d50da(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl index b0ee3fc..03423b7 100644 --- a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct modf_result_vec3_f16 { f16vec3 fract; f16vec3 whole; }; -precision highp float; -precision highp int; - void modf_45005f() { modf_result_vec3_f16 res = modf_result_vec3_f16(f16vec3(-0.5hf), f16vec3(-1.0hf)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec3_f16 { f16vec3 fract; f16vec3 whole; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec3_f16 { f16vec3 fract; f16vec3 whole;
diff --git a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl index ed1ddde..d0adb0e 100644 --- a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; }; void modf_4bfced() { @@ -20,32 +14,28 @@ void main() { modf_4bfced(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_4bfced(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_4bfced(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec4_f32 { vec4 fract; vec4 whole; }; -precision highp float; -precision highp int; +void modf_4bfced() { + modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_4bfced(); +} +#version 310 es + + +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_4bfced() { modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); } -void main() { - modf_4bfced(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_4bfced(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_4bfced(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_4bfced() { - modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); -} void main() { - modf_4bfced(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_4bfced(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_4bfced(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl index ff7d466..d0494fa 100644 --- a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; }; void modf_5ea256() { @@ -20,32 +14,28 @@ void main() { modf_5ea256(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_5ea256(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_5ea256(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec3_f32 { vec3 fract; vec3 whole; }; -precision highp float; -precision highp int; +void modf_5ea256() { + modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_5ea256(); +} +#version 310 es + + +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_5ea256() { modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); } -void main() { - modf_5ea256(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_5ea256(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_5ea256(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_5ea256() { - modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); -} void main() { - modf_5ea256(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_5ea256(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_5ea256(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl index 9be67e6..c8a3e8c 100644 --- a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; }; void modf_68d8ee() { @@ -20,32 +14,28 @@ void main() { modf_68d8ee(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_68d8ee(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec3_f32 { vec3 fract; vec3 whole; }; -precision highp float; -precision highp int; +void modf_68d8ee() { + modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_68d8ee(); +} +#version 310 es + + +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_68d8ee() { modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); } -void main() { - modf_68d8ee(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_68d8ee(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_68d8ee() { - modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); -} void main() { - modf_68d8ee(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_68d8ee(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl index f928d88..0f37c47 100644 --- a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; }; void modf_732aa6() { @@ -20,32 +14,28 @@ void main() { modf_732aa6(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_732aa6(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec2_f32 { vec2 fract; vec2 whole; }; -precision highp float; -precision highp int; +void modf_732aa6() { + modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_732aa6(); +} +#version 310 es + + +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_732aa6() { modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); } -void main() { - modf_732aa6(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_732aa6(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_732aa6() { - modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); -} void main() { - modf_732aa6(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_732aa6(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl index d7e958a..103cff1 100644 --- a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct modf_result_f16 { float16_t fract; float16_t whole; }; -precision highp float; -precision highp int; - void modf_8dbbbf() { modf_result_f16 res = modf_result_f16(-0.5hf, -1.0hf); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_f16 { float16_t fract; float16_t whole; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_f16 { float16_t fract; float16_t whole;
diff --git a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl index 28b49f1..febebd2 100644 --- a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct modf_result_vec4_f16 { f16vec4 fract; f16vec4 whole; }; -precision highp float; -precision highp int; - void modf_995934() { modf_result_vec4_f16 res = modf_result_vec4_f16(f16vec4(-0.5hf), f16vec4(-1.0hf)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec4_f16 { f16vec4 fract; f16vec4 whole; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec4_f16 { f16vec4 fract; f16vec4 whole;
diff --git a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl index 9ec39e6..58e499f 100644 --- a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct modf_result_vec2_f16 { f16vec2 fract; f16vec2 whole; }; -precision highp float; -precision highp int; - void modf_a545b9() { modf_result_vec2_f16 res = modf_result_vec2_f16(f16vec2(-0.5hf), f16vec2(-1.0hf)); @@ -18,6 +18,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec2_f16 { f16vec2 fract; f16vec2 whole; @@ -33,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct modf_result_vec2_f16 { f16vec2 fract; f16vec2 whole;
diff --git a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl index 3f34ba5..7bdcbf1 100644 --- a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_f32 { + float fract; + float whole; }; void modf_bbf7f7() { @@ -20,32 +14,28 @@ void main() { modf_bbf7f7(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_bbf7f7(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_bbf7f7(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_f32 { float fract; float whole; }; -precision highp float; -precision highp int; +void modf_bbf7f7() { + modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_bbf7f7(); +} +#version 310 es + + +struct modf_result_f32 { + float fract; + float whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_bbf7f7() { modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); } -void main() { - modf_bbf7f7(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_bbf7f7(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_bbf7f7(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_bbf7f7() { - modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); -} void main() { - modf_bbf7f7(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_bbf7f7(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_bbf7f7(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl index 7b43b0c..a2ef977 100644 --- a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_f32 { + float fract; + float whole; }; void modf_c15f48() { @@ -20,32 +14,28 @@ void main() { modf_c15f48(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_c15f48(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_f32 { float fract; float whole; }; -precision highp float; -precision highp int; +void modf_c15f48() { + modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_c15f48(); +} +#version 310 es + + +struct modf_result_f32 { + float fract; + float whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_c15f48() { modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); } -void main() { - modf_c15f48(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_c15f48(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_c15f48() { - modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); -} void main() { - modf_c15f48(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_c15f48(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl index e70681c..7e02d38 100644 --- a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; }; void modf_f3d1f9() { @@ -20,32 +14,28 @@ void main() { modf_f3d1f9(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_f3d1f9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec4_f32 { vec4 fract; vec4 whole; }; -precision highp float; -precision highp int; +void modf_f3d1f9() { + modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_f3d1f9(); +} +#version 310 es + + +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_f3d1f9() { modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); } -void main() { - modf_f3d1f9(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_f3d1f9(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_f3d1f9() { - modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); -} void main() { - modf_f3d1f9(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_f3d1f9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl index cd3b81c..201aca1 100644 --- a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl index 48bdfa7..6dfae0b 100644 --- a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_4eaf61() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl index a1b69d6..699f9cb 100644 --- a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_584e47() { vec2 res = vec2(0.70710676908493041992f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl index 886efe5..7335590 100644 --- a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl index 290d433..df80d9f 100644 --- a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl index a88ceaa..d73531d 100644 --- a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl index bc800c1..c132f47 100644 --- a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl index dd40dc6..9ccc2ee 100644 --- a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_e7def8() { vec3 res = vec3(0.57735025882720947266f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl index 208fbe2..a03fefa 100644 --- a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl index ea4521d..3cb50c2 100644 --- a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl index bd10ce3..63827dd 100644 --- a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl index bd027b3..0e7ea8a 100644 --- a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl index a39997d..6f8cda5 100644 --- a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl index 65f0467..c828e78 100644 --- a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl index e093c41..82065a3 100644 --- a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl index 38f0fb2..dc69036 100644 --- a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl index ead6ae7..f96e85a 100644 --- a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl index e1205d9..7b671e4 100644 --- a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl index 332fb79..51ea31c 100644 --- a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl index e0b9529..17cfba0 100644 --- a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl index 4fc3b24..f07975f 100644 --- a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl index d8a0d60..99edb78 100644 --- a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl index f6d27e3..35e1f83 100644 --- a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_749c42() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl index 9925ae0..00f71d8 100644 --- a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_a8f6b2() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl index be50c67..dbad922 100644 --- a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_bc91ed() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl index ed233a5..df8ae57 100644 --- a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl index f42f266..4d79e16 100644 --- a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_e42f20() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl index 5aa6f6f..4533039 100644 --- a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl index 60ce365..d3e2e20 100644 --- a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl index bb419d0..89029ef 100644 --- a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl index f990bce..42862a7 100644 --- a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl index dcfd19d..844b7a9 100644 --- a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl index abd631b..3087177 100644 --- a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl index e47be36..63776fc 100644 --- a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl index 7dea620..2c1bfd5 100644 --- a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl index c162ddc..01a8e22 100644 --- a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl index 4b8ff37..370e515 100644 --- a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_379214() { vec3 res = vec3(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl index 538e53b..d3ef6a3 100644 --- a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_44a9f8() { vec2 res = vec2(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl index e7f9a2b..71c21bf 100644 --- a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl index ded3a9f..0e7385c 100644 --- a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_524a91() { vec4 res = vec4(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl index 342c2bf..83b854b 100644 --- a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl index 4111a4c..e0627e9 100644 --- a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl index 67f9f89..efdc8c7 100644 --- a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl index 53b2a1d..1114380 100644 --- a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_bff231() { float res = 0.01745329238474369049f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl index f84af18..c94da52 100644 --- a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl index 514bb99..db4d47f 100644 --- a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl index e642510..33610de 100644 --- a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl index 39cc003..a890307 100644 --- a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl index b3d5f35..d84a557 100644 --- a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl index bf24603..1a68f64 100644 --- a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_a8baf2() { vec3 res = vec3(-5.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl index 5eaa075..69645b0 100644 --- a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl index 248aa90..6b969e6 100644 --- a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl index d28b1a7..00f2b28 100644 --- a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_bba2d0() { vec2 res = vec2(-3.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl index 252e52f..5b45f1e 100644 --- a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_d7e210() { vec4 res = vec4(-7.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl index 521ca2e..7d2eb38 100644 --- a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl index 92a31f4..a9133d8 100644 --- a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl index f0121a5..72dbef7 100644 --- a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl index b985770..644f307 100644 --- a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl index b10122f..a317926 100644 --- a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl index cd5d173..85a61a6 100644 --- a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_8c192a() { vec4 res = vec4(-7.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl index e2f5920..af077e6 100644 --- a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl index d5a1f4e..15c7ca7 100644 --- a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl index 7c09c6c..8f223de 100644 --- a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_cf1629() { vec2 res = vec2(-3.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl index d96b8c9..3ae7b35 100644 --- a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_d7569b() { vec3 res = vec3(-5.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl index 214cc02..591f910 100644 --- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl index 133a53b8..2eacb2a 100644 --- a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl index 2f093e923..02b0838 100644 --- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl index 178fbd1..c51964a 100644 --- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl index 3774f09..368a2a5 100644 --- a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl index 8798af1..3f12fe0 100644 --- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl index 2ee7244..31f9ae9 100644 --- a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl index c32ad35..c2331a3 100644 --- a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl index ba8119d..4adeb3e 100644 --- a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl index df7edc4..21b66d9 100644 --- a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_184d5a() { vec4 res = vec4(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl index c2a6e95..9279f99 100644 --- a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl index 9e7ba05..419fd7c 100644 --- a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl index 5ca3936..29abab1 100644 --- a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_773a8f() { float res = 4.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl index bf91065..28f2208 100644 --- a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_8fdca3() { vec2 res = vec2(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl index 518f9aa..e0bd6f21c 100644 --- a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl index 0543223..b648c6a 100644 --- a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl index 2f1623e..347b19f 100644 --- a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_a1673d() { vec3 res = vec3(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl index e21499a..e5c2968 100644 --- a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl index 850f86f..de84b7dc 100644 --- a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl index 00820a8..67c52c9 100644 --- a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl index 0395c85..4216174 100644 --- a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl index e824af9..79b3e49 100644 --- a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl index 4a4d116..f90bd8f 100644 --- a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_4ed8d7() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl index 9ec6c77..0cd10ad 100644 --- a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl index 6b3072f..33d5332 100644 --- a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl index a0e1389..4529f8d 100644 --- a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_78b37c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl index 2ea32e5..fffb4b0 100644 --- a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl index abb28b4..6a9061e 100644 --- a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl index 6de7e06..7cf803d 100644 --- a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_d55822() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl index 9e3f9af..0f3ab91 100644 --- a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl index 5c65e39..af47889 100644 --- a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_e40fb6() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl index fd6ea4c..109980c 100644 --- a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl index 2702795..8890087 100644 --- a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl index 2c2b71b..f0508fe 100644 --- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl index 78b17eb..9a31684 100644 --- a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl index e89f741..bbbb286 100644 --- a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_089657() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl index 3db5ead..379b74c 100644 --- a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl index 6d29974..a6a15ac 100644 --- a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_17441a() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl index 2c3ecbc..20dd47d 100644 --- a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl index e66342d..c6d9fdb 100644 --- a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl index 78c426e..3d696d7 100644 --- a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_1f4d93() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl index 02235c9..2d18ae0 100644 --- a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl index 502c50a..85fa412 100644 --- a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl index c01268d..6543227 100644 --- a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_2c96d4() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl index b1ca08d..a9c8377 100644 --- a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_3a14be() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl index d8db3df..efbfa0a 100644 --- a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl index c9d6126..0e92e6e 100644 --- a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_431dfb() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl index ada0def..f0e0f09 100644 --- a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_43741e() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl index cc4e8e5..d386f5f 100644 --- a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_494051() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl index 30efc23..229b57a 100644 --- a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_4c4738() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl index 52c49f6..0008385 100644 --- a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_4e60da() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl index e0481d4..7dde93f 100644 --- a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl index 7e0d03c..a46d78d 100644 --- a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl index d59540a..d2e1320 100644 --- a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl index c14d61c..99c7dd8 100644 --- a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl index abd3940..5d3a1e8 100644 --- a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl index 929c9f1..32b6908 100644 --- a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl index 97053c8..75d4793 100644 --- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl index c0f1c98..c52589f 100644 --- a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl index 8253435..0c05a98 100644 --- a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_9b478d() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl index 913d806..5c3da6f7 100644 --- a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl index af32b0a..f1cac62 100644 --- a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl index 0a3c2d1..712cd3d 100644 --- a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl index 2e6a99b..4016157 100644 --- a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl index aa925f3..3286604 100644 --- a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_b93806() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl index 9c3ec23..f2b01d4 100644 --- a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl index 2dbfa50..6a7fe81 100644 --- a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl index 17ce4b0..5ff58e5 100644 --- a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl index 83a237d..60b7f53 100644 --- a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl index 5c889ff..8057e48 100644 --- a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_dfab3b() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl index 490aa02..410c4ee 100644 --- a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void select_e381c3() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl index a0c9517..2153207 100644 --- a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl index 382f5e7..b2338ca 100644 --- a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl index bac9e86..68f48a6 100644 --- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl index 1a6ae36..3b564fa 100644 --- a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_0799fd() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl index 5d4f8f6..f256560 100644 --- a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl index 4101e56..e47d735 100644 --- a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl index b39c3f4..651f1c6 100644 --- a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl index e0f3dd6..09a34c7 100644 --- a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_3a39ac() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl index 9b04c3a..1be75f5 100644 --- a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_3bdab6() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl index 257bb29..b1a8b34 100644 --- a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_55339e() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl index 586f8ae..c770f88 100644 --- a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl index 339000f..1f16a1d 100644 --- a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl index eba8938..d910314 100644 --- a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl index 6d4377c..ffe73b6 100644 --- a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl index 6d08025..c37d382 100644 --- a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_943b2e() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl index a4536cc..7833cee 100644 --- a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl index bbf2d22..ce83add 100644 --- a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_ab6301() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl index a8cd902..73a1802 100644 --- a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl index fe802f1..252db53 100644 --- a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_c8289c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl index 33689c0..f4922b5 100644 --- a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl index 122a92a..b0a813c 100644 --- a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl index f0e0d39..ad6de63 100644 --- a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl index 0a1f23c..8fc8508 100644 --- a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_f5da6a() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl index a7cadf5..d054fc9 100644 --- a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl index 5cc6310..7acd282 100644 --- a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_15b2c6() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl index e995679..537a5c7 100644 --- a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl index f2aa5e6..7ac82cc 100644 --- a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl index 5d8197b..627f8e8 100644 --- a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl index 0d0fb36..19bb6dd 100644 --- a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl index 12b678c..3421bd3 100644 --- a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl index 01145e6..19b7625 100644 --- a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_67b03c() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl index 6fbe2cb..9819291 100644 --- a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_68d3ab() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl index 17ef61c..2ebf3cf 100644 --- a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_a9ab19() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl index 501da05..ea9e2a4 100644 --- a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl index 4ea2487..b6e5201 100644 --- a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl index 0d7fd9a..163775e 100644 --- a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl index aa0d181..4cc2609 100644 --- a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl index d4299f1..b0d7a72 100644 --- a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl index c14c188..cb040db 100644 --- a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_77a2a3() { vec3 res = vec3(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl index 59d5aa5..eace5dd 100644 --- a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl index 3b91819..6f5db32 100644 --- a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl index 077dcde..63e009b 100644 --- a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_9c1092() { vec2 res = vec2(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl index 1733332..3f3332d 100644 --- a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_a3da7c() { vec4 res = vec4(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl index 195101a..748fe3b 100644 --- a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl index d98d0c5..a29c127 100644 --- a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl index 1c21cac..3b08208 100644 --- a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_c4df74() { float res = 1.17520117759704589844f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl index fd074e9..bbaac6a 100644 --- a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl index e2c9caf..f568246 100644 --- a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_0c481b() { vec2 res = vec2(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl index a3ea126..eceec76 100644 --- a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_0c4ffc() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl index 04b7c98..48be088 100644 --- a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl index 47a8b89..aceee64 100644 --- a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl index 45a20e0..eb316e1 100644 --- a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl index aeb0966..3199cf7 100644 --- a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl index 99a19ed..a486204 100644 --- a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_66e4bd() { vec3 res = vec3(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl index 96c4d29..b72c6b3 100644 --- a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl index 9542e5c..433133b 100644 --- a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl index e19491d..8166acf 100644 --- a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_a80fff() { float res = 0.5f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl index 7347958..0f4ee4e 100644 --- a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl index d336e5c..871b082 100644 --- a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl index 0b0fcb0..9b23a3d 100644 --- a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_072192() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl index e4a3143..b8f239a 100644 --- a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl index 48c80ba..e7d2cc9 100644 --- a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_4ac2c5() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl index 330cba8..b9e01bf 100644 --- a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl index 1e1353d..9152d84 100644 --- a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl index bbdbf1c..b2f1bc2 100644 --- a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl index 3220a3c..6f0922c 100644 --- a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_8da177() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl index 72889da..19c8706 100644 --- a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_9c5cbe() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl index a968187..2cef39d 100644 --- a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl index 76dc16e..37c7572 100644 --- a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl index bc55f24..5bd050c 100644 --- a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl index ae21c5e..8269933 100644 --- a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl index 17a2ab4..af3a8bf 100644 --- a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl index 3fd15c7..f23f63b 100644 --- a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl index 75a87fa..c7891f7 100644 --- a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl index 90d6296..185c83d 100644 --- a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl index 6cc8062..509f24c 100644 --- a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_38cd79() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl index ae67f8f..70a12a0 100644 --- a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_415879() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl index 6d7273a..4240a7e 100644 --- a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl index b87d3e2..f70fa5d 100644 --- a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_7c7e5c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl index 8487a06..7cfc660 100644 --- a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl index d6ea298..f97fb4d 100644 --- a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl index d45a552..40b70fa 100644 --- a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl index c19ef16..848bb80 100644 --- a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_f9b70c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl index 57a1e40..977d01d 100644 --- a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl index 488f2fb..5ee915d 100644 --- a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl index 600b075..cf48e59 100644 --- a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_311400() { float res = 1.55740773677825927734f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl index 7ed9189..1af67ef 100644 --- a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl index 67635ef..2c54dbb 100644 --- a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_7be368() { vec2 res = vec2(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl index bc00577..ff09ad9 100644 --- a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl index 14efcb3..459ed52 100644 --- a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl index be9ab6e..931beaa 100644 --- a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl index fca70d2..7b7d908 100644 --- a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_a0966f() { vec4 res = vec4(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl index 3c5af49..c676090 100644 --- a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_ae26ae() { vec3 res = vec3(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl index 5954bac..1cc7559 100644 --- a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl index c0329ec..e875087 100644 --- a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl index f3ef8a8..8251a64 100644 --- a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl index 6cb14cf..42a19fe 100644 --- a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_313aa1() { float res = 0.76159417629241943359f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl index 65928a9..98c73d6 100644 --- a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl index d795584..f23a24e 100644 --- a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl index 4ea2798..3a9ced1 100644 --- a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl index 6f08f81..b87e2ab 100644 --- a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_6289fd() { vec3 res = vec3(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl index 594b66d..d50f018 100644 --- a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl index bb8bc8c..9a83226 100644 --- a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl index 99832a9..1edb0db 100644 --- a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_ac5d33() { vec4 res = vec4(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl index 61c2afb..125dc85 100644 --- a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl index 0d5f3aa..370d9db 100644 --- a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_c48aa6() { vec2 res = vec2(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl index 53b03ec..719abee 100644 --- a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl index 6df2b75..a563efc 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct tint_GammaTransferParams { float G; @@ -13,6 +14,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -29,45 +53,32 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - -struct VertexOutput { - vec4 pos; - uvec2 prevent_dce; -}; - -uvec2 prevent_dce; +layout(binding = 0, std430) +buffer tint_symbol_1_1_ssbo { + uvec2 tint_symbol; +} v; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; +layout(binding = 2, std140) +uniform tint_symbol_3_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_2; +} v_1; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_2 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_3 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_2, v_3, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); +} uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); + uvec2 res = (tint_convert_tint_ExternalTextureParams(v_1.tint_symbol_2).visibleSize + uvec2(1u)); return res; } void main() { - prevent_dce = textureDimensions_cdc6c9(); + v.tint_symbol = textureDimensions_cdc6c9(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); - tint_symbol.pos = vec4(0.0f); - tint_symbol.prevent_dce = textureDimensions_cdc6c9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct tint_GammaTransferParams { float G; float A; @@ -79,6 +90,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -95,45 +129,33 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - -struct VertexOutput { - vec4 pos; - uvec2 prevent_dce; -}; - -uvec2 prevent_dce; +layout(binding = 0, std430) +buffer tint_symbol_1_1_ssbo { + uvec2 tint_symbol; +} v; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; -uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); - return res; +layout(binding = 2, std140) +uniform tint_symbol_3_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_2; +} v_1; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_2 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_3 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_2, v_3, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); } -void main() { - prevent_dce = textureDimensions_cdc6c9(); +uvec2 textureDimensions_cdc6c9() { + uvec2 res = (tint_convert_tint_ExternalTextureParams(v_1.tint_symbol_2).visibleSize + uvec2(1u)); + return res; } layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void main() { - prevent_dce = textureDimensions_cdc6c9(); + v.tint_symbol = textureDimensions_cdc6c9(); } -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); - tint_symbol.pos = vec4(0.0f); - tint_symbol.prevent_dce = textureDimensions_cdc6c9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:51: 'main' : function already has a body -ERROR: 0:51: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct tint_GammaTransferParams { float G; float A; @@ -145,6 +167,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -161,42 +206,39 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - struct VertexOutput { vec4 pos; uvec2 prevent_dce; }; -uvec2 prevent_dce; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; +layout(binding = 2, std140) +uniform tint_symbol_2_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_1; +} v; +layout(location = 0) flat out uvec2 vertex_main_loc0_Output; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_1 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_2 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_1, v_2, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); +} uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); + uvec2 res = (tint_convert_tint_ExternalTextureParams(v.tint_symbol_1).visibleSize + uvec2(1u)); return res; } -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); tint_symbol.pos = vec4(0.0f); tint_symbol.prevent_dce = textureDimensions_cdc6c9(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:50: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:50: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + VertexOutput v_3 = vertex_main_inner(); + gl_Position = v_3.pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + vertex_main_loc0_Output = v_3.prevent_dce; + gl_PointSize = 1.0f; +}
diff --git a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl index 1606433..24b2784 100644 --- a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_32dd64() { mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl index 9ed21db..c616bf3 100644 --- a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_553e90() { mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl index f58d140..4e2f1ce 100644 --- a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_5c133c() { mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl index bbf467f..869da87 100644 --- a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_66fce8() { mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl index b0ec527..b451c87 100644 --- a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_70ca11() { mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl index d59e245..7b953c7 100644 --- a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_7eb2c5() { mat2 res = mat2(vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl index cf902e5..ece83db 100644 --- a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_84a763() { mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl index a4fd65e..a506360 100644 --- a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_ace596() { mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl index 325104a..bed1482 100644 --- a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_dc671a() { mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl index 5af28cc..20db045 100644 --- a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl index 0e4d909..b91c091 100644 --- a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_117396() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl index 553c5da..49eb3eb 100644 --- a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl index 7fbbf86..18b4f4b 100644 --- a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_7d6ded() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl index b6f1575..cba109d 100644 --- a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl index e312044..a1c1115 100644 --- a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_c12555() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl index deb25e1..053ef51 100644 --- a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl index 903912d..48f23b718 100644 --- a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -33,6 +32,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl index 465fde7..8c40171 100644 --- a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl index f6db2c4..d9e01be 100644 --- a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl index 6557248..e1c7c40 100644 --- a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_f0f1a1() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl index d60ac15..2e09cce 100644 --- a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl index a345571..efd190e 100644 --- a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl index dd017be..acecdc5 100644 --- a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl index 0d62da4..d81e61a 100644 --- a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl index 1c744c9..019a00c 100644 --- a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl index a508469..d07c60d 100644 --- a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl index 2fb6b3b..ee94e03 100644 --- a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl index b17d61b..3d24431 100644 --- a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl index e5cece3..b933194 100644 --- a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl index 9a09e44..de58880 100644 --- a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl index 0b8c0e8..7a200bc 100644 --- a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl index 9835581..b036c218 100644 --- a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_2f861b() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl index 41f7f65..8df3afa 100644 --- a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl index 69e4c7d..fb4b8ba 100644 --- a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl index bacacda..c40c5ad 100644 --- a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl index 54714a8..1dd5cfa 100644 --- a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_577d6e() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl index 34eac65..ff8c91a 100644 --- a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_5a8af1() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl index f8238bd..b2475f9 100644 --- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl index 1b0ccb8..e2e6258 100644 --- a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl index c82e279..72a18b6 100644 --- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl index a48800b..12797eb 100644 --- a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_82ff9d() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl index c34b852..9827f0b 100644 --- a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_8ca9b1() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl index 376baed..f95a0c9 100644 --- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl index 6a56d49..352bee8 100644 --- a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_aedb6d() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl index 9e12592..c91b2cb 100644 --- a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl index 019254e..f78494f 100644 --- a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_c3321c() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl index 97e4bd4..26b22c2 100644 --- a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void abs_e28785() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl index 40a6594..af636d4 100644 --- a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl index 3650881..ab9fa20 100644 --- a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl index 9200608..7c331db 100644 --- a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_069188() { vec3 res = vec3(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl index 4e385db..03ac176 100644 --- a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_15d35b() { vec2 res = vec2(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl index d20cc96..ea8d67f 100644 --- a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl index 6f5e9cc..e987bc1 100644 --- a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl index 849a45f..42fbc0e 100644 --- a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl index 4d92fb6..e393988 100644 --- a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_4dac75() { vec4 res = vec4(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl index 12c3548..9e229eb 100644 --- a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acos_5e9ad2() { float res = 0.25f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl index 92b206a..f6bd7d7 100644 --- a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl index fefe5ac..6316b5d 100644 --- a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl index 09018fb..1c68799 100644 --- a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl index eb5dce9..32da40c 100644 --- a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl index 9232c07..a4dc911 100644 --- a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_17260e() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl index f2d76b7..7a9c0953 100644 --- a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_3433e8() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl index 1bed89c..c1af2cc 100644 --- a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_490aae() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl index 427c395..044468c 100644 --- a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl index 4714030..18ce72c 100644 --- a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl index 32e0851..bde8da8 100644 --- a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void acosh_9f213e() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl index 543867c..6a9a1e9 100644 --- a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl index 70877af..c6fd144 100644 --- a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl index 2e10d72..3418e52 100644 --- a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl index 0637127..5014428 100644 --- a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl index ea0a4f4..f44d450 100644 --- a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl index a5c2364..8c6a948 100644 --- a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl index aa66fc7..abe83b7 100644 --- a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl index 1195fb0..f69a6e0 100644 --- a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_0bac07() { vec3 res = vec3(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl index 5c5d3e4..cb45c4e 100644 --- a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl index 8165b7e..bc53bdb 100644 --- a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl index 75520ba..4d042c8 100644 --- a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl index 2ac68c5..c8447f2 100644 --- a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_64bb1f() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl index 30bafe7..2b4a44f 100644 --- a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl index 8e90267..a558a7c 100644 --- a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl index 048e94d..f1fc920 100644 --- a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_a5dd88() { vec2 res = vec2(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl index a63b426..8c4c8b8 100644 --- a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asin_a6d73a() { float res = 0.5f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl index 49f4e93..36eecea 100644 --- a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl index 18224a5..14dc085 100644 --- a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl index 10bc556..1710c97 100644 --- a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl index 01f1328..c144b67 100644 --- a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_16b543() { vec2 res = vec2(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl index 2deb7f4..48e4e9e 100644 --- a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_180015() { float res = 0.88137358427047729492f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl index 51d497d..b79bb60 100644 --- a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl index b0395ee..f73318e 100644 --- a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl index a365d6a..10c0866 100644 --- a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl index a917715..75116a4 100644 --- a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_51079e() { vec3 res = vec3(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl index 15775de..0a5023c 100644 --- a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl index 282be25..88a8b7e 100644 --- a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl index ce86dd1..524a558 100644 --- a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl index c4fcf26..d58db30 100644 --- a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void asinh_cf8603() { vec4 res = vec4(0.88137358427047729492f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl index fafed37..ca5f385 100644 --- a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl index 39d5966..977f4fa 100644 --- a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl index 13f61b4..8674f93 100644 --- a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl index 30aac5d..d30108c 100644 --- a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl index 9f6ea5f..33779af 100644 --- a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl index dcd81e9..b1c13d9 100644 --- a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_5ca7b8() { vec2 res = vec2(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl index 907578a..51c863c 100644 --- a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_749e1b() { vec3 res = vec3(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl index 8721302..e181a9b 100644 --- a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_7a2a75() { float res = 0.78539818525314331055f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl index b5ba4bc..caed688 100644 --- a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl index d7be303..4b27ef9 100644 --- a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl index 2460de5..f5a3416 100644 --- a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl index 12c11bd..760ffa9 100644 --- a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl index cfd1eb24..f859437 100644 --- a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan_d17fb2() { vec4 res = vec4(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl index ab41168..7ed692f 100644 --- a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_034ace() { float res = 0.78539818525314331055f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl index 0831b7c..d9608cf 100644 --- a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl index fc3d9e3..f5b09cf 100644 --- a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_3c2865() { vec3 res = vec3(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl index a3f12c2..f285a35 100644 --- a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl index 8ea794d..e4a12b7 100644 --- a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl index db7517e..13e6002 100644 --- a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl index 365e45a..69fa9f6 100644 --- a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl index a2995e6..6402d32 100644 --- a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl index 31aa131..486c256 100644 --- a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_c19683() { vec2 res = vec2(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl index 4a208d3..197f79f 100644 --- a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atan2_c4be45() { vec4 res = vec4(0.78539818525314331055f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl index 3f44623..76e97a3 100644 --- a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl index f8523c1..4f9cc7b 100644 --- a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl index 10ca02e..3222bfb 100644 --- a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl index ee7d382..8a78666 100644 --- a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl index 1c3a757..2d71a66 100644 --- a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_70d5bd() { vec2 res = vec2(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl index 44fa45f..716c6c1 100644 --- a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl index 9129cb3..bd774a7b 100644 --- a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_7f2874() { vec3 res = vec3(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl index f51bf10..bd2b578 100644 --- a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl index 64cb96d..61d5394 100644 --- a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_c5dc32() { float res = 0.54930615425109863281f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl index e23862b..b035b02 100644 --- a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl index e3c0ff9..5e9f35b 100644 --- a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl index 6c080bc..91a49ae 100644 --- a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void atanh_e431bb() { vec4 res = vec4(0.54930615425109863281f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl index 201c182..1f70bb6 100644 --- a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl index 1c9543f..b5df692 100644 --- a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl index 68e23f2..d42ee20 100644 --- a/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl index 09df200..0285930 100644 --- a/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl index 45e65f4..4f10171 100644 --- a/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl index 31fcfdc..f019535 100644 --- a/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -30,6 +29,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl index a129595..d40a471 100644 --- a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl index ad89344..b4adcd0 100644 --- a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_11b1dc() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl index aac61af..e4fb4a6 100644 --- a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl index dbfe5d1..27e7886 100644 --- a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_32c946() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl index a349ed9..57fa412 100644 --- a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl index d108ea1..2b70eb6 100644 --- a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl index 46c965c..ca1961a 100644 --- a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl index ff968e9..c056753 100644 --- a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl index a1d8eef..f58740d 100644 --- a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl index 45e1857..2a6e613 100644 --- a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_bb2ca2() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl index f7dc596..976436f 100644 --- a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ceil_e0b70a() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl index e241b00..3008d31 100644 --- a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl index 3e3cf34..1714351 100644 --- a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl index 2407c92..490e45d 100644 --- a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_177548() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl index c10f489..5c9c048 100644 --- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl index 79cf2f8..7ef9629 100644 --- a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl index 61c510c..1a4fced 100644 --- a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_23aa4f() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl index 0b17c72..c258e30 100644 --- a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl index d456def..100a609 100644 --- a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl index cfaf597..d80497a 100644 --- a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl index 600743e..d5620df 100644 --- a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl index 03e41c3..51d19f2 100644 --- a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl index 2f2d285..0faf6a6 100644 --- a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_5cf700() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl index 237aba1..2261de8 100644 --- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl index 7e9022b..8077253 100644 --- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl index d11c7f7..e359a25 100644 --- a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl index 0e39603..6d921f2 100644 --- a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl index c45827e..31d90da 100644 --- a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_87df46() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl index 257a806..48706f9 100644 --- a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_8b1eaa() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl index 01b8938..b4b1f54 100644 --- a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_96e56a() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl index b3bb823..3fca7e5 100644 --- a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_9d731c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl index c6d01e1..539e343 100644 --- a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl index 934af6e..07d7ef7 100644 --- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl index 54ee3d8..79f152b 100644 --- a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl index 14790f3..dec37d1 100644 --- a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl index d1f3afe..3de2905 100644 --- a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void clamp_d396af() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl index e7855f7..8e2462c 100644 --- a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl index fe69ba6..088f82b 100644 --- a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl index 9c44c47..117eed9 100644 --- a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl index 2ff8486..05216bf 100644 --- a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl index a42bf44..8e7f2ad 100644 --- a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_47d768() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl index ddcfcf8..d2cafd2 100644 --- a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl index ba87cf9..a6aa5d6 100644 --- a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_6b1fdf() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl index 5d443c2..2b0a996 100644 --- a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_a297d4() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl index fcd3506..2ad4ff9 100644 --- a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cos_af7447() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl index 6854ee3..7fe0732 100644 --- a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl index 2d54592..96c7102 100644 --- a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl index 1639dba..d025c03 100644 --- a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl index a213d08..7094f41 100644 --- a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl index 3c56c72..37954be 100644 --- a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl index 26b479b..b4633b9 100644 --- a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl index ffc07e7..2e04b50 100644 --- a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_432645() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl index 6b0a072..65e08e7 100644 --- a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl index 5a8d0b2..eb173fa 100644 --- a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl index 50b9321..bbcdab0 100644 --- a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl index 6942ec7..03bc646 100644 --- a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_c892bb() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl index 9345395..fc54f2e 100644 --- a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_d8dee7() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl index 7c6487d..f12fdf5 100644 --- a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl index 1c78dc1..472d38e 100644 --- a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl index 834a361..c2847a4 100644 --- a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cosh_f67ff1() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl index bd321bd..915c941 100644 --- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl index a305193..b167163 100644 --- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl index d41c472..33abdc4 100644 --- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl index 29c2cd5..30335a2 100644 --- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl index 597dc4d..b37529b 100644 --- a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl index 0319980..08fa578 100644 --- a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void cross_1d7933() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl index 44416ca..d8a2308 100644 --- a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl index 4b38a57..5c0391f 100644 --- a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_810467() { vec2 res = vec2(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl index 621bdf7..40da781 100644 --- a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_c0880c() { vec3 res = vec3(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl index 82e4e29..47da4ac 100644 --- a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_d43a49() { vec4 res = vec4(57.295780181884765625f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl index fc2ebbb..5feabe9 100644 --- a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void degrees_fafa7e() { float res = 57.295780181884765625f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl index 63a43b6..a9546b5 100644 --- a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_1bf6e7() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl index d0c285c..f0ea20b 100644 --- a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl index b908774..766f84b 100644 --- a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl index 5147b4a..d279816 100644 --- a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl index b2998c2..5f6ca36 100644 --- a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_c8251d() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl index 32f7b21..34e51e6 100644 --- a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void determinant_cefdf3() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl index 6f11426..023c8ed 100644 --- a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl index 94bb8a9..8ce4524 100644 --- a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl index 0bf1772..6b9d904 100644 --- a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl index 222efb2..b8e4baf 100644 --- a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl index 16815c0..2488daf 100644 --- a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_3a175a() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl index a108f4d..6b4e55b 100644 --- a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl index a64d3b0..99faba0 100644 --- a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl index f44d9db..7a2afc6 100644 --- a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_83911f() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl index 8dd3d6d..e5a25ae 100644 --- a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl index a8a31b1..250cdac 100644 --- a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl index 8a78ae5..7039f50 100644 --- a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl index 925d73c..aa42658 100644 --- a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl index 62bb225..1da3518 100644 --- a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_ac5535() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl index a836e40..81da2c7 100644 --- a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl index 68c43dc..96083b2 100644 --- a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void distance_f9c9ee() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl index f1c3cfd..0cd99a0 100644 --- a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_08eb56() { float res = 4.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl index 96bc9bb..ad34ff3 100644 --- a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl index d008c5a..564788d 100644 --- a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_0d2c2e() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl index 6e8ead4..31e97ab 100644 --- a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_14bc63() { int res = 2; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl index 148c019..4fe7cab 100644 --- a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_5a4c8f() { float res = 3.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl index bd4e6eb..8e9b3bb 100644 --- a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl index 0da3cd1..452d4d4 100644 --- a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl index e08f301..18b32f7 100644 --- a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl index 95df9db..8e148f9 100644 --- a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_c11efe() { int res = 3; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl index 38ba108..e6555e2 100644 --- a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl index 4591e7d..d42da82 100644 --- a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl index fa9e75a..899af2b 100644 --- a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void dot_eb9fbf() { int res = 4; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/dpdx/0763f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdx/0763f7.wgsl.expected.ir.glsl index 1bf684f..2cfff573 100644 --- a/test/tint/builtins/gen/var/dpdx/0763f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdx/0763f7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdx/99edb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdx/99edb1.wgsl.expected.ir.glsl index 23cafde..6947487 100644 --- a/test/tint/builtins/gen/var/dpdx/99edb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdx/99edb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdx/c487fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdx/c487fa.wgsl.expected.ir.glsl index 0b071ab..479b9e2 100644 --- a/test/tint/builtins/gen/var/dpdx/c487fa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdx/c487fa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdx/e263de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdx/e263de.wgsl.expected.ir.glsl index 0e4f2a9..579b6ca 100644 --- a/test/tint/builtins/gen/var/dpdx/e263de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdx/e263de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl index 5020aa7..40035e8 100644 --- a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl index d8e5986..5104819 100644 --- a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl index cb71d73..8a0d803 100644 --- a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl index 9b65c12..952639b 100644 --- a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl index de25343..08c77ed 100644 --- a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl index c7a23ba..2e13fae 100644 --- a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl index ba6e78b..a4d03fc 100644 --- a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl index 7f0b19f..bb17a56 100644 --- a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdy/699a05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdy/699a05.wgsl.expected.ir.glsl index 7b9e363..1df1d7d 100644 --- a/test/tint/builtins/gen/var/dpdy/699a05.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdy/699a05.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdy/7f8d84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdy/7f8d84.wgsl.expected.ir.glsl index b7dd552..c36c494 100644 --- a/test/tint/builtins/gen/var/dpdy/7f8d84.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdy/7f8d84.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdy/a8b56e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdy/a8b56e.wgsl.expected.ir.glsl index 71f3368..b02fc16 100644 --- a/test/tint/builtins/gen/var/dpdy/a8b56e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdy/a8b56e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdy/feb40f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdy/feb40f.wgsl.expected.ir.glsl index 99a7f82..1186ff6 100644 --- a/test/tint/builtins/gen/var/dpdy/feb40f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdy/feb40f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl index bcd867b..8212542 100644 --- a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl index 5b9452f..1070698 100644 --- a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl index 9734a2b..c31f353 100644 --- a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl index d612720..23fd533 100644 --- a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl index 0e55929..3d0e294 100644 --- a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl index 04bc81b..483e060 100644 --- a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl index 7b1e269..8cb912d 100644 --- a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl index ef9172b..fb7bec1 100644 --- a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl index 2984062..c04ae5a 100644 --- a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl index a4a1369..a5fc296 100644 --- a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl index d2ab92a..d30db52 100644 --- a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl index fda09b8..479c13f 100644 --- a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl index 899a782..6fad8b9 100644 --- a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_49e4c5() { float res = 2.71828174591064453125f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl index 1e56cb8..da9eee1 100644 --- a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl index 1e3ec9f..0e80364 100644 --- a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_699629() { vec2 res = vec2(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl index de1b355..4e7d50c 100644 --- a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl index 907fa03..5812e87 100644 --- a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_bda5bb() { vec3 res = vec3(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl index 1ae22e3..7ebbe1e 100644 --- a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl index f5f551b..24925c4 100644 --- a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl index 73d7d5e..e981480 100644 --- a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp_dad791() { vec4 res = vec4(2.71828174591064453125f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl index 8b06513..95a9c1b 100644 --- a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl index 9657de4..5667e3f 100644 --- a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_18aa76() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl index 83bdf90..c1be728 100644 --- a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl index afa55ca..6065883 100644 --- a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_303753() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl index cbcd485..4f72569 100644 --- a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl index dceb6d9..1d13dc3 100644 --- a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_8bd72d() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl index e2273db..7faf0a1 100644 --- a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl index 27a179d..2d16b00 100644 --- a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl index 3d9a013..bfd5a21 100644 --- a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl index d73e3b0..9974c37 100644 --- a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl index ca387e9..655a57a 100644 --- a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void exp2_f4f0f1() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl index 4d9842b..b6b07a9 100644 --- a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl index 6a87694..5d89f95 100644 --- a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_2c4d14() { vec4 res = vec4(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl index 4ed3a88..74072e1 100644 --- a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl index 892e73e..398ede7 100644 --- a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl index 579e26c..ef07f28 100644 --- a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl index 45192cb..e8523de 100644 --- a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_b42ef3() { vec2 res = vec2(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl index 682229c..fa85eee 100644 --- a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl index fdc6cb2..eedcd89 100644 --- a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl index ecb93f8..a546531 100644 --- a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl index b1aeb5d..33feea4 100644 --- a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void faceForward_fe522b() { vec3 res = vec3(-1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl index 6d8ad58..d6020ce 100644 --- a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_218952() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl index df0e3af..8ab9249 100644 --- a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl index f810b03..c209b91 100644 --- a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl index c0792ce..4ecc446 100644 --- a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl index 7d95287..e335db2 100644 --- a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl index 6e0bd52..0772b6b 100644 --- a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl index d7a6a3c..be96ebd 100644 --- a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl index d8f482e..04d9743 100644 --- a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_953774() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl index 1727544..2e8f303 100644 --- a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl index a01f308..aa97d08 100644 --- a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl index f802c7d..7967379 100644 --- a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_dcd5a2() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl index dfc52a1..ae0705a 100644 --- a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void floor_e585ef() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl index 791206b..3831794 100644 --- a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_143d5d() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl index dc7623c..b9b9acc 100644 --- a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_1f5084() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl index 51a6c6b..928e839 100644 --- a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_466442() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl index 26e5131..1c179e9 100644 --- a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fma_eb25d7() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl index 994a73a..61d5019 100644 --- a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl index d9378da..17b2832 100644 --- a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_2eddfe() { float res = 0.25f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl index c4ea1d1..9c45d91 100644 --- a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl index ba2c36f..92d8adf 100644 --- a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_7e3f2d() { vec4 res = vec4(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl index 60ea035..8e1bbea 100644 --- a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl index 43234b2..bb1f694 100644 --- a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl index b460fed..cd42767 100644 --- a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl index e6d1068..35d2a43 100644 --- a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl index 64a1377..353b052 100644 --- a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl index 4cb44f2..1308a24 100644 --- a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_ed00ca() { vec2 res = vec2(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl index e80afd5..b9b28f1 100644 --- a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void fract_ed2f79() { vec3 res = vec3(0.25f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl index 7a749e7..1277dc0 100644 --- a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl index 8b09428..ee00b55 100644 --- a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; }; void frexp_34bbfb() { @@ -20,32 +14,28 @@ void main() { frexp_34bbfb(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_34bbfb(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec4_f32 { vec4 fract; ivec4 exp; }; -precision highp float; -precision highp int; +void frexp_34bbfb() { + frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_34bbfb(); +} +#version 310 es + + +struct frexp_result_vec4_f32 { + vec4 fract; + ivec4 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_34bbfb() { frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); } -void main() { - frexp_34bbfb(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_34bbfb(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec4_f32 { - vec4 fract; - ivec4 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_34bbfb() { - frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1)); -} void main() { - frexp_34bbfb(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_34bbfb(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_34bbfb(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl index 7a3237a..7834b99 100644 --- a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; }; void frexp_6fb3ad() { @@ -20,32 +14,28 @@ void main() { frexp_6fb3ad(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_6fb3ad(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec2_f32 { vec2 fract; ivec2 exp; }; -precision highp float; -precision highp int; +void frexp_6fb3ad() { + frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_6fb3ad(); +} +#version 310 es + + +struct frexp_result_vec2_f32 { + vec2 fract; + ivec2 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_6fb3ad() { frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); } -void main() { - frexp_6fb3ad(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_6fb3ad(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec2_f32 { - vec2 fract; - ivec2 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_6fb3ad() { - frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1)); -} void main() { - frexp_6fb3ad(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_6fb3ad(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_6fb3ad(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl index d919496..71d5020 100644 --- a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_f32 { + float fract; + int exp; }; void frexp_bee870() { @@ -20,32 +14,28 @@ void main() { frexp_bee870(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bee870(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_f32 { float fract; int exp; }; -precision highp float; -precision highp int; +void frexp_bee870() { + frexp_result_f32 res = frexp_result_f32(0.5f, 1); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_bee870(); +} +#version 310 es + + +struct frexp_result_f32 { + float fract; + int exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_bee870() { frexp_result_f32 res = frexp_result_f32(0.5f, 1); } -void main() { - frexp_bee870(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_bee870(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_f32 { - float fract; - int exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_bee870() { - frexp_result_f32 res = frexp_result_f32(0.5f, 1); -} void main() { - frexp_bee870(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bee870(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bee870(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl index 8b865a6..f85ec2d 100644 --- a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; }; void frexp_bf45ae() { @@ -20,32 +14,28 @@ void main() { frexp_bf45ae(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bf45ae(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct frexp_result_vec3_f32 { vec3 fract; ivec3 exp; }; -precision highp float; -precision highp int; +void frexp_bf45ae() { + frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + frexp_bf45ae(); +} +#version 310 es + + +struct frexp_result_vec3_f32 { + vec3 fract; + ivec3 exp; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void frexp_bf45ae() { frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); } -void main() { - frexp_bf45ae(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); frexp_bf45ae(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct frexp_result_vec3_f32 { - vec3 fract; - ivec3 exp; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void frexp_bf45ae() { - frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1)); -} void main() { - frexp_bf45ae(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - frexp_bf45ae(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - frexp_bf45ae(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fwidth/5d1b39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidth/5d1b39.wgsl.expected.ir.glsl index c8d7433..9c583aa 100644 --- a/test/tint/builtins/gen/var/fwidth/5d1b39.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidth/5d1b39.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.ir.glsl index 26d027f..4adf6a0 100644 --- a/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidth/d2ab9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidth/d2ab9a.wgsl.expected.ir.glsl index 56a9309..cd38f89 100644 --- a/test/tint/builtins/gen/var/fwidth/d2ab9a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidth/d2ab9a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidth/df38ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidth/df38ef.wgsl.expected.ir.glsl index 813cd77..bbd6985 100644 --- a/test/tint/builtins/gen/var/fwidth/df38ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidth/df38ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthCoarse/159c8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthCoarse/159c8a.wgsl.expected.ir.glsl index 2c7ed9d..76c14ae 100644 --- a/test/tint/builtins/gen/var/fwidthCoarse/159c8a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthCoarse/159c8a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl index ad85900..dea17a5 100644 --- a/test/tint/builtins/gen/var/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthCoarse/1e59d9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl index a66fbdd..328c053 100644 --- a/test/tint/builtins/gen/var/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthCoarse/4e4fc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthCoarse/e653f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthCoarse/e653f7.wgsl.expected.ir.glsl index b00a399..d72bd16fe 100644 --- a/test/tint/builtins/gen/var/fwidthCoarse/e653f7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthCoarse/e653f7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthFine/523fdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthFine/523fdc.wgsl.expected.ir.glsl index 25daec4..bc9ab2fc 100644 --- a/test/tint/builtins/gen/var/fwidthFine/523fdc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthFine/523fdc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthFine/68f4ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthFine/68f4ef.wgsl.expected.ir.glsl index 2dcd088..4497db7 100644 --- a/test/tint/builtins/gen/var/fwidthFine/68f4ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthFine/68f4ef.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthFine/f1742d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthFine/f1742d.wgsl.expected.ir.glsl index 889bde6..fe3682c 100644 --- a/test/tint/builtins/gen/var/fwidthFine/f1742d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthFine/f1742d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol;
diff --git a/test/tint/builtins/gen/var/fwidthFine/ff6aa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fwidthFine/ff6aa0.wgsl.expected.ir.glsl index 5ca8714..3b7b34c 100644 --- a/test/tint/builtins/gen/var/fwidthFine/ff6aa0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/fwidthFine/ff6aa0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl index 68e0023..905b0e0 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_07a6fe() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl index 68ea3ec..315426b 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl index a732eff..b29bbbf 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_4ca6d6() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl index bc63fbb..ddb5523 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl index 4929f9a..71e5ce0 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_6d0783() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl index c4f69af..fc39e2b 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl index 6b7a47e..49df6df 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl index 4aa8710..ab8f836 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl index 2009515..3581db5 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl index 217ccb06..bd49d07 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl index 621399a..fe5ea77 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl index 403427b..31a10db 100644 --- a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void inverseSqrt_f60c1c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl index 062d0e8..c3eb5bd 100644 --- a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl index adf3c2a..fd4302b 100644 --- a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl index b8a5fe3..6e6331b 100644 --- a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_2bfc68() { ivec2 arg_1 = ivec2(1); vec2 res = ldexp(vec2(1.0f), arg_1); @@ -22,6 +21,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl index 5887714..a9cb9c1 100644 --- a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_2c6370() { vec2 res = vec2(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl index 0c6e797..04c62ec 100644 --- a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_376938() { ivec4 arg_1 = ivec4(1); vec4 res = ldexp(vec4(1.0f), arg_1); @@ -22,6 +21,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl index b65d980..8458977 100644 --- a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl index e7b55f6..7ad2723 100644 --- a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_4a3ad9() { vec3 res = vec3(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl index 69a08f1..f6c2d3d 100644 --- a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl index a9d0c52..b1f9bb7 100644 --- a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl index 893fc05..e298286 100644 --- a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl index e745751..9d1dfcd 100644 --- a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_71ebe3() { int arg_1 = 1; float res = ldexp(1.0f, arg_1); @@ -22,6 +21,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl index 481bb88..4756bc3 100644 --- a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl index 097e1ea..dade7a2 100644 --- a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl index 840793c..eb48b24 100644 --- a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl index f7dc3e0..79ef68e 100644 --- a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl index 4221a3e..69887cd 100644 --- a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl index 4556842..a475918 100644 --- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl index 9d9423f..de6de99 100644 --- a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_a6126e() { ivec3 arg_1 = ivec3(1); vec3 res = ldexp(vec3(1.0f), arg_1); @@ -22,6 +21,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl index 3f3ac23..03501f8 100644 --- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl index de3f789..4b6b135 100644 --- a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl index b922890..af4fc55 100644 --- a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_cb0faf() { vec4 res = vec4(2.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl index c994444..c84323f 100644 --- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl index ee2199b..4b81487 100644 --- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl index 8de5e88..210faec 100644 --- a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void ldexp_fdbc7b() { float res = 2.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl index 6826993..dcef022 100644 --- a/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl index 0ddd9dc..96a3e03 100644 --- a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl index b0a96b0..08d17eb 100644 --- a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_555aba() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl index 1df4f9c..472e220 100644 --- a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl index 2041039..39cb8da 100644 --- a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl index 43a68e9..7482b7f 100644 --- a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_7b4741() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl index 80e926f..69299a7 100644 --- a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_936ad5() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl index 6c4eb13..13c7708 100644 --- a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl index cd676ab..266214d 100644 --- a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl index 45bbec2..eadd8f4 100644 --- a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl index e391a4f..d0415b5 100644 --- a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl index fcd6433..2b42e36 100644 --- a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void length_c2c544() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl index 4c9e4b6..3357030 100644 --- a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl index 559ec95..b2f1638 100644 --- a/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_655989() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl index b8ad471..c96c5db 100644 --- a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_697e1d() { vec4 res = vec4(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl index afbfa04..2e1bc6f 100644 --- a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl index 318130d..0418224 100644 --- a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl index cdb4d0f..126b951 100644 --- a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl index 2508099..9988b6f 100644 --- a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl index d577c2c..827c094 100644 --- a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_b8088d() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl index d3d3028..5aae24f 100644 --- a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl index 2078b72..5dbf27f 100644 --- a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl index 3e1d082..7745306 100644 --- a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl index 1cd5963..c2212fa 100644 --- a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log_f60cc7() { vec2 res = vec2(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl index cefd5f8..c8060a2 100644 --- a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_0fbd39() { vec3 res = vec3(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl index 8db4f11..5822261 100644 --- a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl index 1138274..837e418 100644 --- a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl index 0bf201a..9e452912 100644 --- a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_5b464b() { float res = 0.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl index cec9e76..b710fca 100644 --- a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_6b8954() { vec2 res = vec2(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl index 4a0ecdd..498ddcb 100644 --- a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl index 240df3c..04f7b93 100644 --- a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl index a21a21f..ac4b89f 100644 --- a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl index c53ffb1..d8c83b4 100644 --- a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void log2_a52bbb() { vec4 res = vec4(0.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl index 2db347e..2f18c72 100644 --- a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl index 50889c5..3d1d400 100644 --- a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl index 453477c..377e6df 100644 --- a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl index baa855d..5bd602e 100644 --- a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_067f3a() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl index 8d026ab..5fed5d0 100644 --- a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl index df4abbf..54ef337 100644 --- a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl index 0069639..14c50b2 100644 --- a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_19070a() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl index 6ce9e83..334b7fa 100644 --- a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl index ddf45e5..bc30996 100644 --- a/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl index fce5331..b70d7d3 100644 --- a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl index ed3e537..64180ae 100644 --- a/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl index 6c885f6..70cee88 100644 --- a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl index de4bca2..4340f90 100644 --- a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl index 3185e7c..09f327d 100644 --- a/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl index c769d41..3831036 100644 --- a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_482d23() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl index 5094a2e..2a0524f 100644 --- a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl index 9b16985..8734ff2 100644 --- a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_4bbff2() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl index 4aefeed..82c6fa9 100644 --- a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl index 77cd8c5..7615289 100644 --- a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_a1b196() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl index a016d55..25a5d83 100644 --- a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl index 3d64f13..d81e453 100644 --- a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl index ab457f7..17df029 100644 --- a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_c023dd() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl index 6c04daf..b3db83b 100644 --- a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_caa3d7() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl index 7df16c1..fcca4ff 100644 --- a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl index 8b76aab..c46849f 100644 --- a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void max_de6b87() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl index 803b6ff..e53412d 100644 --- a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl index 5e07ef55..05d8cee 100644 --- a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl index daa17ba..8c9bd28 100644 --- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl index 1b6ab5c..0d72296 100644 --- a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl index 4ebe553..ed92de8 100644 --- a/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_364910() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl index 224b162..6c0e295 100644 --- a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_371bd6() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl index 02c343e..d59be98 100644 --- a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl index 0c85967..16ad31c 100644 --- a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl index 9ba597d..b085bcc 100644 --- a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_527b79() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl index c2eda73..4a9ec0f 100644 --- a/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_717257() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl index 693ed61..53f4356 100644 --- a/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_794711() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl index 3894d58..5f5060e 100644 --- a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl index beaee87..736abc3 100644 --- a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl index 07110d8..843d0b5 100644 --- a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_84c9fe() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl index 948953b..fdec9d6 100644 --- a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl index 1315ab7..accd496 100644 --- a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_98e797() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl index 5b221d2..1744c8f 100644 --- a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl index b28a2df..cf7229b 100644 --- a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl index d44f61f..fa79002 100644 --- a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl index e6e583f..eecfb18 100644 --- a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl index 886f7c9..18f4b8f 100644 --- a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl index 6741953..10ba99e 100644 --- a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void min_af364e() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl index ceaa764..80f7255 100644 --- a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl index dbfc3c6..f5f6748 100644 --- a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl index 7cb555f..1cf51f0 100644 --- a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl index 2f9b863..f222a95 100644 --- a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl index b2b8720..35178c8 100644 --- a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl index f422c32..fc2b7a4 100644 --- a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl index 3dbab02..9b20656 100644 --- a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_275cac() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl index 2801832..96e53a0 100644 --- a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl index 7dac4f6..f3d1742 100644 --- a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_30de36() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl index c825d26..cabb63e 100644 --- a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl index 48e6b52..b4a3773 100644 --- a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_343c49() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl index 6cb71d7..8b38977 100644 --- a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl index 9271c0a..0d20792 100644 --- a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_42d11d() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl index 048753b..4b7fa3d 100644 --- a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl index 2f907f4..e222f37 100644 --- a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl index 05cdf81..ec89e88 100644 --- a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl index b1788ae..902c7e1 100644 --- a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_98007a() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl index c62d747..07f7ea1 100644 --- a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl index d9da496..8b303a7 100644 --- a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_9c2681() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl index d3912a5..daa1d83 100644 --- a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl index bcf0f30..99aac59 100644 --- a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl index f4846c5..9cb2ae4 100644 --- a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl index 90df50d..83d2090 100644 --- a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl index efdf84d..3b04c63 100644 --- a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void mix_ef3575() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl index 2e2b62e..1100ba1 100644 --- a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl index 9be67e6..c8a3e8c 100644 --- a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; }; void modf_68d8ee() { @@ -20,32 +14,28 @@ void main() { modf_68d8ee(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_68d8ee(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec3_f32 { vec3 fract; vec3 whole; }; -precision highp float; -precision highp int; +void modf_68d8ee() { + modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_68d8ee(); +} +#version 310 es + + +struct modf_result_vec3_f32 { + vec3 fract; + vec3 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_68d8ee() { modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); } -void main() { - modf_68d8ee(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_68d8ee(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec3_f32 { - vec3 fract; - vec3 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_68d8ee() { - modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f)); -} void main() { - modf_68d8ee(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_68d8ee(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_68d8ee(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl index f928d88..0f37c47 100644 --- a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; }; void modf_732aa6() { @@ -20,32 +14,28 @@ void main() { modf_732aa6(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_732aa6(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec2_f32 { vec2 fract; vec2 whole; }; -precision highp float; -precision highp int; +void modf_732aa6() { + modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_732aa6(); +} +#version 310 es + + +struct modf_result_vec2_f32 { + vec2 fract; + vec2 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_732aa6() { modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); } -void main() { - modf_732aa6(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_732aa6(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec2_f32 { - vec2 fract; - vec2 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_732aa6() { - modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f)); -} void main() { - modf_732aa6(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_732aa6(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_732aa6(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl index 7b43b0c..a2ef977 100644 --- a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_f32 { + float fract; + float whole; }; void modf_c15f48() { @@ -20,32 +14,28 @@ void main() { modf_c15f48(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_c15f48(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_f32 { float fract; float whole; }; -precision highp float; -precision highp int; +void modf_c15f48() { + modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_c15f48(); +} +#version 310 es + + +struct modf_result_f32 { + float fract; + float whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_c15f48() { modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); } -void main() { - modf_c15f48(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_c15f48(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_f32 { - float fract; - float whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_c15f48() { - modf_result_f32 res = modf_result_f32(-0.5f, -1.0f); -} void main() { - modf_c15f48(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_c15f48(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_c15f48(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl index e70681c..7e02d38 100644 --- a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl
@@ -1,17 +1,11 @@ -SKIP: FAILED - #version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; precision highp float; precision highp int; -struct VertexOutput { - vec4 pos; +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; }; void modf_f3d1f9() { @@ -20,32 +14,28 @@ void main() { modf_f3d1f9(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_f3d1f9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct modf_result_vec4_f32 { vec4 fract; vec4 whole; }; -precision highp float; -precision highp int; +void modf_f3d1f9() { + modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); +} +layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; +void main() { + modf_f3d1f9(); +} +#version 310 es + + +struct modf_result_vec4_f32 { + vec4 fract; + vec4 whole; +}; struct VertexOutput { vec4 pos; @@ -54,62 +44,15 @@ void modf_f3d1f9() { modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); } -void main() { - modf_f3d1f9(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); tint_symbol.pos = vec4(0.0f); modf_f3d1f9(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:22: 'main' : function already has a body -ERROR: 0:22: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - -struct modf_result_vec4_f32 { - vec4 fract; - vec4 whole; -}; -precision highp float; -precision highp int; - - -struct VertexOutput { - vec4 pos; -}; - -void modf_f3d1f9() { - modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f)); -} void main() { - modf_f3d1f9(); + gl_Position = vertex_main_inner().pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - modf_f3d1f9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f)); - tint_symbol.pos = vec4(0.0f); - modf_f3d1f9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:21: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl index 65c1989..abec642 100644 --- a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl index 48bdfa7..6dfae0b 100644 --- a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_4eaf61() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl index a1b69d6..699f9cb 100644 --- a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_584e47() { vec2 res = vec2(0.70710676908493041992f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl index 9a664f4..24add6a 100644 --- a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl index 4cdcb2f..97218d5f 100644 --- a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl index a54b072..57b2c4e 100644 --- a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl index 4907b81..61e64a9 100644 --- a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl index dd40dc6..9ccc2ee 100644 --- a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void normalize_e7def8() { vec3 res = vec3(0.57735025882720947266f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl index ddc5507..7b4a536 100644 --- a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl index e722739..49f3de3 100644 --- a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl index 222ca0d..08aaea2 100644 --- a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl index 32f20b0..e190d1e 100644 --- a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl index b6d7fde..2ae674a 100644 --- a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl index 0e96c2d..1e751ca 100644 --- a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl index 77fa9d1..fee71fe 100644 --- a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl index 0020779..6266062 100644 --- a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl index b9e551d..aea811e 100644 --- a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl index 84a6d6a..2fae5d4 100644 --- a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl index f6d27e3..35e1f83 100644 --- a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_749c42() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl index 9925ae0..00f71d8 100644 --- a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_a8f6b2() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl index be50c67..dbad922 100644 --- a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_bc91ed() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl index 8afa49c..444d4bf 100644 --- a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl index f42f266..4d79e16 100644 --- a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void pow_e42f20() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl index 0bd0524..8e0986d 100644 --- a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl index d519cb1..c93f384 100644 --- a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl index a25c22d..806a522 100644 --- a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl index 4b8ff37..370e515 100644 --- a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_379214() { vec3 res = vec3(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl index 538e53b..d3ef6a3 100644 --- a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_44a9f8() { vec2 res = vec2(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl index ded3a9f..0e7385c 100644 --- a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_524a91() { vec4 res = vec4(0.01745329238474369049f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl index 53b2a1d..1114380 100644 --- a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void radians_bff231() { float res = 0.01745329238474369049f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl index 83cc784..da32952 100644 --- a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl index 1a534e6..48048bb 100644 --- a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl index 14181f6..0093fea 100644 --- a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl index bf24603..1a68f64 100644 --- a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_a8baf2() { vec3 res = vec3(-5.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl index 1f41dba..13a2190 100644 --- a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl index c5025c2..7e37a53 100644 --- a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl index d28b1a7..00f2b28 100644 --- a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_bba2d0() { vec2 res = vec2(-3.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl index 252e52f..5b45f1e 100644 --- a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void reflect_d7e210() { vec4 res = vec4(-7.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl index b30d292..107b6bb 100644 --- a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl index 974473a..cc598f6 100644 --- a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl index 58acb18..06b4e3c 100644 --- a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl index fd915c4..7f1895f 100644 --- a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl index 0065199..3969384 100644 --- a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl index cd5d173..85a61a6 100644 --- a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_8c192a() { vec4 res = vec4(-7.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl index 0e0025e..35f5ada 100644 --- a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl index 2554c5b..8409d6d 100644 --- a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl index 7c09c6c..8f223de 100644 --- a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_cf1629() { vec2 res = vec2(-3.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl index d96b8c9..3ae7b35 100644 --- a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void refract_d7569b() { vec3 res = vec3(-5.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl index a179564..d4efc4d 100644 --- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl index 836e79c..1c9d88c 100644 --- a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl index cddcfea..8d5f8bd 100644 --- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl index a1b354f..6df5b37 100644 --- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl index 3264ef6..f087b7d 100644 --- a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl index 5865b8f..02073e5 100644 --- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl index de34061..2dac2ef 100644 --- a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl index 1b55890..c9df449 100644 --- a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uint tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uint prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl index 633fab1..064ccd9 100644 --- a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl index df7edc4..21b66d9 100644 --- a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_184d5a() { vec4 res = vec4(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl index 28e5cb8..ed90fc3 100644 --- a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl index 4284286..4f66197 100644 --- a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl index 5ca3936..29abab1 100644 --- a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_773a8f() { float res = 4.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl index bf91065..28f2208 100644 --- a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_8fdca3() { vec2 res = vec2(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl index 47be59f..813ac25 100644 --- a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl index 51a9572..d410c0c 100644 --- a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl index 2f1623e..347b19f 100644 --- a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void round_a1673d() { vec3 res = vec3(4.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl index b5d2fd5..91930ce 100644 --- a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl index 1d957b5..14b527c 100644 --- a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl index 819b3d2..2779fd0 100644 --- a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl index a51b7b2..d1b44cb 100644 --- a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl index c35dfa4..830b42b 100644 --- a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl index 4a4d116..f90bd8f 100644 --- a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_4ed8d7() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl index 466e5df..099e8f8 100644 --- a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl index dbe514f..3d305d4 100644 --- a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl index a0e1389..4529f8d 100644 --- a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_78b37c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl index bf06874..3f0a0c7 100644 --- a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl index 1370eb0..2dd6ad216 100644 --- a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl index 6de7e06..7cf803d 100644 --- a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_d55822() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl index 4dfcf72..3f05b6d 100644 --- a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl index 5c65e39..af47889 100644 --- a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void saturate_e40fb6() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl index e97e8d2..e164a3f 100644 --- a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl index 1a6ae36..3b564fa 100644 --- a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_0799fd() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl index 509e8d4..9a854d4 100644 --- a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl index 75781bb..ae507a3 100644 --- a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl index 4c10f7e..b472763 100644 --- a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { int tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl index e0f3dd6..09a34c7 100644 --- a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_3a39ac() { int res = 1; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl index 9b04c3a..1be75f5 100644 --- a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_3bdab6() { ivec4 res = ivec4(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl index 257bb29..b1a8b34 100644 --- a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_55339e() { ivec3 res = ivec3(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl index d85ee6c..c0b73b8 100644 --- a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl index 3d91fb9..ce66437 100644 --- a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl index 5f6d000..6c301da 100644 --- a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl index 88ccceb..cbcfa23 100644 --- a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl index 6d08025..c37d382 100644 --- a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_943b2e() { ivec2 res = ivec2(1); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl index 32e62db..f0f085f 100644 --- a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { ivec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; ivec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl index bbf2d22..ce83add 100644 --- a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_ab6301() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl index fd6f559..faf3956 100644 --- a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl index fe802f1..252db53 100644 --- a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_c8289c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl index e67eac8..3a0a21c 100644 --- a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl index 757eaa6..c8b7c57 100644 --- a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl index e8d053e..7282dba 100644 --- a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl index 0a1f23c..8fc8508 100644 --- a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sign_f5da6a() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl index 88ccb35..2245830 100644 --- a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl index 5cc6310..7acd282 100644 --- a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_15b2c6() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl index 44f37df..95ecc46 100644 --- a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl index f4821ee..7e2cf94 100644 --- a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl index 0aad1ef..05d1d6b 100644 --- a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl index c6cf7c7..f3a17e6 100644 --- a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl index a87bb46..1812a76 100644 --- a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl index 01145e6..19b7625 100644 --- a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_67b03c() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl index 6fbe2cb..9819291 100644 --- a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_68d3ab() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl index 17ef61c..2ebf3cf 100644 --- a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sin_a9ab19() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl index a42a622..aa904d5 100644 --- a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl index 1689f27..9122786 100644 --- a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl index 7b71ae0..2f6b2fa 100644 --- a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl index 0460718..8830ae0 100644 --- a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl index 3fd1c1b..42d7ad5 100644 --- a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl index c14c188..cb040db 100644 --- a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_77a2a3() { vec3 res = vec3(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl index e58184f..bac9e2a 100644 --- a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl index a1f16a4..e608459 100644 --- a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl index 077dcde..63e009b 100644 --- a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_9c1092() { vec2 res = vec2(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl index 1733332..3f3332d 100644 --- a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_a3da7c() { vec4 res = vec4(1.17520117759704589844f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl index a526f96..29e9ecf 100644 --- a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl index fd6d716..56a6006 100644 --- a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl index 1c21cac..3b08208 100644 --- a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sinh_c4df74() { float res = 1.17520117759704589844f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl index 0aa008c..2f6346a 100644 --- a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl index e2c9caf..f568246 100644 --- a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_0c481b() { vec2 res = vec2(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl index a3ea126..eceec76 100644 --- a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_0c4ffc() { vec4 res = vec4(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl index 672a2c8..eec2f09 100644 --- a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl index 6e20eac..5afba06 100644 --- a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl index 1c4f8d6..89aacc2 100644 --- a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl index ebe2299..9fbaaa9 100644 --- a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl index 99a19ed..a486204 100644 --- a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_66e4bd() { vec3 res = vec3(0.5f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl index fc39983..abe6328 100644 --- a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl index 276b010..4e0086b 100644 --- a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl index e19491d..8166acf 100644 --- a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void smoothstep_a80fff() { float res = 0.5f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl index 4f028f9..0ac8d8f 100644 --- a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -36,6 +35,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl index 7ef249f..4184a5c 100644 --- a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -39,6 +38,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl index 0b0fcb0..9b23a3d 100644 --- a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_072192() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl index fa717e0..a59676d 100644 --- a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl index 48c80ba..e7d2cc9 100644 --- a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_4ac2c5() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl index 2b446c1..f420ed1 100644 --- a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl index 1432394..8dedc6b 100644 --- a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl index 104575a..5d7072b 100644 --- a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl index 3220a3c..6f0922c 100644 --- a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_8da177() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl index 72889da..19c8706 100644 --- a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void sqrt_9c5cbe() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl index 94653e0..db0e576 100644 --- a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl index 2d93991..6033c15 100644 --- a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl index 4e33cf8..2f8fd04 100644 --- a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl index 9eb4d57..5bdc374 100644 --- a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl index 336a766..cb40848 100644 --- a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl index 4cab40e..8255918 100644 --- a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl index b1781c4..5a2d11c 100644 --- a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl index 1b45896..9f3ebc4 100644 --- a/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl index 6cc8062..509f24c 100644 --- a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_38cd79() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl index ae67f8f..70a12a0 100644 --- a/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_415879() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl index c047923..dc934b4 100644 --- a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl index b87d3e2..f70fa5d 100644 --- a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_7c7e5c() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl index 7092596..c087781 100644 --- a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl index ea1855c..0387846 100644 --- a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -37,6 +36,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl index e079dfb..3c2374d 100644 --- a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -34,6 +33,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl index c19ef16..848bb80 100644 --- a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void step_f9b70c() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl index 0626ce4..06c26c9 100644 --- a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl index d5c3b43..6b72c04 100644 --- a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl index 600b075..cf48e59 100644 --- a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_311400() { float res = 1.55740773677825927734f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl index 744ef16..c6a07f3 100644 --- a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl index 67635ef..2c54dbb 100644 --- a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_7be368() { vec2 res = vec2(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl index 90f68e5..dd7e9fc 100644 --- a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl index 4988143..09c31c9 100644 --- a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl index 609345c..d49f031 100644 --- a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl index fca70d2..7b7d908 100644 --- a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_a0966f() { vec4 res = vec4(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl index 3c5af49..c676090 100644 --- a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tan_ae26ae() { vec3 res = vec3(1.55740773677825927734f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl index 8b0e166..31da176 100644 --- a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl index dad4a59..d796e77 100644 --- a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl index a700061..7d8dc1c 100644 --- a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl index 6cb14cf..42a19fe 100644 --- a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_313aa1() { float res = 0.76159417629241943359f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl index ff864aa..9cbec2b 100644 --- a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl index b634376..c9efa3c 100644 --- a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl index f2eb1c8..2b1039b 100644 --- a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl index 6f08f81..b87e2ab 100644 --- a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_6289fd() { vec3 res = vec3(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl index 245db08..747f91f 100644 --- a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl index ac5436b..5ab98a7 100644 --- a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl index 99832a9..1edb0db 100644 --- a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_ac5d33() { vec4 res = vec4(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl index df005f2..26e27f2 100644 --- a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl index 0d5f3aa..370d9db 100644 --- a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void tanh_c48aa6() { vec2 res = vec2(0.76159417629241943359f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl index dd06ebe..852e2b9 100644 --- a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl index 6df2b75..a563efc 100644 --- a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct tint_GammaTransferParams { float G; @@ -13,6 +14,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -29,45 +53,32 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - -struct VertexOutput { - vec4 pos; - uvec2 prevent_dce; -}; - -uvec2 prevent_dce; +layout(binding = 0, std430) +buffer tint_symbol_1_1_ssbo { + uvec2 tint_symbol; +} v; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; +layout(binding = 2, std140) +uniform tint_symbol_3_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_2; +} v_1; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_2 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_3 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_2, v_3, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); +} uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); + uvec2 res = (tint_convert_tint_ExternalTextureParams(v_1.tint_symbol_2).visibleSize + uvec2(1u)); return res; } void main() { - prevent_dce = textureDimensions_cdc6c9(); + v.tint_symbol = textureDimensions_cdc6c9(); } -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); - tint_symbol.pos = vec4(0.0f); - tint_symbol.prevent_dce = textureDimensions_cdc6c9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct tint_GammaTransferParams { float G; float A; @@ -79,6 +90,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -95,45 +129,33 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - -struct VertexOutput { - vec4 pos; - uvec2 prevent_dce; -}; - -uvec2 prevent_dce; +layout(binding = 0, std430) +buffer tint_symbol_1_1_ssbo { + uvec2 tint_symbol; +} v; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; -uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); - return res; +layout(binding = 2, std140) +uniform tint_symbol_3_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_2; +} v_1; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_2 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_3 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_2, v_3, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); } -void main() { - prevent_dce = textureDimensions_cdc6c9(); +uvec2 textureDimensions_cdc6c9() { + uvec2 res = (tint_convert_tint_ExternalTextureParams(v_1.tint_symbol_2).visibleSize + uvec2(1u)); + return res; } layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void main() { - prevent_dce = textureDimensions_cdc6c9(); + v.tint_symbol = textureDimensions_cdc6c9(); } -VertexOutput main() { - VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); - tint_symbol.pos = vec4(0.0f); - tint_symbol.prevent_dce = textureDimensions_cdc6c9(); - return tint_symbol; -} -error: Error parsing GLSL shader: -ERROR: 0:51: 'main' : function already has a body -ERROR: 0:51: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es + struct tint_GammaTransferParams { float G; float A; @@ -145,6 +167,29 @@ uint padding; }; +struct tint_ExternalTextureParams_std140 { + uint numPlanes; + uint doYuvToRgbConversionOnly; + mat3x4 yuvToRgbConversionMatrix; + tint_GammaTransferParams gammaDecodeParams; + tint_GammaTransferParams gammaEncodeParams; + vec3 gamutConversionMatrix_col0; + vec3 gamutConversionMatrix_col1; + vec3 gamutConversionMatrix_col2; + vec2 sampleTransform_col0; + vec2 sampleTransform_col1; + vec2 sampleTransform_col2; + vec2 loadTransform_col0; + vec2 loadTransform_col1; + vec2 loadTransform_col2; + vec2 samplePlane0RectMin; + vec2 samplePlane0RectMax; + vec2 samplePlane1RectMin; + vec2 samplePlane1RectMax; + uvec2 visibleSize; + vec2 plane1CoordFactor; +}; + struct tint_ExternalTextureParams { uint numPlanes; uint doYuvToRgbConversionOnly; @@ -161,42 +206,39 @@ uvec2 visibleSize; vec2 plane1CoordFactor; }; -precision highp float; -precision highp int; - struct VertexOutput { vec4 pos; uvec2 prevent_dce; }; -uvec2 prevent_dce; uniform highp sampler2D arg_0_plane0; uniform highp sampler2D arg_0_plane1; -uniform tint_ExternalTextureParams arg_0_params; +layout(binding = 2, std140) +uniform tint_symbol_2_std140_1_ubo { + tint_ExternalTextureParams_std140 tint_symbol_1; +} v; +layout(location = 0) flat out uvec2 vertex_main_loc0_Output; +tint_ExternalTextureParams tint_convert_tint_ExternalTextureParams(tint_ExternalTextureParams_std140 tint_input) { + mat3 v_1 = mat3(tint_input.gamutConversionMatrix_col0, tint_input.gamutConversionMatrix_col1, tint_input.gamutConversionMatrix_col2); + mat3x2 v_2 = mat3x2(tint_input.sampleTransform_col0, tint_input.sampleTransform_col1, tint_input.sampleTransform_col2); + return tint_ExternalTextureParams(tint_input.numPlanes, tint_input.doYuvToRgbConversionOnly, tint_input.yuvToRgbConversionMatrix, tint_input.gammaDecodeParams, tint_input.gammaEncodeParams, v_1, v_2, mat3x2(tint_input.loadTransform_col0, tint_input.loadTransform_col1, tint_input.loadTransform_col2), tint_input.samplePlane0RectMin, tint_input.samplePlane0RectMax, tint_input.samplePlane1RectMin, tint_input.samplePlane1RectMax, tint_input.visibleSize, tint_input.plane1CoordFactor); +} uvec2 textureDimensions_cdc6c9() { - uvec2 res = (arg_0_params.visibleSize + uvec2(1u)); + uvec2 res = (tint_convert_tint_ExternalTextureParams(v.tint_symbol_1).visibleSize + uvec2(1u)); return res; } -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - prevent_dce = textureDimensions_cdc6c9(); -} -VertexOutput main() { +VertexOutput vertex_main_inner() { VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); tint_symbol.pos = vec4(0.0f); tint_symbol.prevent_dce = textureDimensions_cdc6c9(); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:50: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value -ERROR: 0:50: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + VertexOutput v_3 = vertex_main_inner(); + gl_Position = v_3.pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + vertex_main_loc0_Output = v_3.prevent_dce; + gl_PointSize = 1.0f; +}
diff --git a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl index 1606433..24b2784 100644 --- a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_32dd64() { mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl index 9ed21db..c616bf3 100644 --- a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_553e90() { mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl index f58d140..4e2f1ce 100644 --- a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_5c133c() { mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl index bbf467f..869da87 100644 --- a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_66fce8() { mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl index b0ec527..b451c87 100644 --- a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_70ca11() { mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl index d59e245..7b953c7 100644 --- a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_7eb2c5() { mat2 res = mat2(vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl index cf902e5..ece83db 100644 --- a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_84a763() { mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl index a4fd65e..a506360 100644 --- a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_ace596() { mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl index 325104a..bed1482 100644 --- a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void transpose_dc671a() { mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f)); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl index d08d4f4..ea5a6c7 100644 --- a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec3 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl index 0e4d909..b91c091 100644 --- a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_117396() { vec3 res = vec3(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl index 96c7a47..80f5867 100644 --- a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec3 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec3 prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl index 7fbbf86..18b4f4b 100644 --- a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_7d6ded() { float res = 1.0f; } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl index 9597363..5f3f054 100644 --- a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec2 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl index e312044..a1c1115 100644 --- a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_c12555() { vec2 res = vec2(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl index 1863b8a..003f289 100644 --- a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float16_t tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; float16_t prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl index 0f260cb..6acf194 100644 --- a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { f16vec4 tint_symbol; @@ -35,6 +34,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutput { vec4 pos; f16vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl index eddde64..3c61a4e 100644 --- a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl index bb0b09e..340f500 100644 --- a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { float tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; float prevent_dce;
diff --git a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl index 6557248..e1c7c40 100644 --- a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void trunc_f0f1a1() { vec4 res = vec4(1.0f); } @@ -20,6 +19,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; };
diff --git a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl index 161c5ce..155e961 100644 --- a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl index 9ea3b27..478d668 100644 --- a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl index 06bff27..3c229bd 100644 --- a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl index 433f161..2931062 100644 --- a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec2 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec2 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl index b416d01..e25152a 100644 --- a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl index fd1b79f..983f8db 100644 --- a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { vec4 tint_symbol; @@ -32,6 +31,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; vec4 prevent_dce;
diff --git a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl index 0a6d38d..bd0f72a 100644 --- a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl +++ b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_1_1_ssbo { uvec4 tint_symbol; @@ -38,6 +37,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; uvec4 prevent_dce;
diff --git a/test/tint/builtins/modf/scalar/const.wgsl.expected.ir.glsl b/test/tint/builtins/modf/scalar/const.wgsl.expected.ir.glsl index fdb66f3..48b31a9 100644 --- a/test/tint/builtins/modf/scalar/const.wgsl.expected.ir.glsl +++ b/test/tint/builtins/modf/scalar/const.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct modf_result_f32 { float fract; float whole;
diff --git a/test/tint/builtins/modf/vector/const.wgsl.expected.ir.glsl b/test/tint/builtins/modf/vector/const.wgsl.expected.ir.glsl index d415b7f..287bcbb 100644 --- a/test/tint/builtins/modf/vector/const.wgsl.expected.ir.glsl +++ b/test/tint/builtins/modf/vector/const.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct modf_result_vec2_f32 { vec2 fract; vec2 whole;
diff --git a/test/tint/const/global/global.wgsl.expected.ir.glsl b/test/tint/const/global/global.wgsl.expected.ir.glsl index 6b965c0..1d40546 100644 --- a/test/tint/const/global/global.wgsl.expected.ir.glsl +++ b/test/tint/const/global/global.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { int v1 = 1;
diff --git a/test/tint/const/inferred/function.wgsl.expected.ir.glsl b/test/tint/const/inferred/function.wgsl.expected.ir.glsl index 477f56d..dec2b19 100644 --- a/test/tint/const/inferred/function.wgsl.expected.ir.glsl +++ b/test/tint/const/inferred/function.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.0f);
diff --git a/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl index 41c3909..5dccfe8 100644 --- a/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { vec4 v = vec4(0.0f);
diff --git a/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl index 1371be9..504ad58 100644 --- a/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { if ((x > 0.0f)) {
diff --git a/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl index 5c8c74d..4e8cc57 100644 --- a/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { {
diff --git a/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl index d19cd52..5eba4e4 100644 --- a/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { {
diff --git a/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl index f75b1d7..23a19af 100644 --- a/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { {
diff --git a/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl index 62a659b..64c92e8 100644 --- a/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { bool v = false;
diff --git a/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl index 8306527..29bfee5 100644 --- a/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl +++ b/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl
@@ -14,7 +14,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; void tint_symbol_inner(float x) { vec4 v = vec4(0.0f);
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.glsl index d23e9ac..ad33230 100644 --- a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.glsl
@@ -1,5 +1,8 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct S_std140 { f16vec2 matrix_col0; @@ -7,9 +10,6 @@ f16vec2 matrix_col2; f16vec3 vector; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_2_std140_1_ubo {
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl index e1ebe27..497a5ad 100644 --- a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl
@@ -1,25 +1,20 @@ -SKIP: FAILED - #version 310 es - -struct S { - mat3x2 matrix; - vec3 vector; -}; precision highp float; precision highp int; -uniform S data; +struct S_std140 { + vec2 matrix_col0; + vec2 matrix_col1; + vec2 matrix_col2; + vec3 vector; +}; + +layout(binding = 0, std140) +uniform tint_symbol_2_std140_1_ubo { + S_std140 tint_symbol_1; +} v; void main() { - vec2 x = (data.matrix * data.vector); + mat3x2 v_1 = mat3x2(v.tint_symbol_1.matrix_col0, v.tint_symbol_1.matrix_col1, v.tint_symbol_1.matrix_col2); + vec2 x = (v_1 * v.tint_symbol_1.vector); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.ir.glsl index 0aac941..e22eb7e 100644 --- a/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.ir.glsl
@@ -1,5 +1,8 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct S_std140 { f16vec3 matrix_col0; @@ -7,9 +10,6 @@ f16vec3 matrix_col2; f16vec3 vector; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_2_std140_1_ubo {
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl index 8161d94..29a34d1 100644 --- a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,25 +1,20 @@ -SKIP: FAILED - #version 310 es - -struct S { - mat3 matrix; - vec3 vector; -}; precision highp float; precision highp int; -uniform S data; +struct S_std140 { + vec3 matrix_col0; + vec3 matrix_col1; + vec3 matrix_col2; + vec3 vector; +}; + +layout(binding = 0, std140) +uniform tint_symbol_2_std140_1_ubo { + S_std140 tint_symbol_1; +} v; void main() { - vec3 x = (data.matrix * data.vector); + mat3 v_1 = mat3(v.tint_symbol_1.matrix_col0, v.tint_symbol_1.matrix_col1, v.tint_symbol_1.matrix_col2); + vec3 x = (v_1 * v.tint_symbol_1.vector); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.ir.glsl index 2658de2..2b81036 100644 --- a/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.ir.glsl
@@ -1,5 +1,8 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct S_std140 { f16vec3 matrix_col0; @@ -7,9 +10,6 @@ f16vec3 matrix_col2; f16vec3 vector; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_2_std140_1_ubo {
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl index 68cb908..0c4ab60 100644 --- a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl
@@ -1,25 +1,20 @@ -SKIP: FAILED - #version 310 es - -struct S { - mat3 matrix; - vec3 vector; -}; precision highp float; precision highp int; -uniform S data; +struct S_std140 { + vec3 matrix_col0; + vec3 matrix_col1; + vec3 matrix_col2; + vec3 vector; +}; + +layout(binding = 0, std140) +uniform tint_symbol_2_std140_1_ubo { + S_std140 tint_symbol_1; +} v; void main() { - vec3 x = (data.vector * data.matrix); + vec3 v_1 = v.tint_symbol_1.vector; + vec3 x = (v_1 * mat3(v.tint_symbol_1.matrix_col0, v.tint_symbol_1.matrix_col1, v.tint_symbol_1.matrix_col2)); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.ir.glsl index f455684..b45d988 100644 --- a/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.ir.glsl
@@ -1,5 +1,8 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct S_std140 { f16vec3 matrix_col0; @@ -8,9 +11,6 @@ f16vec3 matrix_col3; f16vec3 vector; }; -precision highp float; -precision highp int; - layout(binding = 0, std140) uniform tint_symbol_2_std140_1_ubo {
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl index 5cb3d62..79a950b 100644 --- a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl
@@ -1,25 +1,21 @@ -SKIP: FAILED - #version 310 es - -struct S { - mat4x3 matrix; - vec3 vector; -}; precision highp float; precision highp int; -uniform S data; +struct S_std140 { + vec3 matrix_col0; + vec3 matrix_col1; + vec3 matrix_col2; + vec3 matrix_col3; + vec3 vector; +}; + +layout(binding = 0, std140) +uniform tint_symbol_2_std140_1_ubo { + S_std140 tint_symbol_1; +} v; void main() { - vec4 x = (data.vector * data.matrix); + vec3 v_1 = v.tint_symbol_1.vector; + vec4 x = (v_1 * mat4x3(v.tint_symbol_1.matrix_col0, v.tint_symbol_1.matrix_col1, v.tint_symbol_1.matrix_col2, v.tint_symbol_1.matrix_col3)); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.ir.glsl index 936cd36..6f9d164 100644 --- a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n[4];
diff --git a/test/tint/expressions/index/let/struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct.wgsl.expected.ir.glsl index b96b5b2..8557ba4 100644 --- a/test/tint/expressions/index/let/struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n;
diff --git a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.ir.glsl index c269d8d..c254b04 100644 --- a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n[4];
diff --git a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.ir.glsl index 49af430..0c6c6c5 100644 --- a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct T { uint k[2]; };
diff --git a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.ir.glsl index 264b2ed..0e7e58c 100644 --- a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct T { float o; uint p;
diff --git a/test/tint/expressions/index/let/struct_with_matrix.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct_with_matrix.wgsl.expected.ir.glsl index 626ddf7..b15d600 100644 --- a/test/tint/expressions/index/let/struct_with_matrix.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct_with_matrix.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; mat4 n;
diff --git a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.ir.glsl b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.ir.glsl index 47ba62a..71d2e5c 100644 --- a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uvec3 n;
diff --git a/test/tint/expressions/index/var/array_nested_struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/array_nested_struct.wgsl.expected.ir.glsl index 936cd36..6f9d164 100644 --- a/test/tint/expressions/index/var/array_nested_struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/array_nested_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n[4];
diff --git a/test/tint/expressions/index/var/struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct.wgsl.expected.ir.glsl index b96b5b2..8557ba4 100644 --- a/test/tint/expressions/index/var/struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n;
diff --git a/test/tint/expressions/index/var/struct_nested_array.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct_nested_array.wgsl.expected.ir.glsl index c269d8d..c254b04 100644 --- a/test/tint/expressions/index/var/struct_nested_array.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct_nested_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uint n[4];
diff --git a/test/tint/expressions/index/var/struct_nested_multiple.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct_nested_multiple.wgsl.expected.ir.glsl index 49af430..0c6c6c5 100644 --- a/test/tint/expressions/index/var/struct_nested_multiple.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct_nested_multiple.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct T { uint k[2]; };
diff --git a/test/tint/expressions/index/var/struct_nested_struct.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct_nested_struct.wgsl.expected.ir.glsl index 264b2ed..0e7e58c 100644 --- a/test/tint/expressions/index/var/struct_nested_struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct_nested_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct T { float o; uint p;
diff --git a/test/tint/expressions/index/var/struct_with_matrix.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct_with_matrix.wgsl.expected.ir.glsl index 815503d..c5bf8be 100644 --- a/test/tint/expressions/index/var/struct_with_matrix.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct_with_matrix.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; mat4 n;
diff --git a/test/tint/expressions/index/var/struct_with_vector.wgsl.expected.ir.glsl b/test/tint/expressions/index/var/struct_with_vector.wgsl.expected.ir.glsl index 88391ed..a22fe4d 100644 --- a/test/tint/expressions/index/var/struct_with_vector.wgsl.expected.ir.glsl +++ b/test/tint/expressions/index/var/struct_with_vector.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int m; uvec3 n;
diff --git a/test/tint/expressions/swizzle/read/packed_vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/packed_vec3/f16.wgsl.expected.ir.glsl index f563926..4eddad7 100644 --- a/test/tint/expressions/swizzle/read/packed_vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/packed_vec3/f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S { f16vec3 v; };
diff --git a/test/tint/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.ir.glsl index 0f29f4f..2298d27 100644 --- a/test/tint/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 v; };
diff --git a/test/tint/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.ir.glsl index cb8a6a5..a47d664 100644 --- a/test/tint/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec3 v; };
diff --git a/test/tint/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.ir.glsl index f111e53..334a955 100644 --- a/test/tint/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { uvec3 v; };
diff --git a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.ir.glsl index 1fa74ec..6d4e35c 100644 --- a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 val[3]; };
diff --git a/test/tint/expressions/swizzle/read/vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/vec3/f16.wgsl.expected.ir.glsl index 71d5b28..4070e8c 100644 --- a/test/tint/expressions/swizzle/read/vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/vec3/f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S { f16vec3 v; };
diff --git a/test/tint/expressions/swizzle/read/vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/vec3/f32.wgsl.expected.ir.glsl index b266daa..3b6b122 100644 --- a/test/tint/expressions/swizzle/read/vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/vec3/f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 v; };
diff --git a/test/tint/expressions/swizzle/read/vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/vec3/i32.wgsl.expected.ir.glsl index b742043..c067b05 100644 --- a/test/tint/expressions/swizzle/read/vec3/i32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/vec3/i32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec3 v; };
diff --git a/test/tint/expressions/swizzle/read/vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/read/vec3/u32.wgsl.expected.ir.glsl index c688473..1f94a4c 100644 --- a/test/tint/expressions/swizzle/read/vec3/u32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/read/vec3/u32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { uvec3 v; };
diff --git a/test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.ir.glsl index 24e7490..778155e 100644 --- a/test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S { f16vec3 v; };
diff --git a/test/tint/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.ir.glsl index a403a25..74a9f87 100644 --- a/test/tint/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 v; };
diff --git a/test/tint/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.ir.glsl index d90d90d..1d0ab7a 100644 --- a/test/tint/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec3 v; };
diff --git a/test/tint/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.ir.glsl index 1e4d1f2..0af3460 100644 --- a/test/tint/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { uvec3 v; };
diff --git a/test/tint/expressions/swizzle/write/swizzle.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/swizzle.wgsl.expected.ir.glsl index 662088f..dc1c0e1 100644 --- a/test/tint/expressions/swizzle/write/swizzle.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/swizzle.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 val[3]; };
diff --git a/test/tint/expressions/swizzle/write/vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/vec3/f16.wgsl.expected.ir.glsl index 23a1e0c..79805d9 100644 --- a/test/tint/expressions/swizzle/write/vec3/f16.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/vec3/f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct S { f16vec3 v; };
diff --git a/test/tint/expressions/swizzle/write/vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/vec3/f32.wgsl.expected.ir.glsl index 294234d..f87cc69 100644 --- a/test/tint/expressions/swizzle/write/vec3/f32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/vec3/f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec3 v; };
diff --git a/test/tint/expressions/swizzle/write/vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/vec3/i32.wgsl.expected.ir.glsl index ccacc1b..9834a65 100644 --- a/test/tint/expressions/swizzle/write/vec3/i32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/vec3/i32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec3 v; };
diff --git a/test/tint/expressions/swizzle/write/vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/swizzle/write/vec3/u32.wgsl.expected.ir.glsl index 0688737..50fbc7d 100644 --- a/test/tint/expressions/swizzle/write/vec3/u32.wgsl.expected.ir.glsl +++ b/test/tint/expressions/swizzle/write/vec3/u32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { uvec3 v; };
diff --git a/test/tint/expressions/zero_init/array/struct.wgsl.expected.ir.glsl b/test/tint/expressions/zero_init/array/struct.wgsl.expected.ir.glsl index 7e7d7ba..ff7cb75 100644 --- a/test/tint/expressions/zero_init/array/struct.wgsl.expected.ir.glsl +++ b/test/tint/expressions/zero_init/array/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; uint u;
diff --git a/test/tint/expressions/zero_init/struct/array.wgsl.expected.ir.glsl b/test/tint/expressions/zero_init/struct/array.wgsl.expected.ir.glsl index e5342a6..825d24e1 100644 --- a/test/tint/expressions/zero_init/struct/array.wgsl.expected.ir.glsl +++ b/test/tint/expressions/zero_init/struct/array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { float a[4]; };
diff --git a/test/tint/expressions/zero_init/struct/scalar.wgsl.expected.ir.glsl b/test/tint/expressions/zero_init/struct/scalar.wgsl.expected.ir.glsl index e757258..8447216 100644 --- a/test/tint/expressions/zero_init/struct/scalar.wgsl.expected.ir.glsl +++ b/test/tint/expressions/zero_init/struct/scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; uint u;
diff --git a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl index e6a46ba..bbee05e 100644 --- a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl +++ b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl
@@ -1,32 +1,31 @@ -SKIP: FAILED - #version 310 es +#extension GL_EXT_blend_func_extended: require +precision highp float; +precision highp int; + struct FragOutput { vec4 color; vec4 blend; }; -precision highp float; -precision highp int; - struct FragInput { vec4 a; vec4 b; }; -FragOutput main(FragInput tint_symbol) { +layout(location = 0) in vec4 frag_main_loc0_Input; +layout(location = 1) in vec4 frag_main_loc1_Input; +layout(location = 0, index = 0) out vec4 frag_main_loc0_idx0_Output; +layout(location = 0, index = 1) out vec4 frag_main_loc0_idx1_Output; +FragOutput frag_main_inner(FragInput tint_symbol) { FragOutput tint_symbol_1 = FragOutput(vec4(0.0f), vec4(0.0f)); tint_symbol_1.color = tint_symbol.a; tint_symbol_1.blend = tint_symbol.b; return tint_symbol_1; } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + FragOutput v = frag_main_inner(FragInput(frag_main_loc0_Input, frag_main_loc1_Input)); + frag_main_loc0_idx0_Output = v.color; + frag_main_loc0_idx1_Output = v.blend; +}
diff --git a/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl b/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl index f0cce58..3fcfa92c8 100644 --- a/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl +++ b/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl
@@ -1,27 +1,24 @@ -SKIP: FAILED - #version 310 es +#extension GL_EXT_blend_func_extended: require +precision highp float; +precision highp int; + struct FragOutput { vec4 color; vec4 blend; }; -precision highp float; -precision highp int; - -FragOutput main() { +layout(location = 0, index = 0) out vec4 frag_main_loc0_idx0_Output; +layout(location = 0, index = 1) out vec4 frag_main_loc0_idx1_Output; +FragOutput frag_main_inner() { FragOutput tint_symbol = FragOutput(vec4(0.0f), vec4(0.0f)); tint_symbol.color = vec4(0.5f, 0.5f, 0.5f, 1.0f); tint_symbol.blend = vec4(0.5f, 0.5f, 0.5f, 1.0f); return tint_symbol; } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + FragOutput v = frag_main_inner(); + frag_main_loc0_idx0_Output = v.color; + frag_main_loc0_idx1_Output = v.blend; +}
diff --git a/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl index 064838b..a6f9d72 100644 --- a/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl +++ b/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
diff --git a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl index 064838b..a6f9d72 100644 --- a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl +++ b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
diff --git a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl index 064838b..a6f9d72 100644 --- a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl +++ b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
diff --git a/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl index 39be416..2e96cf0 100644 --- a/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@ -SKIP: INVALID - #version 310 es precision highp float; precision highp int; @@ -9,17 +7,15 @@ vec4 uv; }; +in vec4 f_Input; +layout(location = 0) in vec4 f_loc0_Input; void g(float a, float b, float c) { } -void main(vec4 pos, vec4 fbf, In tint_symbol) { +void f_inner(vec4 pos, vec4 fbf, In tint_symbol) { g(pos[0u], fbf[0u], tint_symbol.uv[0u]); } -error: Error parsing GLSL shader: -ERROR: 0:12: 'main' : function cannot take any parameter(s) -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + vec4 v = gl_FragCoord; + vec4 v_1 = f_Input; + f_inner(v, v_1, In(f_loc0_Input)); +}
diff --git a/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl index faeec19..0651de7 100644 --- a/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) in vec4 f_loc0_Input; in vec4 f_Input; void g(float a, float b, float c) {
diff --git a/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl index 48be9aa..0cbe160 100644 --- a/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@ -SKIP: INVALID - #version 310 es precision highp float; precision highp int; @@ -11,17 +9,13 @@ vec4 fbf; }; +layout(location = 0) in vec4 f_loc0_Input; +in vec4 f_Input; void g(float a, float b, float c) { } -void main(In tint_symbol) { +void f_inner(In tint_symbol) { g(tint_symbol.pos[0u], tint_symbol.uv[0u], tint_symbol.fbf[1u]); } -error: Error parsing GLSL shader: -ERROR: 0:14: 'main' : function cannot take any parameter(s) -ERROR: 0:14: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + f_inner(In(gl_FragCoord, f_loc0_Input, f_Input)); +}
diff --git a/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl index f11a215..9289cff 100644 --- a/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@ -SKIP: INVALID - #version 310 es precision highp float; precision highp int; @@ -9,17 +7,13 @@ vec4 pos; }; +in vec4 f_Input; void g(float a, float b) { } -void main(In tint_symbol, vec4 fbf) { +void f_inner(In tint_symbol, vec4 fbf) { g(tint_symbol.pos[0u], fbf[1u]); } -error: Error parsing GLSL shader: -ERROR: 0:12: 'main' : function cannot take any parameter(s) -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + In v = In(gl_FragCoord); + f_inner(v, f_Input); +}
diff --git a/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl index 8231a4c..7399e87 100644 --- a/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - in vec4 f_Input; void g(float a, float b) { }
diff --git a/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl index a73a781..3890590 100644 --- a/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) in vec4 f_loc0_Input; layout(location = 1) flat in vec4 f_loc1_Input; in vec4 f_Input;
diff --git a/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl index 4857c8a..9fe39a1 100644 --- a/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl
@@ -1,25 +1,25 @@ -SKIP: INVALID - #version 310 es +precision highp float; +precision highp int; + struct Out { vec4 x; vec4 y; vec4 z; }; -precision highp float; -precision highp int; - -Out main(vec4 fbf_1, vec4 fbf_3) { +in vec4 f_Input; +in vec4 f_Input_1; +layout(location = 0) out vec4 f_loc0_Output; +layout(location = 2) out vec4 f_loc2_Output; +layout(location = 4) out vec4 f_loc4_Output; +Out f_inner(vec4 fbf_1, vec4 fbf_3) { return Out(fbf_1, vec4(20.0f), fbf_3); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + Out v = f_inner(f_Input, f_Input_1); + f_loc0_Output = v.x; + f_loc2_Output = v.y; + f_loc4_Output = v.z; +}
diff --git a/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl index 4c8adb5..f168f42 100644 --- a/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl
@@ -1,25 +1,24 @@ -SKIP: INVALID - #version 310 es +precision highp float; +precision highp int; + struct Out { vec4 x; vec4 y; vec4 z; }; -precision highp float; -precision highp int; - -Out main(vec4 fbf) { +in vec4 f_Input; +layout(location = 0) out vec4 f_loc0_Output; +layout(location = 2) out vec4 f_loc2_Output; +layout(location = 3) out vec4 f_loc3_Output; +Out f_inner(vec4 fbf) { return Out(vec4(10.0f), fbf, vec4(30.0f)); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + Out v = f_inner(f_Input); + f_loc0_Output = v.x; + f_loc2_Output = v.y; + f_loc3_Output = v.z; +}
diff --git a/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl index 0e79fe2..87fb26a 100644 --- a/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - in vec4 f_Input; in vec4 f_Input_1; layout(location = 0) out vec4 f_loc0_Output;
diff --git a/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl index 58a28c7..e959d08 100644 --- a/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - in vec4 f_Input; layout(location = 0) out vec4 f_loc0_Output; vec4 f_inner(vec4 fbf) {
diff --git a/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl index 26164cc..a80932b 100644 --- a/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - in vec4 f_Input; in vec4 f_Input_1; void g(float a, float b) {
diff --git a/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl index 94f50fa..edac958 100644 --- a/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl +++ b/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - in vec4 f_Input; void g(float a) { }
diff --git a/test/tint/identifiers/underscore/double/struct.wgsl.expected.ir.glsl b/test/tint/identifiers/underscore/double/struct.wgsl.expected.ir.glsl index 6a01ea2..b36376f 100644 --- a/test/tint/identifiers/underscore/double/struct.wgsl.expected.ir.glsl +++ b/test/tint/identifiers/underscore/double/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct tint_symbol { int tint_symbol_1; };
diff --git a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.ir.glsl b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.ir.glsl index 48a3f85..09e102d 100644 --- a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.ir.glsl +++ b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct _a { int _b; };
diff --git a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.ir.glsl b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.ir.glsl index 25213c7..fcb2e94 100644 --- a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.ir.glsl +++ b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct _A { int _B; };
diff --git a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.ir.glsl b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.ir.glsl index 242c91a..236034b 100644 --- a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.ir.glsl +++ b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct SSBO { mat2 m; };
diff --git a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.ir.glsl b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.ir.glsl index 5fcd03e..20f8a08 100644 --- a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.ir.glsl +++ b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct strided_arr { vec2 el; };
diff --git a/test/tint/let/inferred/function.wgsl.expected.ir.glsl b/test/tint/let/inferred/function.wgsl.expected.ir.glsl index 477f56d..dec2b19 100644 --- a/test/tint/let/inferred/function.wgsl.expected.ir.glsl +++ b/test/tint/let/inferred/function.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.0f);
diff --git a/test/tint/out_of_order_decls/alias/alias.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/alias/alias.wgsl.expected.ir.glsl index 2f632f4..e208c3e 100644 --- a/test/tint/out_of_order_decls/alias/alias.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/alias/alias.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main() { int v = 0; }
diff --git a/test/tint/out_of_order_decls/array/alias.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/array/alias.wgsl.expected.ir.glsl index 72648b5..af466ef 100644 --- a/test/tint/out_of_order_decls/array/alias.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/array/alias.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - int A[4] = int[4](0, 0, 0, 0); void main() { A[0] = 1;
diff --git a/test/tint/out_of_order_decls/array/struct.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/array/struct.wgsl.expected.ir.glsl index 033082d..4886dfa 100644 --- a/test/tint/out_of_order_decls/array/struct.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/array/struct.wgsl.expected.ir.glsl
@@ -1,11 +1,11 @@ #version 310 es +precision highp float; +precision highp int; + struct S { int m; }; -precision highp float; -precision highp int; - S A[4] = S[4](S(0), S(0), S(0), S(0)); void main() {
diff --git a/test/tint/out_of_order_decls/func/const.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/func/const.wgsl.expected.ir.glsl index 80a4791..efa8269 100644 --- a/test/tint/out_of_order_decls/func/const.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/func/const.wgsl.expected.ir.glsl
@@ -2,6 +2,5 @@ precision highp float; precision highp int; - void main() { }
diff --git a/test/tint/out_of_order_decls/func/func.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/func/func.wgsl.expected.ir.glsl index db7825c..92208a2 100644 --- a/test/tint/out_of_order_decls/func/func.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/func/func.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void f2() { } void main() {
diff --git a/test/tint/out_of_order_decls/func/type.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/func/type.wgsl.expected.ir.glsl index daa78f4..f1f76a2 100644 --- a/test/tint/out_of_order_decls/func/type.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/func/type.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - void main() { int b = 0; }
diff --git a/test/tint/out_of_order_decls/func/var.wgsl.expected.ir.glsl b/test/tint/out_of_order_decls/func/var.wgsl.expected.ir.glsl index 69a62f9..c597797 100644 --- a/test/tint/out_of_order_decls/func/var.wgsl.expected.ir.glsl +++ b/test/tint/out_of_order_decls/func/var.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - int a = 1; void main() { int b = a;
diff --git a/test/tint/ptr_ref/load/global/struct_field.spvasm.expected.ir.glsl b/test/tint/ptr_ref/load/global/struct_field.spvasm.expected.ir.glsl index fdb6c43..a1658d4 100644 --- a/test/tint/ptr_ref/load/global/struct_field.spvasm.expected.ir.glsl +++ b/test/tint/ptr_ref/load/global/struct_field.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.ir.glsl index 299ba8b..6a8d3b0 100644 --- a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/load/local/struct_field.spvasm.expected.ir.glsl b/test/tint/ptr_ref/load/local/struct_field.spvasm.expected.ir.glsl index 71511c4..3decd62 100644 --- a/test/tint/ptr_ref/load/local/struct_field.spvasm.expected.ir.glsl +++ b/test/tint/ptr_ref/load/local/struct_field.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/load/local/struct_field.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/struct_field.wgsl.expected.ir.glsl index ee210b96b..b9a44a6 100644 --- a/test/tint/ptr_ref/load/local/struct_field.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/local/struct_field.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.ir.glsl index 977ec52..8ff92e6 100644 --- a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.ir.glsl index 2308148..1a24efc 100644 --- a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.ir.glsl index f49a0a7..35a0051 100644 --- a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl index eceac6d..c81f07b 100644 --- a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.ir.glsl index 46d1778..2114e74 100644 --- a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.ir.glsl index 9d7ce7e..d15c87c 100644 --- a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.ir.glsl index 0d9b43f..d5fbe02 100644 --- a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl index 1783c04..2dfe558 100644 --- a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.ir.glsl index 49c79a3..c359253 100644 --- a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.ir.glsl index ed241d8..698a493 100644 --- a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.ir.glsl index c27da90..66ecb8e 100644 --- a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl index 201d975..5af34b5 100644 --- a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.ir.glsl index cb204fb..4f8bc3a 100644 --- a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { ivec4 arr[4]; };
diff --git a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.ir.glsl index 30c289c..655a65d 100644 --- a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.ir.glsl index e359b59..2b1c17f 100644 --- a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { ivec4 i; };
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.ir.glsl index bd06562..a8003d9 100644 --- a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/store/global/struct_field.spvasm.expected.ir.glsl b/test/tint/ptr_ref/store/global/struct_field.spvasm.expected.ir.glsl index 1806ae6..8e9ad35 100644 --- a/test/tint/ptr_ref/store/global/struct_field.spvasm.expected.ir.glsl +++ b/test/tint/ptr_ref/store/global/struct_field.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/store/local/struct_field.spvasm.expected.ir.glsl b/test/tint/ptr_ref/store/local/struct_field.spvasm.expected.ir.glsl index 74ffb1b..b402f47 100644 --- a/test/tint/ptr_ref/store/local/struct_field.spvasm.expected.ir.glsl +++ b/test/tint/ptr_ref/store/local/struct_field.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.ir.glsl index b12f792..9e6547d 100644 --- a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/store/param/function/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/function/i32_in_struct.wgsl.expected.ir.glsl index 82c0dfd..d39b452 100644 --- a/test/tint/ptr_ref/store/param/function/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/function/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.ir.glsl index 1758082..6589969 100644 --- a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl index 69d0213..74e0bcc 100644 --- a/test/tint/ptr_ref/store/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/function/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.ir.glsl index 694ac27..d6564ad 100644 --- a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/store/param/private/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/private/i32_in_struct.wgsl.expected.ir.glsl index 69918ef..d4a25d4 100644 --- a/test/tint/ptr_ref/store/param/private/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/private/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.ir.glsl index 00b1c43e..ca9fe3b 100644 --- a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl index 9136446..16bbe27 100644 --- a/test/tint/ptr_ref/store/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/private/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.ir.glsl index 087377f..4149b68 100644 --- a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int arr[4]; };
diff --git a/test/tint/ptr_ref/store/param/storage/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/storage/i32_in_struct.wgsl.expected.ir.glsl index 85ff754..f79daa5 100644 --- a/test/tint/ptr_ref/store/param/storage/i32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/storage/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.ir.glsl index c633440..1855646 100644 --- a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { int i; };
diff --git a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl index cfcd5d9..f50479e 100644 --- a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl +++ b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct str { vec4 i; };
diff --git a/test/tint/samples/compute_boids.wgsl.expected.ir.glsl b/test/tint/samples/compute_boids.wgsl.expected.ir.glsl index d3cb577..54fc6b8 100644 --- a/test/tint/samples/compute_boids.wgsl.expected.ir.glsl +++ b/test/tint/samples/compute_boids.wgsl.expected.ir.glsl
@@ -21,7 +21,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 frag_main_loc0_Output; vec4 frag_main_inner() { return vec4(1.0f); @@ -31,6 +30,7 @@ } #version 310 es + struct SimParams { float deltaT; float rule1Distance;
diff --git a/test/tint/samples/cube.wgsl.expected.ir.glsl b/test/tint/samples/cube.wgsl.expected.ir.glsl index 168727c..82c5b0b 100644 --- a/test/tint/samples/cube.wgsl.expected.ir.glsl +++ b/test/tint/samples/cube.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { mat4 modelViewProjectionMatrix; }; @@ -39,7 +40,6 @@ precision highp float; precision highp int; - layout(location = 0) in vec4 frag_main_loc0_Input; layout(location = 0) out vec4 frag_main_loc0_Output; vec4 frag_main_inner(vec4 fragColor) {
diff --git a/test/tint/samples/simple.wgsl.expected.ir.glsl b/test/tint/samples/simple.wgsl.expected.ir.glsl index 0cca305..be52e66 100644 --- a/test/tint/samples/simple.wgsl.expected.ir.glsl +++ b/test/tint/samples/simple.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; void bar() { }
diff --git a/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl b/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl index f27d15a..81d2b1f 100644 --- a/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl +++ b/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct main_out { vec4 tint_symbol; };
diff --git a/test/tint/shadowing/function/var.wgsl.expected.ir.glsl b/test/tint/shadowing/function/var.wgsl.expected.ir.glsl index 1a09d68..9e25d30 100644 --- a/test/tint/shadowing/function/var.wgsl.expected.ir.glsl +++ b/test/tint/shadowing/function/var.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct a { int a; };
diff --git a/test/tint/shadowing/struct/let.wgsl.expected.ir.glsl b/test/tint/shadowing/struct/let.wgsl.expected.ir.glsl index 1a09d68..9e25d30 100644 --- a/test/tint/shadowing/struct/let.wgsl.expected.ir.glsl +++ b/test/tint/shadowing/struct/let.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct a { int a; };
diff --git a/test/tint/shadowing/struct/param.wgsl.expected.ir.glsl b/test/tint/shadowing/struct/param.wgsl.expected.ir.glsl index 2823db7..9a41b41 100644 --- a/test/tint/shadowing/struct/param.wgsl.expected.ir.glsl +++ b/test/tint/shadowing/struct/param.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct a { int a; };
diff --git a/test/tint/shadowing/struct/var.wgsl.expected.ir.glsl b/test/tint/shadowing/struct/var.wgsl.expected.ir.glsl index 1a09d68..9e25d30 100644 --- a/test/tint/shadowing/struct/var.wgsl.expected.ir.glsl +++ b/test/tint/shadowing/struct/var.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct a { int a; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.ir.glsl index 64569d9..2f8cfcf 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.ir.glsl index 7854704..aec9caf 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.ir.glsl index c88de06..f230518 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.ir.glsl index b9ff149..0cdfbde 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.ir.glsl index bf67f7d..837fe49 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.ir.glsl index 063b979..d0bf667 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.ir.glsl index 177b425..3dd1be4 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.ir.glsl index 8580f65..6a6b84b 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl index b3cad03..627d4ab 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl index 1a81145..09456b4 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; uint j;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.ir.glsl index 2fbd5e7..2376b26 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.ir.glsl index 1c894f9..36cf428 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.ir.glsl index 029a539..abc071c 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.ir.glsl index c4d85e1..df94ba9 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.ir.glsl index c30eaa3..c078c75 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.ir.glsl index 4489172..7cc025f 100644 --- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Uniforms { uint i; };
diff --git a/test/tint/statements/assign/phony/storage_buffer.wgsl.expected.ir.glsl b/test/tint/statements/assign/phony/storage_buffer.wgsl.expected.ir.glsl index d7f1b9d..fd2a605 100644 --- a/test/tint/statements/assign/phony/storage_buffer.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/phony/storage_buffer.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/statements/assign/phony/uniform_buffer.wgsl.expected.ir.glsl b/test/tint/statements/assign/phony/uniform_buffer.wgsl.expected.ir.glsl index 2f4d47d..f27187a 100644 --- a/test/tint/statements/assign/phony/uniform_buffer.wgsl.expected.ir.glsl +++ b/test/tint/statements/assign/phony/uniform_buffer.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int i; };
diff --git a/test/tint/statements/compound_assign/matrix/minus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/matrix/minus.wgsl.expected.ir.glsl index 8c822f6..091c6bd 100644 --- a/test/tint/statements/compound_assign/matrix/minus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/matrix/minus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { mat4 a; };
diff --git a/test/tint/statements/compound_assign/matrix/plus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/matrix/plus.wgsl.expected.ir.glsl index c5539c7..fd7c62d 100644 --- a/test/tint/statements/compound_assign/matrix/plus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/matrix/plus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { mat4 a; };
diff --git a/test/tint/statements/compound_assign/matrix/times-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/matrix/times-scalar.wgsl.expected.ir.glsl index 201a543..88c8967 100644 --- a/test/tint/statements/compound_assign/matrix/times-scalar.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/matrix/times-scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { mat4 a; };
diff --git a/test/tint/statements/compound_assign/matrix/times.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/matrix/times.wgsl.expected.ir.glsl index b23e4ec..9a0461b 100644 --- a/test/tint/statements/compound_assign/matrix/times.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/matrix/times.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { mat4 a; };
diff --git a/test/tint/statements/compound_assign/scalar/and.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/and.wgsl.expected.ir.glsl index 1cb4281..2f7421a 100644 --- a/test/tint/statements/compound_assign/scalar/and.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/and.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/minus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/minus.wgsl.expected.ir.glsl index 69b18e5..419baff 100644 --- a/test/tint/statements/compound_assign/scalar/minus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/minus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/or.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/or.wgsl.expected.ir.glsl index a66586f..d3d4bf3 100644 --- a/test/tint/statements/compound_assign/scalar/or.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/or.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/plus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/plus.wgsl.expected.ir.glsl index e0deba4..6c95e22 100644 --- a/test/tint/statements/compound_assign/scalar/plus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/plus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/shift_left.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/shift_left.wgsl.expected.ir.glsl index 9e908e2..8386aa1 100644 --- a/test/tint/statements/compound_assign/scalar/shift_left.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/shift_left.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/shift_right.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/shift_right.wgsl.expected.ir.glsl index 8b4de7b..36e8711 100644 --- a/test/tint/statements/compound_assign/scalar/shift_right.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/shift_right.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/times.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/times.wgsl.expected.ir.glsl index 4f32754..b4a04b6 100644 --- a/test/tint/statements/compound_assign/scalar/times.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/times.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/scalar/xor.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/xor.wgsl.expected.ir.glsl index cb4f4de..ff90819 100644 --- a/test/tint/statements/compound_assign/scalar/xor.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/scalar/xor.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; };
diff --git a/test/tint/statements/compound_assign/vector/and.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/and.wgsl.expected.ir.glsl index 9ffc09b..d02c0a6 100644 --- a/test/tint/statements/compound_assign/vector/and.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/and.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/divide-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/divide-scalar.wgsl.expected.ir.glsl index 66e3056..df85584 100644 --- a/test/tint/statements/compound_assign/vector/divide-scalar.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/divide-scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/minus-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/minus-scalar.wgsl.expected.ir.glsl index 307be90..0fcf4c4 100644 --- a/test/tint/statements/compound_assign/vector/minus-scalar.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/minus-scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/minus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/minus.wgsl.expected.ir.glsl index 2e1f2e7..d704fe1 100644 --- a/test/tint/statements/compound_assign/vector/minus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/minus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/or.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/or.wgsl.expected.ir.glsl index 4b0cfdd..3368986 100644 --- a/test/tint/statements/compound_assign/vector/or.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/or.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/plus-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/plus-scalar.wgsl.expected.ir.glsl index 2b9ec35..38553f4 100644 --- a/test/tint/statements/compound_assign/vector/plus-scalar.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/plus-scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/plus.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/plus.wgsl.expected.ir.glsl index eb4294a..b2cd290 100644 --- a/test/tint/statements/compound_assign/vector/plus.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/plus.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/shift_left.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/shift_left.wgsl.expected.ir.glsl index 95912d7..a837908 100644 --- a/test/tint/statements/compound_assign/vector/shift_left.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/shift_left.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/shift_right.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/shift_right.wgsl.expected.ir.glsl index 1cd23df..370ad2d 100644 --- a/test/tint/statements/compound_assign/vector/shift_right.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/shift_right.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/times-matrix.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/times-matrix.wgsl.expected.ir.glsl index ca38e1f..af09569 100644 --- a/test/tint/statements/compound_assign/vector/times-matrix.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/times-matrix.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/times-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/times-scalar.wgsl.expected.ir.glsl index 8f4124d..10a10b2 100644 --- a/test/tint/statements/compound_assign/vector/times-scalar.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/times-scalar.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { vec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/times.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/times.wgsl.expected.ir.glsl index 4d7462f..38233f5 100644 --- a/test/tint/statements/compound_assign/vector/times.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/times.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/compound_assign/vector/xor.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/xor.wgsl.expected.ir.glsl index 6429974..b5ee650 100644 --- a/test/tint/statements/compound_assign/vector/xor.wgsl.expected.ir.glsl +++ b/test/tint/statements/compound_assign/vector/xor.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { ivec4 a; };
diff --git a/test/tint/statements/discard/helper_functions.wgsl.expected.ir.glsl b/test/tint/statements/discard/helper_functions.wgsl.expected.ir.glsl index b505ac3..c6153e3 100644 --- a/test/tint/statements/discard/helper_functions.wgsl.expected.ir.glsl +++ b/test/tint/statements/discard/helper_functions.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_3_1_ssbo { int tint_symbol_2;
diff --git a/test/tint/statements/discard/multiple_returns.wgsl.expected.ir.glsl b/test/tint/statements/discard/multiple_returns.wgsl.expected.ir.glsl index 25d379e..098307b 100644 --- a/test/tint/statements/discard/multiple_returns.wgsl.expected.ir.glsl +++ b/test/tint/statements/discard/multiple_returns.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_3_1_ssbo { int tint_symbol_2;
diff --git a/test/tint/statements/discard/nested_return.wgsl.expected.ir.glsl b/test/tint/statements/discard/nested_return.wgsl.expected.ir.glsl index b790c97..a641557 100644 --- a/test/tint/statements/discard/nested_return.wgsl.expected.ir.glsl +++ b/test/tint/statements/discard/nested_return.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_2_1_ssbo { int tint_symbol_1;
diff --git a/test/tint/statements/discard/non_uniform.wgsl.expected.ir.glsl b/test/tint/statements/discard/non_uniform.wgsl.expected.ir.glsl index 134d826..ac7906b 100644 --- a/test/tint/statements/discard/non_uniform.wgsl.expected.ir.glsl +++ b/test/tint/statements/discard/non_uniform.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_3_1_ssbo { int tint_symbol_2;
diff --git a/test/tint/struct/type_initializer.wgsl.expected.ir.glsl b/test/tint/struct/type_initializer.wgsl.expected.ir.glsl index 80b2a6f..a189d1d 100644 --- a/test/tint/struct/type_initializer.wgsl.expected.ir.glsl +++ b/test/tint/struct/type_initializer.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S1 { int a; int b;
diff --git a/test/tint/types/buffers/storage.wgsl.expected.ir.glsl b/test/tint/types/buffers/storage.wgsl.expected.ir.glsl index c3e3b13..38e43b2 100644 --- a/test/tint/types/buffers/storage.wgsl.expected.ir.glsl +++ b/test/tint/types/buffers/storage.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std430) buffer tint_symbol_2_1_ssbo { float tint_symbol_1[];
diff --git a/test/tint/types/buffers/uniform.wgsl.expected.ir.glsl b/test/tint/types/buffers/uniform.wgsl.expected.ir.glsl index a435e46..10c2173 100644 --- a/test/tint/types/buffers/uniform.wgsl.expected.ir.glsl +++ b/test/tint/types/buffers/uniform.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(binding = 0, std140) uniform tint_symbol_2_1_ubo { vec2 tint_symbol_1;
diff --git a/test/tint/types/functions/parameters.wgsl.expected.ir.glsl b/test/tint/types/functions/parameters.wgsl.expected.ir.glsl index e71cc72..ca0099f 100644 --- a/test/tint/types/functions/parameters.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/parameters.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { float a; };
diff --git a/test/tint/types/functions/return_types.wgsl.expected.ir.glsl b/test/tint/types/functions/return_types.wgsl.expected.ir.glsl index 10175a7..c9b3d96 100644 --- a/test/tint/types/functions/return_types.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/return_types.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { float a; };
diff --git a/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl index 84afb45..d788a3a 100644 --- a/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl
@@ -1,31 +1,23 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct S { float f; uint u; vec4 v; }; -precision highp float; -precision highp int; - -S tint_symbol; +layout(binding = 0, std430) +buffer tint_symbol_2_1_ssbo { + S tint_symbol_1; +} v_1; void tint_store_and_preserve_padding(inout S target, S value_param) { target.f = value_param.f; target.u = value_param.u; target.v = value_param.v; } void main() { - tint_store_and_preserve_padding(tint_symbol, S(1.0f, 2u, vec4(3.0f))); + tint_store_and_preserve_padding(v_1.tint_symbol_1, S(1.0f, 2u, vec4(3.0f))); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl index 213eadb..19ea9ff 100644 --- a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct ComputeInputs { uvec3 local_invocation_id; uint local_invocation_index;
diff --git a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl index 7e470b2..c72542e 100644 --- a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct ComputeInputs0 { uvec3 local_invocation_id; };
diff --git a/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl index 3507c1a..8624b82 100644 --- a/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl
@@ -1,13 +1,13 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct Outputs { float16_t a; f16vec4 b; }; -precision highp float; -precision highp int; - layout(location = 1) in float16_t frag_main_loc1_Input; layout(location = 2) in f16vec4 frag_main_loc2_Input;
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl index 9ef7529..2aca2fa 100644 --- a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) flat in int tint_symbol_loc0_Input; layout(location = 1) flat in uint tint_symbol_loc1_Input; layout(location = 2) in float tint_symbol_loc2_Input;
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl index fea895d..0f4886f 100644 --- a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl
@@ -3,7 +3,6 @@ precision highp float; precision highp int; - layout(location = 0) flat in int tint_symbol_loc0_Input; layout(location = 1) flat in uint tint_symbol_loc1_Input; layout(location = 2) in float tint_symbol_loc2_Input;
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl index ff0ca28..170c8f5 100644 --- a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision highp float; precision highp int; @@ -12,18 +10,16 @@ vec4 loc3; }; -void main(FragmentInputs inputs) { +layout(location = 0) flat in int tint_symbol_loc0_Input; +layout(location = 1) flat in uint tint_symbol_loc1_Input; +layout(location = 2) in float tint_symbol_loc2_Input; +layout(location = 3) in vec4 tint_symbol_loc3_Input; +void tint_symbol_inner(FragmentInputs inputs) { int i = inputs.loc0; uint u = inputs.loc1; float f = inputs.loc2; vec4 v = inputs.loc3; } -error: Error parsing GLSL shader: -ERROR: 0:13: 'main' : function cannot take any parameter(s) -ERROR: 0:13: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_inner(FragmentInputs(tint_symbol_loc0_Input, tint_symbol_loc1_Input, tint_symbol_loc2_Input, tint_symbol_loc3_Input)); +}
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl index e62496a..89c95d7 100644 --- a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,10 +1,8 @@ -SKIP: FAILED - #version 310 es +#extension GL_AMD_gpu_shader_half_float: require precision highp float; precision highp int; -#extension GL_AMD_gpu_shader_half_float: require struct FragmentInputs { int loc0; @@ -15,7 +13,13 @@ f16vec3 loc5; }; -void main(FragmentInputs inputs) { +layout(location = 0) flat in int tint_symbol_loc0_Input; +layout(location = 1) flat in uint tint_symbol_loc1_Input; +layout(location = 2) in float tint_symbol_loc2_Input; +layout(location = 3) in vec4 tint_symbol_loc3_Input; +layout(location = 4) in float16_t tint_symbol_loc4_Input; +layout(location = 5) in f16vec3 tint_symbol_loc5_Input; +void tint_symbol_inner(FragmentInputs inputs) { int i = inputs.loc0; uint u = inputs.loc1; float f = inputs.loc2; @@ -23,12 +27,6 @@ float16_t x = inputs.loc4; f16vec3 y = inputs.loc5; } -error: Error parsing GLSL shader: -ERROR: 0:16: 'main' : function cannot take any parameter(s) -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_inner(FragmentInputs(tint_symbol_loc0_Input, tint_symbol_loc1_Input, tint_symbol_loc2_Input, tint_symbol_loc3_Input, tint_symbol_loc4_Input, tint_symbol_loc5_Input)); +}
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl index 70dd4c0..7f2b4a4 100644 --- a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out int main0_loc0_Output; int main0_inner() { return 1; @@ -14,7 +13,6 @@ precision highp float; precision highp int; - layout(location = 1) out uint main1_loc1_Output; uint main1_inner() { return 1u; @@ -26,7 +24,6 @@ precision highp float; precision highp int; - layout(location = 2) out float main2_loc2_Output; float main2_inner() { return 1.0f; @@ -38,7 +35,6 @@ precision highp float; precision highp int; - layout(location = 3) out vec4 main3_loc3_Output; vec4 main3_inner() { return vec4(1.0f, 2.0f, 3.0f, 4.0f);
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl index f336cb5..4377f35 100644 --- a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out int main0_loc0_Output; int main0_inner() { return 1; @@ -14,7 +13,6 @@ precision highp float; precision highp int; - layout(location = 1) out uint main1_loc1_Output; uint main1_inner() { return 1u; @@ -26,7 +24,6 @@ precision highp float; precision highp int; - layout(location = 2) out float main2_loc2_Output; float main2_inner() { return 1.0f; @@ -38,7 +35,6 @@ precision highp float; precision highp int; - layout(location = 3) out vec4 main3_loc3_Output; vec4 main3_inner() { return vec4(1.0f, 2.0f, 3.0f, 4.0f); @@ -51,7 +47,6 @@ precision highp float; precision highp int; - layout(location = 4) out float16_t main4_loc4_Output; float16_t main4_inner() { return 2.25hf; @@ -64,7 +59,6 @@ precision highp float; precision highp int; - layout(location = 5) out f16vec3 main5_loc5_Output; f16vec3 main5_inner() { return f16vec3(3.0hf, 5.0hf, 8.0hf);
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl index 34d2372..a215a04 100644 --- a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct FragmentOutputs { int loc0; @@ -8,19 +9,18 @@ float loc2; vec4 loc3; }; -precision highp float; -precision highp int; - -FragmentOutputs main() { +layout(location = 0) out int tint_symbol_loc0_Output; +layout(location = 1) out uint tint_symbol_loc1_Output; +layout(location = 2) out float tint_symbol_loc2_Output; +layout(location = 3) out vec4 tint_symbol_loc3_Output; +FragmentOutputs tint_symbol_inner() { return FragmentOutputs(1, 1u, 1.0f, vec4(1.0f, 2.0f, 3.0f, 4.0f)); } -error: Error parsing GLSL shader: -ERROR: 0:6: 'float' : type requires declaration of default precision qualifier -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + FragmentOutputs v = tint_symbol_inner(); + tint_symbol_loc0_Output = v.loc0; + tint_symbol_loc1_Output = v.loc1; + tint_symbol_loc2_Output = v.loc2; + tint_symbol_loc3_Output = v.loc3; +}
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl index 01e2600..de73639 100644 --- a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,7 +1,8 @@ -SKIP: FAILED - #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct FragmentOutputs { int loc0; @@ -11,19 +12,22 @@ float16_t loc4; f16vec3 loc5; }; -precision highp float; -precision highp int; - -FragmentOutputs main() { +layout(location = 0) out int tint_symbol_loc0_Output; +layout(location = 1) out uint tint_symbol_loc1_Output; +layout(location = 2) out float tint_symbol_loc2_Output; +layout(location = 3) out vec4 tint_symbol_loc3_Output; +layout(location = 4) out float16_t tint_symbol_loc4_Output; +layout(location = 5) out f16vec3 tint_symbol_loc5_Output; +FragmentOutputs tint_symbol_inner() { return FragmentOutputs(1, 1u, 1.0f, vec4(1.0f, 2.0f, 3.0f, 4.0f), 2.25hf, f16vec3(3.0hf, 5.0hf, 8.0hf)); } -error: Error parsing GLSL shader: -ERROR: 0:7: 'float' : type requires declaration of default precision qualifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + FragmentOutputs v = tint_symbol_inner(); + tint_symbol_loc0_Output = v.loc0; + tint_symbol_loc1_Output = v.loc1; + tint_symbol_loc2_Output = v.loc2; + tint_symbol_loc3_Output = v.loc3; + tint_symbol_loc4_Output = v.loc4; + tint_symbol_loc5_Output = v.loc5; +}
diff --git a/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl index d67e624..772e528 100644 --- a/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) in float tint_symbol_loc0_Input; layout(location = 1) flat in float tint_symbol_loc1_Input; layout(location = 2) in float tint_symbol_loc2_Input;
diff --git a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl index e7b78b6..b6cdeba 100644 --- a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision highp float; precision highp int; @@ -18,14 +16,18 @@ float linear_default; }; -void main(In tint_symbol_2) { +layout(location = 0) in float tint_symbol_1_loc0_Input; +layout(location = 1) flat in float tint_symbol_1_loc1_Input; +layout(location = 2) in float tint_symbol_1_loc2_Input; +layout(location = 3) centroid in float tint_symbol_1_loc3_Input; +layout(location = 4) in float tint_symbol_1_loc4_Input; +layout(location = 5) in float tint_symbol_1_loc5_Input; +layout(location = 6) centroid in float tint_symbol_1_loc6_Input; +layout(location = 7) in float tint_symbol_1_loc7_Input; +layout(location = 8) in float tint_symbol_1_loc8_Input; +layout(location = 9) in float tint_symbol_1_loc9_Input; +void tint_symbol_1_inner(In tint_symbol_2) { } -error: Error parsing GLSL shader: -ERROR: 0:19: 'main' : function cannot take any parameter(s) -ERROR: 0:19: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + tint_symbol_1_inner(In(tint_symbol_1_loc0_Input, tint_symbol_1_loc1_Input, tint_symbol_1_loc2_Input, tint_symbol_1_loc3_Input, tint_symbol_1_loc4_Input, tint_symbol_1_loc5_Input, tint_symbol_1_loc6_Input, tint_symbol_1_loc7_Input, tint_symbol_1_loc8_Input, tint_symbol_1_loc9_Input)); +}
diff --git a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl index 3105bf8..d3e5628 100644 --- a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl
@@ -1,7 +1,6 @@ -SKIP: FAILED - #version 310 es + struct Interface { int i; uint u; @@ -9,25 +8,30 @@ uvec4 vu; vec4 pos; }; + +layout(location = 0) flat out int vert_main_loc0_Output; +layout(location = 1) flat out uint vert_main_loc1_Output; +layout(location = 2) flat out ivec4 vert_main_loc2_Output; +layout(location = 3) flat out uvec4 vert_main_loc3_Output; +Interface vert_main_inner() { + return Interface(0, 0u, ivec4(0), uvec4(0u), vec4(0.0f)); +} +void main() { + Interface v = vert_main_inner(); + vert_main_loc0_Output = v.i; + vert_main_loc1_Output = v.u; + vert_main_loc2_Output = v.vi; + vert_main_loc3_Output = v.vu; + gl_Position = v.pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; +} +#version 310 es precision highp float; precision highp int; -Interface main() { - return Interface(0, 0u, ivec4(0), uvec4(0u), vec4(0.0f)); -} -int main(Interface inputs) { - return inputs.i; -} -error: Error parsing GLSL shader: -ERROR: 0:14: 'structure' : entry point cannot return a value -ERROR: 0:14: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - struct Interface { int i; uint u; @@ -35,22 +39,15 @@ uvec4 vu; vec4 pos; }; -precision highp float; -precision highp int; - -Interface main() { - return Interface(0, 0u, ivec4(0), uvec4(0u), vec4(0.0f)); -} -int main(Interface inputs) { +layout(location = 0) flat in int frag_main_loc0_Input; +layout(location = 1) flat in uint frag_main_loc1_Input; +layout(location = 2) flat in ivec4 frag_main_loc2_Input; +layout(location = 3) flat in uvec4 frag_main_loc3_Input; +layout(location = 0) out int frag_main_loc0_Output; +int frag_main_inner(Interface inputs) { return inputs.i; } -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + frag_main_loc0_Output = frag_main_inner(Interface(frag_main_loc0_Input, frag_main_loc1_Input, frag_main_loc2_Input, frag_main_loc3_Input, gl_FragCoord)); +}
diff --git a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.ir.glsl index 1cba7bc..e17bedc 100644 --- a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Out { vec4 pos; float none;
diff --git a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.ir.glsl index 0fc5a09..e782984 100644 --- a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct Out { vec4 pos; };
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl index 7d2e5e3..7ab8b13 100644 --- a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl
@@ -1,54 +1,43 @@ -SKIP: FAILED - #version 310 es + struct Interface { float col1; float col2; vec4 pos; }; + +layout(location = 1) out float vert_main_loc1_Output; +layout(location = 2) out float vert_main_loc2_Output; +Interface vert_main_inner() { + return Interface(0.40000000596046447754f, 0.60000002384185791016f, vec4(0.0f)); +} +void main() { + Interface v = vert_main_inner(); + vert_main_loc1_Output = v.col1; + vert_main_loc2_Output = v.col2; + gl_Position = v.pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; +} +#version 310 es precision highp float; precision highp int; -Interface main() { - return Interface(0.40000000596046447754f, 0.60000002384185791016f, vec4(0.0f)); -} -void main(Interface colors) { - float r = colors.col1; - float g = colors.col2; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'structure' : entry point cannot return a value -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es - struct Interface { float col1; float col2; vec4 pos; }; -precision highp float; -precision highp int; - -Interface main() { - return Interface(0.40000000596046447754f, 0.60000002384185791016f, vec4(0.0f)); -} -void main(Interface colors) { +layout(location = 1) in float frag_main_loc1_Input; +layout(location = 2) in float frag_main_loc2_Input; +void frag_main_inner(Interface colors) { float r = colors.col1; float g = colors.col2; } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + frag_main_inner(Interface(frag_main_loc1_Input, frag_main_loc2_Input, gl_FragCoord)); +}
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl index 677cf68..e75d85b 100644 --- a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl
@@ -1,56 +1,45 @@ -SKIP: FAILED - #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct Interface { float col1; float16_t col2; vec4 pos; }; + +layout(location = 1) out float vert_main_loc1_Output; +layout(location = 2) out float16_t vert_main_loc2_Output; +Interface vert_main_inner() { + return Interface(0.40000000596046447754f, 0.599609375hf, vec4(0.0f)); +} +void main() { + Interface v = vert_main_inner(); + vert_main_loc1_Output = v.col1; + vert_main_loc2_Output = v.col2; + gl_Position = v.pos; + gl_Position[1u] = -(gl_Position.y); + gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); + gl_PointSize = 1.0f; +} +#version 310 es +#extension GL_AMD_gpu_shader_half_float: require precision highp float; precision highp int; -Interface main() { - return Interface(0.40000000596046447754f, 0.599609375hf, vec4(0.0f)); -} -void main(Interface colors) { - float r = colors.col1; - float16_t g = colors.col2; -} -error: Error parsing GLSL shader: -ERROR: 0:13: 'structure' : entry point cannot return a value -ERROR: 0:13: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -#extension GL_AMD_gpu_shader_half_float: require - struct Interface { float col1; float16_t col2; vec4 pos; }; -precision highp float; -precision highp int; - -Interface main() { - return Interface(0.40000000596046447754f, 0.599609375hf, vec4(0.0f)); -} -void main(Interface colors) { +layout(location = 1) in float frag_main_loc1_Input; +layout(location = 2) in float16_t frag_main_loc2_Input; +void frag_main_inner(Interface colors) { float r = colors.col1; float16_t g = colors.col2; } -error: Error parsing GLSL shader: -ERROR: 0:5: 'float' : type requires declaration of default precision qualifier -ERROR: 0:5: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + frag_main_inner(Interface(frag_main_loc1_Input, frag_main_loc2_Input, gl_FragCoord)); +}
diff --git a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl index c31a09d..7a80b90 100644 --- a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct VertexOutput { vec4 pos; int loc0; @@ -22,6 +23,7 @@ } #version 310 es + struct VertexOutput { vec4 pos; int loc0;
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl index 20a1b5d..841f862 100644 --- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl
@@ -1,34 +1,31 @@ -SKIP: FAILED - #version 310 es +precision highp float; +precision highp int; + struct S { float f; uint u; vec4 v; }; -precision highp float; -precision highp int; - -S tint_symbol; +layout(binding = 0, std430) +buffer tint_symbol_3_1_ssbo { + S tint_symbol_2; +} v_1; +layout(location = 0) in float frag_main_loc0_Input; +layout(location = 1) flat in uint frag_main_loc1_Input; void tint_store_and_preserve_padding(inout S target, S value_param) { target.f = value_param.f; target.u = value_param.u; target.v = value_param.v; } -void main(S tint_symbol_1) { +void frag_main_inner(S tint_symbol_1) { float f = tint_symbol_1.f; uint u = tint_symbol_1.u; vec4 v = tint_symbol_1.v; - tint_store_and_preserve_padding(tint_symbol, tint_symbol_1); + tint_store_and_preserve_padding(v_1.tint_symbol_2, tint_symbol_1); } -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + frag_main_inner(S(frag_main_loc0_Input, frag_main_loc1_Input, gl_FragCoord)); +}
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl index 21456b6..ddce64e 100644 --- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl
@@ -1,7 +1,8 @@ -SKIP: FAILED - #version 310 es #extension GL_AMD_gpu_shader_half_float: require +precision highp float; +precision highp int; + struct S { float f; @@ -10,11 +11,15 @@ float16_t x; f16vec3 y; }; -precision highp float; -precision highp int; - -S tint_symbol; +layout(binding = 0, std430) +buffer tint_symbol_3_1_ssbo { + S tint_symbol_2; +} v_1; +layout(location = 0) in float frag_main_loc0_Input; +layout(location = 1) flat in uint frag_main_loc1_Input; +layout(location = 2) in float16_t frag_main_loc2_Input; +layout(location = 3) in f16vec3 frag_main_loc3_Input; void tint_store_and_preserve_padding(inout S target, S value_param) { target.f = value_param.f; target.u = value_param.u; @@ -22,20 +27,14 @@ target.x = value_param.x; target.y = value_param.y; } -void main(S tint_symbol_1) { +void frag_main_inner(S tint_symbol_1) { float f = tint_symbol_1.f; uint u = tint_symbol_1.u; vec4 v = tint_symbol_1.v; float16_t x = tint_symbol_1.x; f16vec3 y = tint_symbol_1.y; - tint_store_and_preserve_padding(tint_symbol, tint_symbol_1); + tint_store_and_preserve_padding(v_1.tint_symbol_2, tint_symbol_1); } -error: Error parsing GLSL shader: -ERROR: 0:5: 'float' : type requires declaration of default precision qualifier -ERROR: 0:5: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1 +void main() { + frag_main_inner(S(frag_main_loc0_Input, frag_main_loc1_Input, gl_FragCoord, frag_main_loc2_Input, frag_main_loc3_Input)); +}
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl index 215b725..ba757e9 100644 --- a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct VertexInputs { int loc0; uint loc1;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl index 4d09d08..1d03bba 100644 --- a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexInputs { int loc0; uint loc1;
diff --git a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.ir.glsl index d5c2e6e..2cb6483 100644 --- a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct VertexOutputs { vec4 position; };
diff --git a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.ir.glsl index fc28ee7..7e2fefe 100644 --- a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct VertexOutputs { int loc0; uint loc1;
diff --git a/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.ir.glsl index 250760d..e193d8c 100644 --- a/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.ir.glsl +++ b/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,7 @@ #version 310 es #extension GL_AMD_gpu_shader_half_float: require + struct VertexOutputs { int loc0; uint loc1;
diff --git a/test/tint/types/module_scope_var_initializers.wgsl.expected.ir.glsl b/test/tint/types/module_scope_var_initializers.wgsl.expected.ir.glsl index f1d22d4..d2ea038 100644 --- a/test/tint/types/module_scope_var_initializers.wgsl.expected.ir.glsl +++ b/test/tint/types/module_scope_var_initializers.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { float a; };
diff --git a/test/tint/types/struct_members.wgsl.expected.ir.glsl b/test/tint/types/struct_members.wgsl.expected.ir.glsl index ad54d0e..9f5f954 100644 --- a/test/tint/types/struct_members.wgsl.expected.ir.glsl +++ b/test/tint/types/struct_members.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S_inner { float a; };
diff --git a/test/tint/unicode/comments.wgsl.expected.ir.glsl b/test/tint/unicode/comments.wgsl.expected.ir.glsl index 80a4791..efa8269 100644 --- a/test/tint/unicode/comments.wgsl.expected.ir.glsl +++ b/test/tint/unicode/comments.wgsl.expected.ir.glsl
@@ -2,6 +2,5 @@ precision highp float; precision highp int; - void main() { }
diff --git a/test/tint/unicode/identifiers.wgsl.expected.ir.glsl b/test/tint/unicode/identifiers.wgsl.expected.ir.glsl index 06b4ca7..8603a35 100644 --- a/test/tint/unicode/identifiers.wgsl.expected.ir.glsl +++ b/test/tint/unicode/identifiers.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - float tint_symbol_2(int tint_symbol_3) { return float(tint_symbol_3); }
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl deleted file mode 100644 index 49ec229..0000000 --- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,27 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - float x_1_1; -}; -precision highp float; -precision highp int; - - -float x_1 = 0.0f; -void main_1() { -} -main_out main() { - main_1(); - return main_out(x_1); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl deleted file mode 100644 index 435c527..0000000 --- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,32 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - float field0; - float field1; -}; -precision highp float; -precision highp int; - - -float x_1[2] = float[2](0.0f, 0.0f); -S x_2 = S(0.0f, 0.0f); -void main_1() { -} -void main(float x_1_param, float x_1_param_1, float x_2_param, float x_2_param_1) { - x_1[0] = x_1_param; - x_1[1] = x_1_param_1; - x_2.field0 = x_2_param; - x_2.field1 = x_2_param_1; - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl deleted file mode 100644 index 5ef407e..0000000 --- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - float field0; - float field1; - float field2; - float field3; - float field4; - float field5; -}; -precision highp float; -precision highp int; - - -S x_1 = S(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); -void main_1() { -} -void main(float x_1_param, float x_1_param_1, float x_1_param_2, float x_1_param_3, float x_1_param_4, float x_1_param_5) { - x_1.field0 = x_1_param; - x_1.field1 = x_1_param_1; - x_1.field2 = x_1_param_2; - x_1.field3 = x_1_param_3; - x_1.field4 = x_1_param_4; - x_1.field5 = x_1_param_5; - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl deleted file mode 100644 index 78a98eb..0000000 --- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - float field0; - float field1; - float field2; - float field3; - float field4; - float field5; -}; - -struct main_out { - float x_1_1; - float x_1_2; - float x_1_3; - float x_1_4; - float x_1_5; - float x_1_6; -}; -precision highp float; -precision highp int; - - -S x_1 = S(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); -void main_1() { -} -main_out main() { - main_1(); - return main_out(x_1.field0, x_1.field1, x_1.field2, x_1.field3, x_1.field4, x_1.field5); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl deleted file mode 100644 index 7ab7f98..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,26 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strct { - float field0; -}; -precision highp float; -precision highp int; - - -void main_1() { - strct myvar = strct(0.0f); -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl deleted file mode 100644 index 1eedafa..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,28 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - uint field0; - float field1; - uint field2[2]; -}; -precision highp float; -precision highp int; - - -void main_1() { - S x_200 = S(1u, 1.5f, uint[2](1u, 2u)); -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:5: 'float' : type requires declaration of default precision qualifier -ERROR: 0:5: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl deleted file mode 100644 index f1cbbe2..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,28 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - uint field0; - float field1; - uint field2[2]; -}; -precision highp float; -precision highp int; - - -void main_1() { - S x_200 = S(0u, 0.0f, uint[2](0u, 0u)); -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:5: 'float' : type requires declaration of default precision qualifier -ERROR: 0:5: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl deleted file mode 100644 index 9a5d422..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,28 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - float field0; - float age; -}; -precision highp float; -precision highp int; - - -S myvar = S(0.0f, 0.0f); -void main_1() { - myvar.age = 42.0f; -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl deleted file mode 100644 index b20d1c8..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,35 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - float field0; - float age; -}; - -struct S_1 { - float field0; - float ancientness; -}; -precision highp float; -precision highp int; - - -S myvar = S(0.0f, 0.0f); -S_1 myvar2 = S_1(0.0f, 0.0f); -void main_1() { - myvar.age = 42.0f; - myvar2.ancientness = 420.0f; -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl deleted file mode 100644 index c5ecef3..0000000 --- a/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,29 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct S { - bool field0; - uint field1; - int field2; - float field3; -}; -precision highp float; -precision highp int; - - -void main_1() { - S x_11 = S(false, 0u, 0, 0.0f); -} -void main() { - main_1(); -} -error: Error parsing GLSL shader: -ERROR: 0:7: 'float' : type requires declaration of default precision qualifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/var/inferred/function.wgsl.expected.ir.glsl b/test/tint/var/inferred/function.wgsl.expected.ir.glsl index 477f56d..dec2b19 100644 --- a/test/tint/var/inferred/function.wgsl.expected.ir.glsl +++ b/test/tint/var/inferred/function.wgsl.expected.ir.glsl
@@ -2,7 +2,6 @@ precision highp float; precision highp int; - layout(location = 0) out vec4 tint_symbol_loc0_Output; vec4 tint_symbol_inner() { return vec4(0.0f);
diff --git a/test/tint/var/inferred/global.wgsl.expected.ir.glsl b/test/tint/var/inferred/global.wgsl.expected.ir.glsl index b432dad..3bdf2ab 100644 --- a/test/tint/var/inferred/global.wgsl.expected.ir.glsl +++ b/test/tint/var/inferred/global.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct MyStruct { float f1; };
diff --git a/test/tint/var/initialization/function/nested_structs.wgsl.expected.ir.glsl b/test/tint/var/initialization/function/nested_structs.wgsl.expected.ir.glsl index ba094bb..3340f80 100644 --- a/test/tint/var/initialization/function/nested_structs.wgsl.expected.ir.glsl +++ b/test/tint/var/initialization/function/nested_structs.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S1 { int i; };
diff --git a/test/tint/var/initialization/function/struct.wgsl.expected.ir.glsl b/test/tint/var/initialization/function/struct.wgsl.expected.ir.glsl index 20b403f..95c2146 100644 --- a/test/tint/var/initialization/function/struct.wgsl.expected.ir.glsl +++ b/test/tint/var/initialization/function/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; float b;
diff --git a/test/tint/var/initialization/private/nested_structs.wgsl.expected.ir.glsl b/test/tint/var/initialization/private/nested_structs.wgsl.expected.ir.glsl index b2e8d04..53cf22e 100644 --- a/test/tint/var/initialization/private/nested_structs.wgsl.expected.ir.glsl +++ b/test/tint/var/initialization/private/nested_structs.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S1 { int i; };
diff --git a/test/tint/var/initialization/private/struct.wgsl.expected.ir.glsl b/test/tint/var/initialization/private/struct.wgsl.expected.ir.glsl index 1d61535..0844b93 100644 --- a/test/tint/var/initialization/private/struct.wgsl.expected.ir.glsl +++ b/test/tint/var/initialization/private/struct.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct S { int a; float b;
diff --git a/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl b/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl index 057aec6..d2924d4 100644 --- a/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl +++ b/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl
@@ -1,5 +1,6 @@ #version 310 es + struct tint_symbol_1 { int tint_symbol; }; @@ -14,6 +15,7 @@ } #version 310 es + struct tint_symbol_1 { int tint_symbol; }; @@ -31,6 +33,7 @@ } #version 310 es + struct tint_symbol_1 { int tint_symbol; };
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl deleted file mode 100644 index 2d9ee37..0000000 --- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,30 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 final_color_1; -}; -precision highp float; -precision highp int; - - -vec4 final_color = vec4(0.0f); -vec4 frag_color = vec4(0.0f); -void main_1() { - final_color = frag_color; -} -main_out main(vec4 frag_color_param) { - frag_color = frag_color_param; - main_1(); - return main_out(final_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl deleted file mode 100644 index c4e9efd..0000000 --- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,31 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 final_color_1; -}; -precision highp float; -precision highp int; - - -vec4 final_color = vec4(0.0f); -vec4 frag_color = vec4(0.0f); -void main_1() { - vec4 x_12 = frag_color; - final_color = x_12; -} -main_out main(vec4 frag_color_param) { - frag_color = frag_color_param; - main_1(); - return main_out(final_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index a7ead66..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,32 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x = 0; - x = 0; - if ((vec4(1.0f)[min(max(x, 0), 3)] >= 1.0f)) { - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ad04177..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,33 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x = 0; - x = 0; - int x_5 = x; - if ((vec4(1.0f)[min(max(x_5, 0), 3)] >= 1.0f)) { - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index edb77a7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,171 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -struct tmp_struct { - int nmb[1]; -}; - -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int x_24[1] = int[1](0); - bool x_68 = false; - int x_17 = 0; - int x_18 = 0; - int x_19 = 0; - int x_20 = 0; - bool x_69 = false; - float tmp_float = 0.0f; - vec3 color = vec3(0.0f); - { - while(true) { - bool x_79 = false; - int x_25 = 0; - int x_26 = 0; - vec3 x_101 = vec3(0.0f); - float x_75 = x_11.injectionSwitch.y; - tmp_float = x_75; - vec3 x_76 = vec3(x_75); - color = x_76; - x_24 = int[1](0); - x_68 = false; - x_79 = false; - { - while(true) { - int x_21 = 0; - bool x_93 = false; - x_18 = 1; - x_21 = 1; - { - while(true) { - x_25 = 0; - x_93 = x_79; - if ((x_21 > 10)) { - } else { - break; - } - int x_22 = (x_21 - 1); - x_19 = x_22; - if ((x_24[x_22] == 1)) { - x_68 = true; - x_17 = 1; - x_25 = 1; - x_93 = true; - break; - } - x_18 = x_22; - { - x_21 = x_22; - } - continue; - } - } - x_26 = x_25; - if (x_93) { - break; - } - x_68 = true; - x_17 = -1; - x_26 = -1; - break; - } - } - x_20 = x_26; - if ((x_26 == -1)) { - continue_execution = false; - } else { - x_GLF_color = vec4(0.0f); - x_101 = vec3(x_76[0u], (x_76.yz + vec2(1.0f)).xy); - color = x_101; - if ((x_11.injectionSwitch.x > 1.0f)) { - x_69 = true; - break; - } - } - x_GLF_color = vec4(x_101.x, x_101.y, x_101.z, 1.0f); - x_69 = true; - break; - } - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -int binarySearch_struct_tmp_struct_i1_1_1_(inout tmp_struct obj) { - bool x_112 = false; - int x_16 = 0; - int one = 0; - int zero = 0; - bool x_114 = false; - int x_27 = 0; - int x_28 = 0; - x_114 = false; - { - while(true) { - int x_15 = 0; - bool x_128 = false; - one = 1; - x_15 = 1; - { - while(true) { - x_27 = 0; - x_128 = x_114; - if ((x_15 > 10)) { - } else { - break; - } - int x_13 = (x_15 - 1); - zero = x_13; - if ((obj.nmb[x_13] == 1)) { - x_112 = true; - x_16 = 1; - x_27 = 1; - x_128 = true; - break; - } - one = x_13; - { - x_15 = x_13; - } - continue; - } - } - x_28 = x_27; - if (x_128) { - break; - } - x_112 = true; - x_16 = -1; - x_28 = -1; - break; - } - } - return x_28; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2f731d8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,187 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -struct tmp_struct { - int nmb[1]; -}; - -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int x_24[1] = int[1](0); - bool x_68 = false; - int x_17 = 0; - int x_18 = 0; - int x_19 = 0; - int x_20 = 0; - bool x_69 = false; - float tmp_float = 0.0f; - vec3 color = vec3(0.0f); - { - while(true) { - int x_25 = 0; - vec3 x_101 = vec3(0.0f); - bool x_79_phi = false; - int x_26_phi = 0; - float x_75 = x_11.injectionSwitch.y; - tmp_float = x_75; - vec3 x_76 = vec3(x_75, x_75, x_75); - color = x_76; - x_24 = int[1](0); - x_68 = false; - x_79_phi = false; - { - while(true) { - int x_21_phi = 0; - int x_25_phi = 0; - bool x_93_phi = false; - bool x_79 = x_79_phi; - x_18 = 1; - x_21_phi = 1; - { - while(true) { - int x_21 = x_21_phi; - x_25_phi = 0; - x_93_phi = x_79; - if ((x_21 > 10)) { - } else { - break; - } - int x_22 = (x_21 - 1); - x_19 = x_22; - int x_23 = x_24[x_22]; - if ((x_23 == 1)) { - x_68 = true; - x_17 = 1; - x_25_phi = 1; - x_93_phi = true; - break; - } - x_18 = x_22; - { - x_21_phi = x_22; - } - continue; - } - } - x_25 = x_25_phi; - bool x_93 = x_93_phi; - x_26_phi = x_25; - if (x_93) { - break; - } - x_68 = true; - x_17 = -1; - x_26_phi = -1; - break; - } - } - int x_26 = x_26_phi; - x_20 = x_26; - if ((x_26 == -1)) { - continue_execution = false; - } else { - x_GLF_color = vec4(0.0f); - vec2 x_100 = (vec2(x_76[1u], x_76[2u]) + vec2(1.0f)); - x_101 = vec3(x_76[0u], x_100[0u], x_100[1u]); - color = x_101; - float x_103 = x_11.injectionSwitch.x; - if ((x_103 > 1.0f)) { - x_69 = true; - break; - } - } - x_GLF_color = vec4(x_101.x, x_101.y, x_101.z, 1.0f); - x_69 = true; - break; - } - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -int binarySearch_struct_tmp_struct_i1_1_1_(inout tmp_struct obj) { - bool x_112 = false; - int x_16 = 0; - int one = 0; - int zero = 0; - int x_27 = 0; - bool x_114_phi = false; - int x_28_phi = 0; - x_114_phi = false; - { - while(true) { - int x_15_phi = 0; - int x_27_phi = 0; - bool x_128_phi = false; - bool x_114 = x_114_phi; - one = 1; - x_15_phi = 1; - { - while(true) { - int x_15 = x_15_phi; - x_27_phi = 0; - x_128_phi = x_114; - if ((x_15 > 10)) { - } else { - break; - } - int x_13 = (x_15 - 1); - zero = x_13; - int x_14 = obj.nmb[x_13]; - if ((x_14 == 1)) { - x_112 = true; - x_16 = 1; - x_27_phi = 1; - x_128_phi = true; - break; - } - one = x_13; - { - x_15_phi = x_13; - } - continue; - } - } - x_27 = x_27_phi; - bool x_128 = x_128_phi; - x_28_phi = x_27; - if (x_128) { - break; - } - x_112 = true; - x_16 = -1; - x_28_phi = -1; - break; - } - } - int x_28 = x_28_phi; - return x_28; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 46e030d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,159 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct QuicksortObject { - int numbers[10]; -}; - -struct buf0 { - vec2 resolution; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_30; -void swap_i1_i1_(inout int i, inout int j) { - int temp = 0; - temp = obj.numbers[i]; - int x_95 = i; - obj.numbers[x_95] = obj.numbers[j]; - int x_100 = j; - obj.numbers[x_100] = temp; -} -int performPartition_i1_i1_(inout int l, inout int h) { - int pivot = 0; - int i_1 = 0; - int j_1 = 0; - int param = 0; - int param_1 = 0; - int param_2 = 0; - int param_3 = 0; - pivot = obj.numbers[h]; - i_1 = (l - 1); - j_1 = l; - { - while(true) { - if ((j_1 <= (h - 1))) { - } else { - break; - } - if ((obj.numbers[j_1] <= pivot)) { - i_1 = (i_1 + 1); - param = i_1; - param_1 = j_1; - swap_i1_i1_(param, param_1); - } - { - j_1 = (j_1 + 1); - } - continue; - } - } - param_2 = (i_1 + 1); - param_3 = h; - swap_i1_i1_(param_2, param_3); - int x_137 = i_1; - return (x_137 + 1); -} -void quicksort_() { - int l_1 = 0; - int h_1 = 0; - int top = 0; - int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int p = 0; - int param_4 = 0; - int param_5 = 0; - l_1 = 0; - h_1 = 9; - top = -1; - int x_141 = (top + 1); - top = x_141; - stack[x_141] = l_1; - int x_145 = (top + 1); - top = x_145; - stack[x_145] = h_1; - { - while(true) { - if ((top >= 0)) { - } else { - break; - } - int x_155 = top; - top = (top - 1); - h_1 = stack[x_155]; - int x_159 = top; - top = (top - 1); - l_1 = stack[x_159]; - param_4 = l_1; - param_5 = h_1; - int x_165 = performPartition_i1_i1_(param_4, param_5); - p = x_165; - if (((p - 1) > l_1)) { - int x_173 = (top + 1); - top = x_173; - stack[x_173] = l_1; - int x_177 = (top + 1); - top = x_177; - stack[x_177] = (p - 1); - } - if (((p + 1) < h_1)) { - int x_188 = (top + 1); - top = x_188; - stack[x_188] = (p + 1); - int x_193 = (top + 1); - top = x_193; - stack[x_193] = h_1; - } - { - } - continue; - } - } -} -void main_1() { - int i_2 = 0; - i_2 = 0; - { - while(true) { - if ((i_2 < 10)) { - } else { - break; - } - int x_67 = i_2; - obj.numbers[x_67] = (10 - i_2); - int x_71 = i_2; - obj.numbers[x_71] = (obj.numbers[i_2] * obj.numbers[i_2]); - { - i_2 = (i_2 + 1); - } - continue; - } - } - quicksort_(); - if ((obj.numbers[0] < obj.numbers[4])) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f, 1.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index eea9f0b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,209 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct QuicksortObject { - int numbers[10]; -}; - -struct buf0 { - vec2 resolution; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_30; -void swap_i1_i1_(inout int i, inout int j) { - int temp = 0; - int x_92 = i; - int x_94 = obj.numbers[x_92]; - temp = x_94; - int x_95 = i; - int x_96 = j; - int x_98 = obj.numbers[x_96]; - obj.numbers[x_95] = x_98; - int x_100 = j; - int x_101 = temp; - obj.numbers[x_100] = x_101; -} -int performPartition_i1_i1_(inout int l, inout int h) { - int pivot = 0; - int i_1 = 0; - int j_1 = 0; - int param = 0; - int param_1 = 0; - int param_2 = 0; - int param_3 = 0; - int x_104 = h; - int x_106 = obj.numbers[x_104]; - pivot = x_106; - int x_107 = l; - i_1 = (x_107 - 1); - int x_109 = l; - j_1 = x_109; - { - while(true) { - int x_114 = j_1; - int x_115 = h; - if ((x_114 <= (x_115 - 1))) { - } else { - break; - } - int x_119 = j_1; - int x_121 = obj.numbers[x_119]; - int x_122 = pivot; - if ((x_121 <= x_122)) { - int x_126 = i_1; - i_1 = (x_126 + 1); - int x_128 = i_1; - param = x_128; - int x_129 = j_1; - param_1 = x_129; - swap_i1_i1_(param, param_1); - } - { - int x_131 = j_1; - j_1 = (x_131 + 1); - } - continue; - } - } - int x_133 = i_1; - param_2 = (x_133 + 1); - int x_135 = h; - param_3 = x_135; - swap_i1_i1_(param_2, param_3); - int x_137 = i_1; - return (x_137 + 1); -} -void quicksort_() { - int l_1 = 0; - int h_1 = 0; - int top = 0; - int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int p = 0; - int param_4 = 0; - int param_5 = 0; - l_1 = 0; - h_1 = 9; - top = -1; - int x_140 = top; - int x_141 = (x_140 + 1); - top = x_141; - int x_142 = l_1; - stack[x_141] = x_142; - int x_144 = top; - int x_145 = (x_144 + 1); - top = x_145; - int x_146 = h_1; - stack[x_145] = x_146; - { - while(true) { - int x_152 = top; - if ((x_152 >= 0)) { - } else { - break; - } - int x_155 = top; - top = (x_155 - 1); - int x_158 = stack[x_155]; - h_1 = x_158; - int x_159 = top; - top = (x_159 - 1); - int x_162 = stack[x_159]; - l_1 = x_162; - int x_163 = l_1; - param_4 = x_163; - int x_164 = h_1; - param_5 = x_164; - int x_165 = performPartition_i1_i1_(param_4, param_5); - p = x_165; - int x_166 = p; - int x_168 = l_1; - if (((x_166 - 1) > x_168)) { - int x_172 = top; - int x_173 = (x_172 + 1); - top = x_173; - int x_174 = l_1; - stack[x_173] = x_174; - int x_176 = top; - int x_177 = (x_176 + 1); - top = x_177; - int x_178 = p; - stack[x_177] = (x_178 - 1); - } - int x_181 = p; - int x_183 = h_1; - if (((x_181 + 1) < x_183)) { - int x_187 = top; - int x_188 = (x_187 + 1); - top = x_188; - int x_189 = p; - stack[x_188] = (x_189 + 1); - int x_192 = top; - int x_193 = (x_192 + 1); - top = x_193; - int x_194 = h_1; - stack[x_193] = x_194; - } - { - } - continue; - } - } -} -void main_1() { - int i_2 = 0; - i_2 = 0; - { - while(true) { - int x_64 = i_2; - if ((x_64 < 10)) { - } else { - break; - } - int x_67 = i_2; - int x_68 = i_2; - obj.numbers[x_67] = (10 - x_68); - int x_71 = i_2; - int x_72 = i_2; - int x_74 = obj.numbers[x_72]; - int x_75 = i_2; - int x_77 = obj.numbers[x_75]; - obj.numbers[x_71] = (x_74 * x_77); - { - int x_80 = i_2; - i_2 = (x_80 + 1); - } - continue; - } - } - quicksort_(); - int x_84 = obj.numbers[0]; - int x_86 = obj.numbers[4]; - if ((x_84 < x_86)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f, 1.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3a9395d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,113 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0); -vec4 tint_symbol = vec4(0.0f); -int temp[7] = int[7](0, 0, 0, 0, 0, 0, 0); -vec4 x_GLF_color = vec4(0.0f); -float func_i1_(inout int a) { - int b = 0; - int i = 0; - bool x_115 = false; - bool x_116 = false; - b = 0; - data[0] = 5; - data[2] = 0; - data[4] = 0; - data[6] = 0; - data[8] = 0; - if ((tint_symbol.x >= 0.0f)) { - { - while(true) { - if ((b <= a)) { - } else { - break; - } - if ((b <= 5)) { - int x_87 = b; - temp[x_87] = data[b]; - b = (b + 2); - } - { - } - continue; - } - } - } - i = 0; - { - while(true) { - if ((i < 3)) { - } else { - break; - } - int x_101 = i; - data[x_101] = (temp[0] + 1); - { - i = (i + 1); - } - continue; - } - } - bool x_110 = (temp[0] == 5); - x_116 = x_110; - if (x_110) { - x_115 = (data[0] == 6); - x_116 = x_115; - } - if (x_116) { - return 1.0f; - } else { - return 0.0f; - } - /* unreachable */ -} -void main_1() { - int i_1 = 0; - int param = 0; - int param_1 = 0; - i_1 = 0; - { - while(true) { - if ((i_1 < 6)) { - } else { - break; - } - param = i_1; - float x_55 = func_i1_(param); - param_1 = i_1; - float x_57 = func_i1_(param_1); - if ((x_57 == 1.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } - { - i_1 = (i_1 + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 07f85cb..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,130 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0); -vec4 tint_symbol = vec4(0.0f); -int temp[7] = int[7](0, 0, 0, 0, 0, 0, 0); -vec4 x_GLF_color = vec4(0.0f); -float func_i1_(inout int a) { - int b = 0; - int i = 0; - bool x_115 = false; - bool x_116_phi = false; - b = 0; - data[0] = 5; - data[2] = 0; - data[4] = 0; - data[6] = 0; - data[8] = 0; - float x_71 = tint_symbol.x; - if ((x_71 >= 0.0f)) { - { - while(true) { - int x_79 = b; - int x_80 = a; - if ((x_79 <= x_80)) { - } else { - break; - } - int x_83 = b; - if ((x_83 <= 5)) { - int x_87 = b; - int x_88 = b; - int x_90 = data[x_88]; - temp[x_87] = x_90; - int x_92 = b; - b = (x_92 + 2); - } - { - } - continue; - } - } - } - i = 0; - { - while(true) { - int x_98 = i; - if ((x_98 < 3)) { - } else { - break; - } - int x_101 = i; - int x_103 = temp[0]; - data[x_101] = (x_103 + 1); - { - int x_106 = i; - i = (x_106 + 1); - } - continue; - } - } - int x_109 = temp[0]; - bool x_110 = (x_109 == 5); - x_116_phi = x_110; - if (x_110) { - int x_114 = data[0]; - x_115 = (x_114 == 6); - x_116_phi = x_115; - } - bool x_116 = x_116_phi; - if (x_116) { - return 1.0f; - } else { - return 0.0f; - } - /* unreachable */ -} -void main_1() { - int i_1 = 0; - int param = 0; - int param_1 = 0; - i_1 = 0; - { - while(true) { - int x_51 = i_1; - if ((x_51 < 6)) { - } else { - break; - } - int x_54 = i_1; - param = x_54; - float x_55 = func_i1_(param); - int x_56 = i_1; - param_1 = x_56; - float x_57 = func_i1_(param_1); - if ((x_57 == 1.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } - { - int x_62 = i_1; - i_1 = (x_62 + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d36a05f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,112 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void func_i1_(inout int x) { - int a = 0; - int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0); - int temp[2] = int[2](0, 0); - int i = 0; - bool x_95 = false; - bool x_96_phi = false; - a = 0; - data[0] = 5; - { - while(true) { - int x_56 = a; - int x_57 = x; - if ((x_56 <= x_57)) { - } else { - break; - } - int x_60 = a; - if ((x_60 <= 10)) { - int x_64 = a; - int x_66 = a; - int x_69 = data[min(x_66, 0)]; - temp[min(x_64, 1)] = x_69; - int x_71 = a; - a = (x_71 + 1); - } - { - } - continue; - } - } - i = 0; - { - while(true) { - int x_77 = i; - if ((x_77 < 2)) { - } else { - break; - } - int x_80 = i; - int x_82 = temp[0]; - int x_83 = i; - data[x_80] = (x_82 + x_83); - { - int x_86 = i; - i = (x_86 + 1); - } - continue; - } - } - int x_89 = data[0]; - bool x_90 = (x_89 == 5); - x_96_phi = x_90; - if (x_90) { - int x_94 = data[1]; - x_95 = (x_94 == 6); - x_96_phi = x_95; - } - bool x_96 = x_96_phi; - if (x_96) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -void main_1() { - int i_1 = 0; - int param = 0; - i_1 = 1; - { - while(true) { - int x_43 = i_1; - if ((x_43 < 6)) { - } else { - break; - } - int x_46 = i_1; - param = x_46; - func_i1_(param); - { - int x_48 = i_1; - i_1 = (x_48 + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 99d394e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool GLF_live12c5 = false; - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - { - while(true) { - if ((x_5.injectionSwitch.y < 0.0f)) { - GLF_live12c5 = false; - if (GLF_live12c5) { - { - if (true) { break; } - } - continue; - } else { - { - if (true) { break; } - } - continue; - } - } - break; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 5f53dc3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,55 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool GLF_live12c5 = false; - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - { - while(true) { - float x_31 = x_5.injectionSwitch.y; - if ((x_31 < 0.0f)) { - GLF_live12c5 = false; - bool x_35 = GLF_live12c5; - if (x_35) { - { - if (true) { break; } - } - continue; - } else { - { - if (true) { break; } - } - continue; - } - } - break; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d626a42..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void func_() { - if ((1.0f > x_6.one)) { - continue_execution = false; - } -} -void main_1() { - x_GLF_color = vec4(0.0f); - { - while(true) { - func_(); - if (false) { - } else { - break; - } - { - } - continue; - } - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 7e7b26f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void func_() { - float x_28 = x_6.one; - if ((1.0f > x_28)) { - continue_execution = false; - } -} -void main_1() { - x_GLF_color = vec4(0.0f); - { - while(true) { - func_(); - if (false) { - } else { - break; - } - { - } - continue; - } - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index a2b2312..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,43 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_26 = x_5.injectionSwitch.x; - if ((x_26 > 1.0f)) { - { - while(true) { - x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f); - break; - } - } - return; - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index aa2b770..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,59 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int GLF_live6tree[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -int GLF_live6search_() { - int GLF_live6index = 0; - int GLF_live6currentNode = 0; - GLF_live6index = 0; - { - while(true) { - if (true) { - } else { - break; - } - GLF_live6currentNode = GLF_live6tree[GLF_live6index]; - if ((GLF_live6currentNode != 1)) { - return 1; - } - GLF_live6index = 1; - { - } - continue; - } - } - return 1; -} -void main_1() { - if ((x_9.injectionSwitch.x > 1.0f)) { - int x_13 = GLF_live6search_(); - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 749e3c1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int GLF_live6tree[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -int GLF_live6search_() { - int GLF_live6index = 0; - int GLF_live6currentNode = 0; - GLF_live6index = 0; - { - while(true) { - if (true) { - } else { - break; - } - int x_10 = GLF_live6index; - int x_11 = GLF_live6tree[x_10]; - GLF_live6currentNode = x_11; - int x_12 = GLF_live6currentNode; - if ((x_12 != 1)) { - return 1; - } - GLF_live6index = 1; - { - } - continue; - } - } - return 1; -} -void main_1() { - float x_40 = x_9.injectionSwitch.x; - if ((x_40 > 1.0f)) { - int x_13 = GLF_live6search_(); - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 99c9e6e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,84 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -float func_() { - float s = 0.0f; - int i = 0; - int j = 0; - s = 2.0f; - i = 0; - { - while(true) { - if ((i < (x_8.zero + 1))) { - } else { - break; - } - s = (s + 3.0f); - j = 0; - { - while(true) { - if ((j < 10)) { - } else { - break; - } - if ((x_8.zero == 1)) { - continue_execution = false; - } - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - float x_71 = s; - return x_71; -} -void main_1() { - vec4 c = vec4(0.0f); - float x_34 = func_(); - c = vec4(x_34, 0.0f, 0.0f, 1.0f); - float x_36 = func_(); - if ((x_36 == 5.0f)) { - x_GLF_color = c; - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2fdf4f1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,92 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -float func_() { - float s = 0.0f; - int i = 0; - int j = 0; - s = 2.0f; - i = 0; - { - while(true) { - int x_47 = i; - int x_49 = x_8.zero; - if ((x_47 < (x_49 + 1))) { - } else { - break; - } - float x_53 = s; - s = (x_53 + 3.0f); - j = 0; - { - while(true) { - int x_59 = j; - if ((x_59 < 10)) { - } else { - break; - } - int x_63 = x_8.zero; - if ((x_63 == 1)) { - continue_execution = false; - } - { - int x_67 = j; - j = (x_67 + 1); - } - continue; - } - } - { - int x_69 = i; - i = (x_69 + 1); - } - continue; - } - } - float x_71 = s; - return x_71; -} -void main_1() { - vec4 c = vec4(0.0f); - float x_34 = func_(); - c = vec4(x_34, 0.0f, 0.0f, 1.0f); - float x_36 = func_(); - if ((x_36 == 5.0f)) { - vec4 x_41 = c; - x_GLF_color = x_41; - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b5e72d2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - float d = 0.0f; - v = acos(ldexp(vec2(0.10000000149011611938f), ivec2(x_6.two, 3))); - d = distance(v, vec2(1.15927994251251220703f, 0.64349997043609619141f)); - if ((d < 0.00999999977648258209f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 34f59a3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,44 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - float d = 0.0f; - int x_35 = x_6.two; - v = acos(ldexp(vec2(0.10000000149011611938f), ivec2(x_35, 3))); - vec2 x_39 = v; - d = distance(x_39, vec2(1.15927994251251220703f, 0.64349997043609619141f)); - float x_41 = d; - if ((x_41 < 0.00999999977648258209f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index bbf06e6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float undefined = 0.0f; - bool x_51 = false; - bool x_52 = false; - undefined = 0.0f; - bool x_44 = (x_6.x_GLF_uniform_int_values[0].el == (x_6.x_GLF_uniform_int_values[0].el + x_6.x_GLF_uniform_int_values[1].el)); - x_52 = x_44; - if (!(x_44)) { - x_51 = (undefined > x_8.x_GLF_uniform_float_values[0].el); - x_52 = x_51; - } - if (x_52) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 804cba6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float undefined = 0.0f; - bool x_51 = false; - bool x_52_phi = false; - undefined = 5.0f; - int x_10 = x_6.x_GLF_uniform_int_values[0].el; - int x_11 = x_6.x_GLF_uniform_int_values[0].el; - int x_12 = x_6.x_GLF_uniform_int_values[1].el; - bool x_44 = (x_10 == (x_11 + x_12)); - x_52_phi = x_44; - if (!(x_44)) { - float x_48 = undefined; - float x_50 = x_8.x_GLF_uniform_float_values[0].el; - x_51 = (x_48 > x_50); - x_52_phi = x_51; - } - bool x_52 = x_52_phi; - if (x_52) { - int x_15 = x_6.x_GLF_uniform_int_values[0].el; - int x_16 = x_6.x_GLF_uniform_int_values[1].el; - int x_17 = x_6.x_GLF_uniform_int_values[1].el; - int x_18 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_15); - float v_1 = float(x_16); - float v_2 = float(x_17); - x_GLF_color = vec4(v, v_1, v_2, float(x_18)); - } else { - int x_19 = x_6.x_GLF_uniform_int_values[1].el; - float x_66 = float(x_19); - x_GLF_color = vec4(x_66, x_66, x_66, x_66); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f844b03..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float undefined = 0.0f; - bool x_45 = false; - bool x_46 = false; - undefined = 1.17520117759704589844f; - bool x_38 = (1 == x_6.x_GLF_uniform_int_values[0].el); - x_46 = x_38; - if (!(x_38)) { - x_45 = (undefined > x_8.x_GLF_uniform_float_values[0].el); - x_46 = x_45; - } - if (x_46) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c76a7ae..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float undefined = 0.0f; - bool x_45 = false; - bool x_46_phi = false; - undefined = 1.17520117759704589844f; - int x_10 = x_6.x_GLF_uniform_int_values[0].el; - bool x_38 = (1 == x_10); - x_46_phi = x_38; - if (!(x_38)) { - float x_42 = undefined; - float x_44 = x_8.x_GLF_uniform_float_values[0].el; - x_45 = (x_42 > x_44); - x_46_phi = x_45; - } - bool x_46 = x_46_phi; - if (x_46) { - int x_12 = x_6.x_GLF_uniform_int_values[0].el; - int x_13 = x_6.x_GLF_uniform_int_values[1].el; - int x_14 = x_6.x_GLF_uniform_int_values[1].el; - int x_15 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_12); - float v_1 = float(x_13); - float v_2 = float(x_14); - x_GLF_color = vec4(v, v_1, v_2, float(x_15)); - } else { - int x_16 = x_6.x_GLF_uniform_int_values[1].el; - float x_60 = float(x_16); - x_GLF_color = vec4(x_60, x_60, x_60, x_60); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 871a9bd..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[12]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_15; -void main_1() { - mat3x4 m0 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat3x4 m1 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - vec3 undefined = vec3(0.0f); - vec3 defined = vec3(0.0f); - vec4 v0 = vec4(0.0f); - vec4 v1 = vec4(0.0f); - vec4 v2 = vec4(0.0f); - vec4 v3 = vec4(0.0f); - float v = float(x_6.x_GLF_uniform_int_values[4].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[5].el); - vec4 v_2 = vec4(v, v_1, float(x_6.x_GLF_uniform_int_values[6].el), 4.0f); - float v_3 = float(x_6.x_GLF_uniform_int_values[10].el); - float v_4 = float(x_6.x_GLF_uniform_int_values[7].el); - vec4 v_5 = vec4(v_3, v_4, float(x_6.x_GLF_uniform_int_values[8].el), 8.0f); - float v_6 = float(x_6.x_GLF_uniform_int_values[11].el); - float v_7 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_8 = float(x_6.x_GLF_uniform_int_values[2].el); - m0 = mat3x4(v_2, v_5, vec4(v_6, v_7, v_8, float(x_6.x_GLF_uniform_int_values[3].el))); - float x_104 = float(x_6.x_GLF_uniform_int_values[4].el); - vec4 v_9 = vec4(x_104, 0.0f, 0.0f, 0.0f); - vec4 v_10 = vec4(0.0f, x_104, 0.0f, 0.0f); - m1 = mat3x4(v_9, v_10, vec4(0.0f, 0.0f, x_104, 0.0f)); - undefined = vec3(2.0f); - vec3 v_11 = vec3(float(x_6.x_GLF_uniform_int_values[4].el)); - defined = ldexp(v_11, ivec3(x_6.x_GLF_uniform_int_values[0].el)); - v0 = (m0 * undefined); - v1 = (m1 * undefined); - v2 = (m0 * defined); - v3 = (m1 * defined); - if ((v2.x > v3.x)) { - float v_12 = float(x_6.x_GLF_uniform_int_values[4].el); - float v_13 = float(x_6.x_GLF_uniform_int_values[9].el); - float v_14 = float(x_6.x_GLF_uniform_int_values[9].el); - x_GLF_color = vec4(v_12, v_13, v_14, float(x_6.x_GLF_uniform_int_values[4].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[9].el)); - } - if ((v0.x < v1.x)) { - x_GLF_color[1u] = x_15.x_GLF_uniform_float_values[0].el; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d5754ec..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,118 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[12]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_15; -void main_1() { - mat3x4 m0 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat3x4 m1 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - vec3 undefined = vec3(0.0f); - vec3 defined = vec3(0.0f); - vec4 v0 = vec4(0.0f); - vec4 v1 = vec4(0.0f); - vec4 v2 = vec4(0.0f); - vec4 v3 = vec4(0.0f); - int x_17 = x_6.x_GLF_uniform_int_values[4].el; - int x_18 = x_6.x_GLF_uniform_int_values[5].el; - int x_19 = x_6.x_GLF_uniform_int_values[6].el; - int x_20 = x_6.x_GLF_uniform_int_values[10].el; - int x_21 = x_6.x_GLF_uniform_int_values[7].el; - int x_22 = x_6.x_GLF_uniform_int_values[8].el; - int x_23 = x_6.x_GLF_uniform_int_values[11].el; - int x_24 = x_6.x_GLF_uniform_int_values[1].el; - int x_25 = x_6.x_GLF_uniform_int_values[2].el; - int x_26 = x_6.x_GLF_uniform_int_values[3].el; - float v = float(x_17); - float v_1 = float(x_18); - vec4 v_2 = vec4(v, v_1, float(x_19), 4.0f); - float v_3 = float(x_20); - float v_4 = float(x_21); - vec4 v_5 = vec4(v_3, v_4, float(x_22), 8.0f); - float v_6 = float(x_23); - float v_7 = float(x_24); - float v_8 = float(x_25); - m0 = mat3x4(v_2, v_5, vec4(v_6, v_7, v_8, float(x_26))); - int x_27 = x_6.x_GLF_uniform_int_values[4].el; - float x_104 = float(x_27); - vec4 v_9 = vec4(x_104, 0.0f, 0.0f, 0.0f); - vec4 v_10 = vec4(0.0f, x_104, 0.0f, 0.0f); - m1 = mat3x4(v_9, v_10, vec4(0.0f, 0.0f, x_104, 0.0f)); - undefined = vec3(2.0f); - int x_28 = x_6.x_GLF_uniform_int_values[4].el; - float x_111 = float(x_28); - int x_29 = x_6.x_GLF_uniform_int_values[0].el; - vec3 v_11 = vec3(x_111, x_111, x_111); - defined = ldexp(v_11, ivec3(x_29, x_29, x_29)); - mat3x4 x_116 = m0; - vec3 x_117 = undefined; - v0 = (x_116 * x_117); - mat3x4 x_119 = m1; - vec3 x_120 = undefined; - v1 = (x_119 * x_120); - mat3x4 x_122 = m0; - vec3 x_123 = defined; - v2 = (x_122 * x_123); - mat3x4 x_125 = m1; - vec3 x_126 = defined; - v3 = (x_125 * x_126); - float x_129 = v2.x; - float x_131 = v3.x; - if ((x_129 > x_131)) { - int x_30 = x_6.x_GLF_uniform_int_values[4].el; - int x_31 = x_6.x_GLF_uniform_int_values[9].el; - int x_32 = x_6.x_GLF_uniform_int_values[9].el; - int x_33 = x_6.x_GLF_uniform_int_values[4].el; - float v_12 = float(x_30); - float v_13 = float(x_31); - float v_14 = float(x_32); - x_GLF_color = vec4(v_12, v_13, v_14, float(x_33)); - } else { - int x_34 = x_6.x_GLF_uniform_int_values[9].el; - float x_146 = float(x_34); - x_GLF_color = vec4(x_146, x_146, x_146, x_146); - } - float x_149 = v0.x; - float x_151 = v1.x; - if ((x_149 < x_151)) { - float x_156 = x_15.x_GLF_uniform_float_values[0].el; - x_GLF_color[1u] = x_156; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ef0d3ec..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int arr[3] = int[3](0, 0, 0); - int a = 0; - int b = 0; - int c = 0; - int x_40 = x_7.x_GLF_uniform_int_values[1].el; - int x_42 = x_7.x_GLF_uniform_int_values[1].el; - int x_44 = x_7.x_GLF_uniform_int_values[1].el; - arr = int[3](x_40, x_42, x_44); - int x_47 = x_7.x_GLF_uniform_int_values[0].el; - int x_49 = arr[x_47]; - a = x_49; - int x_50 = a; - b = (x_50 - 1); - float x_53 = tint_symbol.x; - float x_55 = x_11.x_GLF_uniform_float_values[0].el; - if ((x_53 < x_55)) { - int x_59 = b; - b = (x_59 + 1); - } - int x_62 = x_7.x_GLF_uniform_int_values[0].el; - c = x_62; - int x_63 = c; - int x_65 = x_7.x_GLF_uniform_int_values[1].el; - int x_67 = x_7.x_GLF_uniform_int_values[2].el; - int x_69 = b; - arr[min(max(x_63, x_65), x_67)] = x_69; - int x_72 = x_7.x_GLF_uniform_int_values[0].el; - int x_74 = arr[x_72]; - int x_77 = x_7.x_GLF_uniform_int_values[1].el; - int x_79 = arr[x_77]; - int x_82 = x_7.x_GLF_uniform_int_values[1].el; - int x_84 = arr[x_82]; - int x_87 = x_7.x_GLF_uniform_int_values[2].el; - int x_89 = arr[x_87]; - float v = float(x_74); - float v_1 = float(x_79); - float v_2 = float(x_84); - x_GLF_color = vec4(v, v_1, v_2, float(x_89)); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2691fc4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,175 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[20]; -}; - -struct buf1 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_19; -void main_1() { - int arr0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int arr1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int a = 0; - int limiter0 = 0; - int limiter1 = 0; - int b = 0; - int limiter2 = 0; - int limiter3 = 0; - int d = 0; - int ref0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int ref1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i = 0; - arr0 = int[10](x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[2].el, x_6.x_GLF_uniform_int_values[4].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[7].el, x_6.x_GLF_uniform_int_values[8].el, x_6.x_GLF_uniform_int_values[9].el, x_6.x_GLF_uniform_int_values[0].el, x_6.x_GLF_uniform_int_values[10].el); - arr1 = int[10](x_6.x_GLF_uniform_int_values[1].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[15].el, x_6.x_GLF_uniform_int_values[16].el, x_6.x_GLF_uniform_int_values[17].el, x_6.x_GLF_uniform_int_values[13].el, x_6.x_GLF_uniform_int_values[14].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[18].el, x_6.x_GLF_uniform_int_values[19].el); - a = x_6.x_GLF_uniform_int_values[8].el; - { - while(true) { - if ((a < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - limiter0 = x_6.x_GLF_uniform_int_values[3].el; - { - while(true) { - if ((limiter0 < x_6.x_GLF_uniform_int_values[4].el)) { - } else { - break; - } - limiter0 = (limiter0 + 1); - limiter1 = x_6.x_GLF_uniform_int_values[2].el; - b = x_6.x_GLF_uniform_int_values[3].el; - { - while(true) { - if ((b < x_6.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - if ((limiter1 > x_6.x_GLF_uniform_int_values[5].el)) { - break; - } - limiter1 = (limiter1 + 1); - int x_145 = b; - arr0[x_145] = arr1[a]; - { - b = (b + 1); - } - continue; - } - } - { - } - continue; - } - } - limiter2 = 0; - { - while(true) { - if ((limiter2 < 5)) { - } else { - break; - } - limiter2 = (limiter2 + 1); - arr0[1] = arr1[1]; - { - } - continue; - } - } - { - while(true) { - limiter3 = 0; - d = 0; - { - while(true) { - if ((d < 10)) { - } else { - break; - } - if ((limiter3 > 4)) { - break; - } - limiter3 = (limiter3 + 1); - int x_181 = d; - arr1[x_181] = arr0[d]; - { - d = (d + 1); - } - continue; - } - } - { - int x_189 = x_6.x_GLF_uniform_int_values[2].el; - int x_191 = x_6.x_GLF_uniform_int_values[3].el; - if (!((x_189 == x_191))) { break; } - } - continue; - } - } - { - a = (a + 1); - } - continue; - } - } - ref0 = int[10](x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[7].el, x_6.x_GLF_uniform_int_values[8].el, x_6.x_GLF_uniform_int_values[9].el, x_6.x_GLF_uniform_int_values[0].el, x_6.x_GLF_uniform_int_values[10].el); - ref1 = int[10](x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[13].el, x_6.x_GLF_uniform_int_values[14].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[18].el, x_6.x_GLF_uniform_int_values[19].el); - float v = float(x_6.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[3].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[3].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el)); - i = x_6.x_GLF_uniform_int_values[3].el; - { - while(true) { - bool x_277 = false; - bool x_278 = false; - if ((i < x_6.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - bool x_267 = (arr0[i] != ref0[i]); - x_278 = x_267; - if (!(x_267)) { - x_277 = (arr1[i] != ref1[i]); - x_278 = x_277; - } - if (x_278) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[3].el)); - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ccd275b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,261 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[20]; -}; - -struct buf1 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_19; -void main_1() { - int arr0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int arr1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int a = 0; - int limiter0 = 0; - int limiter1 = 0; - int b = 0; - int limiter2 = 0; - int limiter3 = 0; - int d = 0; - int ref0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int ref1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i = 0; - int x_59 = x_6.x_GLF_uniform_int_values[3].el; - int x_61 = x_6.x_GLF_uniform_int_values[2].el; - int x_63 = x_6.x_GLF_uniform_int_values[4].el; - int x_65 = x_6.x_GLF_uniform_int_values[5].el; - int x_67 = x_6.x_GLF_uniform_int_values[6].el; - int x_69 = x_6.x_GLF_uniform_int_values[7].el; - int x_71 = x_6.x_GLF_uniform_int_values[8].el; - int x_73 = x_6.x_GLF_uniform_int_values[9].el; - int x_75 = x_6.x_GLF_uniform_int_values[0].el; - int x_77 = x_6.x_GLF_uniform_int_values[10].el; - arr0 = int[10](x_59, x_61, x_63, x_65, x_67, x_69, x_71, x_73, x_75, x_77); - int x_80 = x_6.x_GLF_uniform_int_values[1].el; - int x_82 = x_6.x_GLF_uniform_int_values[12].el; - int x_84 = x_6.x_GLF_uniform_int_values[15].el; - int x_86 = x_6.x_GLF_uniform_int_values[16].el; - int x_88 = x_6.x_GLF_uniform_int_values[17].el; - int x_90 = x_6.x_GLF_uniform_int_values[13].el; - int x_92 = x_6.x_GLF_uniform_int_values[14].el; - int x_94 = x_6.x_GLF_uniform_int_values[11].el; - int x_96 = x_6.x_GLF_uniform_int_values[18].el; - int x_98 = x_6.x_GLF_uniform_int_values[19].el; - arr1 = int[10](x_80, x_82, x_84, x_86, x_88, x_90, x_92, x_94, x_96, x_98); - int x_101 = x_6.x_GLF_uniform_int_values[8].el; - a = x_101; - { - while(true) { - int x_106 = a; - int x_108 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_106 < x_108)) { - } else { - break; - } - int x_112 = x_6.x_GLF_uniform_int_values[3].el; - limiter0 = x_112; - { - while(true) { - int x_117 = limiter0; - int x_119 = x_6.x_GLF_uniform_int_values[4].el; - if ((x_117 < x_119)) { - } else { - break; - } - int x_122 = limiter0; - limiter0 = (x_122 + 1); - int x_125 = x_6.x_GLF_uniform_int_values[2].el; - limiter1 = x_125; - int x_127 = x_6.x_GLF_uniform_int_values[3].el; - b = x_127; - { - while(true) { - int x_132 = b; - int x_134 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_132 < x_134)) { - } else { - break; - } - int x_137 = limiter1; - int x_139 = x_6.x_GLF_uniform_int_values[5].el; - if ((x_137 > x_139)) { - break; - } - int x_143 = limiter1; - limiter1 = (x_143 + 1); - int x_145 = b; - int x_146 = a; - int x_148 = arr1[x_146]; - arr0[x_145] = x_148; - { - int x_150 = b; - b = (x_150 + 1); - } - continue; - } - } - { - } - continue; - } - } - limiter2 = 0; - { - while(true) { - int x_156 = limiter2; - if ((x_156 < 5)) { - } else { - break; - } - int x_159 = limiter2; - limiter2 = (x_159 + 1); - int x_162 = arr1[1]; - arr0[1] = x_162; - { - } - continue; - } - } - { - while(true) { - limiter3 = 0; - d = 0; - { - while(true) { - int x_172 = d; - if ((x_172 < 10)) { - } else { - break; - } - int x_175 = limiter3; - if ((x_175 > 4)) { - break; - } - int x_179 = limiter3; - limiter3 = (x_179 + 1); - int x_181 = d; - int x_182 = d; - int x_184 = arr0[x_182]; - arr1[x_181] = x_184; - { - int x_186 = d; - d = (x_186 + 1); - } - continue; - } - } - { - int x_189 = x_6.x_GLF_uniform_int_values[2].el; - int x_191 = x_6.x_GLF_uniform_int_values[3].el; - if (!((x_189 == x_191))) { break; } - } - continue; - } - } - { - int x_193 = a; - a = (x_193 + 1); - } - continue; - } - } - int x_196 = x_6.x_GLF_uniform_int_values[11].el; - int x_198 = x_6.x_GLF_uniform_int_values[12].el; - int x_200 = x_6.x_GLF_uniform_int_values[11].el; - int x_202 = x_6.x_GLF_uniform_int_values[5].el; - int x_204 = x_6.x_GLF_uniform_int_values[6].el; - int x_206 = x_6.x_GLF_uniform_int_values[7].el; - int x_208 = x_6.x_GLF_uniform_int_values[8].el; - int x_210 = x_6.x_GLF_uniform_int_values[9].el; - int x_212 = x_6.x_GLF_uniform_int_values[0].el; - int x_214 = x_6.x_GLF_uniform_int_values[10].el; - ref0 = int[10](x_196, x_198, x_200, x_202, x_204, x_206, x_208, x_210, x_212, x_214); - int x_217 = x_6.x_GLF_uniform_int_values[11].el; - int x_219 = x_6.x_GLF_uniform_int_values[12].el; - int x_221 = x_6.x_GLF_uniform_int_values[11].el; - int x_223 = x_6.x_GLF_uniform_int_values[5].el; - int x_225 = x_6.x_GLF_uniform_int_values[6].el; - int x_227 = x_6.x_GLF_uniform_int_values[13].el; - int x_229 = x_6.x_GLF_uniform_int_values[14].el; - int x_231 = x_6.x_GLF_uniform_int_values[11].el; - int x_233 = x_6.x_GLF_uniform_int_values[18].el; - int x_235 = x_6.x_GLF_uniform_int_values[19].el; - ref1 = int[10](x_217, x_219, x_221, x_223, x_225, x_227, x_229, x_231, x_233, x_235); - int x_238 = x_6.x_GLF_uniform_int_values[2].el; - int x_241 = x_6.x_GLF_uniform_int_values[3].el; - int x_244 = x_6.x_GLF_uniform_int_values[3].el; - int x_247 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_238); - float v_1 = float(x_241); - float v_2 = float(x_244); - x_GLF_color = vec4(v, v_1, v_2, float(x_247)); - int x_251 = x_6.x_GLF_uniform_int_values[3].el; - i = x_251; - { - while(true) { - bool x_277 = false; - bool x_278_phi = false; - int x_256 = i; - int x_258 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_256 < x_258)) { - } else { - break; - } - int x_261 = i; - int x_263 = arr0[x_261]; - int x_264 = i; - int x_266 = ref0[x_264]; - bool x_267 = (x_263 != x_266); - x_278_phi = x_267; - if (!(x_267)) { - int x_271 = i; - int x_273 = arr1[x_271]; - int x_274 = i; - int x_276 = ref1[x_274]; - x_277 = (x_273 != x_276); - x_278_phi = x_277; - } - bool x_278 = x_278_phi; - if (x_278) { - int x_282 = x_6.x_GLF_uniform_int_values[3].el; - float x_283 = float(x_282); - x_GLF_color = vec4(x_283, x_283, x_283, x_283); - } - { - int x_285 = i; - i = (x_285 + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6ba00f0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[7]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v1 = vec4(0.0f); - vec4 v2 = vec4(0.0f); - vec4 v3 = vec4(0.0f); - vec4 v4 = vec4(0.0f); - bool x_69 = false; - bool x_70 = false; - bool x_77 = false; - bool x_78 = false; - bool x_85 = false; - bool x_86 = false; - bool x_93 = false; - bool x_94 = false; - v1 = vec4(x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[2].el); - v2 = vec4(1.57079637050628662109f, 1.11976957321166992188f, 1.0f, 0.92729520797729492188f); - v3 = vec4(x_6.x_GLF_uniform_float_values[0].el); - v4 = smoothstep(v1, v2, v3); - x_GLF_color = v4.xywx; - bool x_62 = (v4.x > x_6.x_GLF_uniform_float_values[4].el); - x_70 = x_62; - if (x_62) { - x_69 = (v4.x < x_6.x_GLF_uniform_float_values[5].el); - x_70 = x_69; - } - x_78 = x_70; - if (x_70) { - x_77 = (v4.y > x_6.x_GLF_uniform_float_values[3].el); - x_78 = x_77; - } - x_86 = x_78; - if (x_78) { - x_85 = (v4.y < x_6.x_GLF_uniform_float_values[6].el); - x_86 = x_85; - } - x_94 = x_86; - if (x_86) { - x_93 = (v4.w == x_6.x_GLF_uniform_float_values[0].el); - x_94 = x_93; - } - if (x_94) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ff045d7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,107 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[7]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v1 = vec4(0.0f); - vec4 v2 = vec4(0.0f); - vec4 v3 = vec4(0.0f); - vec4 v4 = vec4(0.0f); - bool x_69 = false; - bool x_77 = false; - bool x_85 = false; - bool x_93 = false; - bool x_70_phi = false; - bool x_78_phi = false; - bool x_86_phi = false; - bool x_94_phi = false; - float x_41 = x_6.x_GLF_uniform_float_values[2].el; - float x_43 = x_6.x_GLF_uniform_float_values[2].el; - float x_45 = x_6.x_GLF_uniform_float_values[0].el; - float x_47 = x_6.x_GLF_uniform_float_values[2].el; - v1 = vec4(x_41, x_43, x_45, x_47); - v2 = vec4(1.57079637050628662109f, 1.11976957321166992188f, 1.0f, 0.92729520797729492188f); - float x_50 = x_6.x_GLF_uniform_float_values[0].el; - v3 = vec4(x_50, x_50, x_50, x_50); - vec4 x_52 = v1; - vec4 x_53 = v2; - vec4 x_54 = v3; - v4 = smoothstep(x_52, x_53, x_54); - vec4 x_56 = v4; - x_GLF_color = vec4(x_56[0u], x_56[1u], x_56[3u], x_56[0u]); - float x_59 = v4.x; - float x_61 = x_6.x_GLF_uniform_float_values[4].el; - bool x_62 = (x_59 > x_61); - x_70_phi = x_62; - if (x_62) { - float x_66 = v4.x; - float x_68 = x_6.x_GLF_uniform_float_values[5].el; - x_69 = (x_66 < x_68); - x_70_phi = x_69; - } - bool x_70 = x_70_phi; - x_78_phi = x_70; - if (x_70) { - float x_74 = v4.y; - float x_76 = x_6.x_GLF_uniform_float_values[3].el; - x_77 = (x_74 > x_76); - x_78_phi = x_77; - } - bool x_78 = x_78_phi; - x_86_phi = x_78; - if (x_78) { - float x_82 = v4.y; - float x_84 = x_6.x_GLF_uniform_float_values[6].el; - x_85 = (x_82 < x_84); - x_86_phi = x_85; - } - bool x_86 = x_86_phi; - x_94_phi = x_86; - if (x_86) { - float x_90 = v4.w; - float x_92 = x_6.x_GLF_uniform_float_values[0].el; - x_93 = (x_90 == x_92); - x_94_phi = x_93; - } - bool x_94 = x_94_phi; - if (x_94) { - float x_99 = x_6.x_GLF_uniform_float_values[0].el; - float x_101 = x_6.x_GLF_uniform_float_values[1].el; - float x_103 = x_6.x_GLF_uniform_float_values[1].el; - float x_105 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_99, x_101, x_103, x_105); - } else { - float x_108 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_108, x_108, x_108, x_108); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index aacc68f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v = vec4(0.0f); - float f = 0.0f; - bool x_56 = false; - bool x_57 = false; - float v_1 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[0].el); - v = vec4(v_1, v_2, -621.59600830078125f, float(x_6.x_GLF_uniform_int_values[0].el)); - f = atan(trunc(v))[2u]; - bool x_49 = (f > -(x_9.x_GLF_uniform_float_values[0].el)); - x_57 = x_49; - if (x_49) { - x_56 = (f < -(x_9.x_GLF_uniform_float_values[1].el)); - x_57 = x_56; - } - if (x_57) { - float v_3 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_4 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_5 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_3, v_4, v_5, float(x_6.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 8593d68..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,82 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v = vec4(0.0f); - float f = 0.0f; - bool x_56 = false; - bool x_57_phi = false; - int x_32 = x_6.x_GLF_uniform_int_values[0].el; - int x_35 = x_6.x_GLF_uniform_int_values[0].el; - int x_38 = x_6.x_GLF_uniform_int_values[0].el; - float v_1 = float(x_32); - float v_2 = float(x_35); - v = vec4(v_1, v_2, -621.59600830078125f, float(x_38)); - vec4 x_41 = v; - f = atan(trunc(x_41))[2u]; - float x_45 = f; - float x_47 = x_9.x_GLF_uniform_float_values[0].el; - bool x_49 = (x_45 > -(x_47)); - x_57_phi = x_49; - if (x_49) { - float x_52 = f; - float x_54 = x_9.x_GLF_uniform_float_values[1].el; - x_56 = (x_52 < -(x_54)); - x_57_phi = x_56; - } - bool x_57 = x_57_phi; - if (x_57) { - int x_62 = x_6.x_GLF_uniform_int_values[1].el; - int x_65 = x_6.x_GLF_uniform_int_values[0].el; - int x_68 = x_6.x_GLF_uniform_int_values[0].el; - int x_71 = x_6.x_GLF_uniform_int_values[1].el; - float v_3 = float(x_62); - float v_4 = float(x_65); - float v_5 = float(x_68); - x_GLF_color = vec4(v_3, v_4, v_5, float(x_71)); - } else { - int x_75 = x_6.x_GLF_uniform_int_values[0].el; - float x_76 = float(x_75); - x_GLF_color = vec4(x_76, x_76, x_76, x_76); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9090a4c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -int func_i1_(inout int x) { - if ((x == 10)) { - continue_execution = false; - } - int x_49 = x; - return x_49; -} -void main_1() { - int a = 0; - int b = 0; - int param = 0; - int x_35 = 0; - int x_37 = 0; - a = 0; - int x_33 = x_9.zero; - b = x_33; - x_35 = x_33; - { - while(true) { - param = x_35; - x_37 = func_i1_(param); - a = x_37; - int x_36 = (x_35 + 1); - b = x_36; - x_35 = x_36; - if ((x_36 < 4)) { - } else { - break; - } - { - } - continue; - } - } - if ((x_37 == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 0d5a57c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -int func_i1_(inout int x) { - int x_45 = x; - if ((x_45 == 10)) { - continue_execution = false; - } - int x_49 = x; - return x_49; -} -void main_1() { - int a = 0; - int b = 0; - int param = 0; - int x_37 = 0; - int x_35_phi = 0; - a = 0; - int x_33 = x_9.zero; - b = x_33; - x_35_phi = x_33; - { - while(true) { - int x_35 = x_35_phi; - param = x_35; - x_37 = func_i1_(param); - a = x_37; - int x_36 = (x_35 + 1); - b = x_36; - x_35_phi = x_36; - if ((x_36 < 4)) { - } else { - break; - } - { - } - continue; - } - } - if ((x_37 == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9287fe6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_8; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -int f1_() { - int a = 0; - int i = 0; - a = 256; - if ((tint_symbol.y > x_8.x_GLF_uniform_float_values[0].el)) { - a = (a + 1); - } - i = bitCount(a); - if ((i < x_11.x_GLF_uniform_int_values[0].el)) { - int x_82 = x_11.x_GLF_uniform_int_values[0].el; - return x_82; - } - int x_83 = i; - return x_83; -} -void main_1() { - int a_1 = 0; - int x_38 = f1_(); - a_1 = x_38; - if ((a_1 == x_11.x_GLF_uniform_int_values[2].el)) { - float v = float(x_11.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_11.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_11.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b140c05..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,87 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_8; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -int f1_() { - int a = 0; - int i = 0; - a = 256; - float x_65 = tint_symbol.y; - float x_67 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_65 > x_67)) { - int x_71 = a; - a = (x_71 + 1); - } - int x_73 = a; - i = bitCount(x_73); - int x_75 = i; - int x_77 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_75 < x_77)) { - int x_82 = x_11.x_GLF_uniform_int_values[0].el; - return x_82; - } - int x_83 = i; - return x_83; -} -void main_1() { - int a_1 = 0; - int x_38 = f1_(); - a_1 = x_38; - int x_39 = a_1; - int x_41 = x_11.x_GLF_uniform_int_values[2].el; - if ((x_39 == x_41)) { - int x_47 = x_11.x_GLF_uniform_int_values[0].el; - int x_50 = x_11.x_GLF_uniform_int_values[1].el; - int x_53 = x_11.x_GLF_uniform_int_values[1].el; - int x_56 = x_11.x_GLF_uniform_int_values[0].el; - float v = float(x_47); - float v_1 = float(x_50); - float v_2 = float(x_53); - x_GLF_color = vec4(v, v_1, v_2, float(x_56)); - } else { - int x_60 = x_11.x_GLF_uniform_int_values[1].el; - float x_61 = float(x_60); - x_GLF_color = vec4(x_61, x_61, x_61, x_61); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl deleted file mode 100644 index fa3f656..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_28 = 0; - int x_31 = 0; - int x_29 = 0; - int x_42 = 0; - int x_24 = (-2147483647 - 1); - x_28 = x_5.x_GLF_uniform_int_values[3].el; - x_31 = 1; - { - while(true) { - int x_32 = 0; - x_42 = x_28; - if ((x_31 <= (x_24 - 1))) { - } else { - break; - } - x_29 = (x_28 + x_31); - if ((x_5.x_GLF_uniform_int_values[0].el == 1)) { - x_42 = x_29; - break; - } - { - x_32 = (x_31 + 1); - x_28 = x_29; - x_31 = x_32; - } - continue; - } - } - if ((x_42 == x_5.x_GLF_uniform_int_values[2].el)) { - float x_51 = float(x_5.x_GLF_uniform_int_values[0].el); - float x_54 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(x_51, x_54, x_54, x_51); - } else { - x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f88a90d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf2 { - float zero; -}; - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf2 x_6; -uniform buf0 x_8; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int x_32 = 0; - if ((x_6.zero < x_8.x_GLF_uniform_float_values[0].el)) { - x_32 = x_10.x_GLF_uniform_int_values[1].el; - } else { - x_32 = x_10.x_GLF_uniform_int_values[0].el; - } - a = ~((x_32 | 1)); - if ((a == ~(x_10.x_GLF_uniform_int_values[0].el))) { - float v = float(x_10.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2c63e51..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf2 { - float zero; -}; - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf2 x_6; -uniform buf0 x_8; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int x_32 = 0; - float x_34 = x_6.zero; - float x_36 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_34 < x_36)) { - int x_42 = x_10.x_GLF_uniform_int_values[1].el; - x_32 = x_42; - } else { - int x_44 = x_10.x_GLF_uniform_int_values[0].el; - x_32 = x_44; - } - int x_45 = x_32; - a = ~((x_45 | 1)); - int x_48 = a; - int x_50 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_48 == ~(x_50))) { - int x_57 = x_10.x_GLF_uniform_int_values[0].el; - int x_60 = x_10.x_GLF_uniform_int_values[1].el; - int x_63 = x_10.x_GLF_uniform_int_values[1].el; - int x_66 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_57); - float v_1 = float(x_60); - float v_2 = float(x_63); - x_GLF_color = vec4(v, v_1, v_2, float(x_66)); - } else { - int x_70 = x_10.x_GLF_uniform_int_values[1].el; - float x_71 = float(x_70); - x_GLF_color = vec4(x_71, x_71, x_71, x_71); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0312e51..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,167 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 c = vec4(0.0f); - int a = 0; - int i1 = 0; - int i2 = 0; - int i3 = 0; - int i4 = 0; - int i5 = 0; - int i6 = 0; - int i7 = 0; - int i8_1 = 0; - c = vec4(0.0f, 0.0f, 0.0f, 1.0f); - a = 0; - { - while(true) { - { - while(true) { - int x_46 = a; - c[x_46] = 1.0f; - i1 = 0; - { - while(true) { - if ((i1 < 1)) { - } else { - break; - } - i2 = 0; - { - while(true) { - if ((i2 < 1)) { - } else { - break; - } - i3 = 0; - { - while(true) { - if ((i3 < 1)) { - } else { - break; - } - i4 = 0; - { - while(true) { - if ((i4 < 1)) { - } else { - break; - } - i5 = 0; - { - while(true) { - if ((i5 < 1)) { - } else { - break; - } - i6 = 0; - { - while(true) { - if ((i6 < 1)) { - } else { - break; - } - i7 = 0; - { - while(true) { - if ((i7 < 1)) { - } else { - break; - } - i8_1 = 0; - { - while(true) { - if ((i8_1 < 17)) { - } else { - break; - } - a = (a + 1); - { - i8_1 = (i8_1 + 1); - } - continue; - } - } - { - i7 = (i7 + 1); - } - continue; - } - } - { - i6 = (i6 + 1); - } - continue; - } - } - { - i5 = (i5 + 1); - } - continue; - } - } - { - i4 = (i4 + 1); - } - continue; - } - } - { - i3 = (i3 + 1); - } - continue; - } - } - { - i2 = (i2 + 1); - } - continue; - } - } - { - i1 = (i1 + 1); - } - continue; - } - } - { - float x_123 = tint_symbol.x; - if (!((x_123 < -1.0f))) { break; } - } - continue; - } - } - { - float x_126 = tint_symbol.y; - if (!((x_126 < -1.0f))) { break; } - } - continue; - } - } - x_GLF_color = c; -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ad671b1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,185 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 c = vec4(0.0f); - int a = 0; - int i1 = 0; - int i2 = 0; - int i3 = 0; - int i4 = 0; - int i5 = 0; - int i6 = 0; - int i7 = 0; - int i8_1 = 0; - c = vec4(0.0f, 0.0f, 0.0f, 1.0f); - a = 0; - { - while(true) { - { - while(true) { - int x_46 = a; - c[x_46] = 1.0f; - i1 = 0; - { - while(true) { - int x_52 = i1; - if ((x_52 < 1)) { - } else { - break; - } - i2 = 0; - { - while(true) { - int x_59 = i2; - if ((x_59 < 1)) { - } else { - break; - } - i3 = 0; - { - while(true) { - int x_66 = i3; - if ((x_66 < 1)) { - } else { - break; - } - i4 = 0; - { - while(true) { - int x_73 = i4; - if ((x_73 < 1)) { - } else { - break; - } - i5 = 0; - { - while(true) { - int x_80 = i5; - if ((x_80 < 1)) { - } else { - break; - } - i6 = 0; - { - while(true) { - int x_87 = i6; - if ((x_87 < 1)) { - } else { - break; - } - i7 = 0; - { - while(true) { - int x_94 = i7; - if ((x_94 < 1)) { - } else { - break; - } - i8_1 = 0; - { - while(true) { - int x_101 = i8_1; - if ((x_101 < 17)) { - } else { - break; - } - int x_104 = a; - a = (x_104 + 1); - { - int x_106 = i8_1; - i8_1 = (x_106 + 1); - } - continue; - } - } - { - int x_108 = i7; - i7 = (x_108 + 1); - } - continue; - } - } - { - int x_110 = i6; - i6 = (x_110 + 1); - } - continue; - } - } - { - int x_112 = i5; - i5 = (x_112 + 1); - } - continue; - } - } - { - int x_114 = i4; - i4 = (x_114 + 1); - } - continue; - } - } - { - int x_116 = i3; - i3 = (x_116 + 1); - } - continue; - } - } - { - int x_118 = i2; - i2 = (x_118 + 1); - } - continue; - } - } - { - int x_120 = i1; - i1 = (x_120 + 1); - } - continue; - } - } - { - float x_123 = tint_symbol.x; - if (!((x_123 < -1.0f))) { break; } - } - continue; - } - } - { - float x_126 = tint_symbol.y; - if (!((x_126 < -1.0f))) { break; } - } - continue; - } - } - vec4 x_128 = c; - x_GLF_color = x_128; -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3a7b27a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,138 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[2] = float[2](0.0f, 0.0f); - int a = 0; - int b = 0; - int c = 0; - int d = 0; - mat2 indexable = mat2(vec2(0.0f), vec2(0.0f)); - mat2 indexable_1 = mat2(vec2(0.0f), vec2(0.0f)); - bool x_158 = false; - bool x_159 = false; - int x_16 = x_6.x_GLF_uniform_int_values[1].el; - sums[x_16] = -(x_8.x_GLF_uniform_float_values[0].el); - int x_18 = x_6.x_GLF_uniform_int_values[2].el; - sums[x_18] = -(x_8.x_GLF_uniform_float_values[0].el); - a = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((a < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - b = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((b < x_6.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - c = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((c <= a)) { - } else { - break; - } - d = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((d < x_6.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - int x_31 = a; - float x_125 = float(x_6.x_GLF_uniform_int_values[2].el); - int x_33 = c; - int x_34 = x_6.x_GLF_uniform_int_values[2].el; - vec2 v = vec2(x_125, 0.0f); - indexable = mat2(v, vec2(0.0f, x_125)); - sums[x_31] = indexable[x_33][x_34]; - int x_35 = a; - float x_134 = float(x_6.x_GLF_uniform_int_values[2].el); - int x_37 = c; - int x_38 = x_6.x_GLF_uniform_int_values[2].el; - vec2 v_1 = vec2(x_134, 0.0f); - indexable_1 = mat2(v_1, vec2(0.0f, x_134)); - sums[x_35] = (sums[x_35] + indexable_1[x_37][x_38]); - { - d = (d + 1); - } - continue; - } - } - { - c = (c + 1); - } - continue; - } - } - { - b = (b + 1); - } - continue; - } - } - { - a = (a + 1); - } - continue; - } - } - bool x_150 = (sums[x_6.x_GLF_uniform_int_values[1].el] == x_8.x_GLF_uniform_float_values[1].el); - x_159 = x_150; - if (x_150) { - x_158 = (sums[x_6.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_float_values[2].el); - x_159 = x_158; - } - if (x_159) { - float v_2 = float(x_6.x_GLF_uniform_int_values[2].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_4 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_6.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 586a865..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,174 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[2] = float[2](0.0f, 0.0f); - int a = 0; - int b = 0; - int c = 0; - int d = 0; - mat2 indexable = mat2(vec2(0.0f), vec2(0.0f)); - mat2 indexable_1 = mat2(vec2(0.0f), vec2(0.0f)); - bool x_158 = false; - bool x_159_phi = false; - int x_16 = x_6.x_GLF_uniform_int_values[1].el; - float x_85 = x_8.x_GLF_uniform_float_values[0].el; - sums[x_16] = -(x_85); - int x_18 = x_6.x_GLF_uniform_int_values[2].el; - float x_90 = x_8.x_GLF_uniform_float_values[0].el; - sums[x_18] = -(x_90); - int x_19 = x_6.x_GLF_uniform_int_values[1].el; - a = x_19; - { - while(true) { - int x_20 = a; - int x_21 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_20 < x_21)) { - } else { - break; - } - int x_22 = x_6.x_GLF_uniform_int_values[1].el; - b = x_22; - { - while(true) { - int x_23 = b; - int x_24 = x_6.x_GLF_uniform_int_values[3].el; - if ((x_23 < x_24)) { - } else { - break; - } - int x_25 = x_6.x_GLF_uniform_int_values[1].el; - c = x_25; - { - while(true) { - int x_26 = c; - int x_27 = a; - if ((x_26 <= x_27)) { - } else { - break; - } - int x_28 = x_6.x_GLF_uniform_int_values[1].el; - d = x_28; - { - while(true) { - int x_29 = d; - int x_30 = x_6.x_GLF_uniform_int_values[3].el; - if ((x_29 < x_30)) { - } else { - break; - } - int x_31 = a; - int x_32 = x_6.x_GLF_uniform_int_values[2].el; - float x_125 = float(x_32); - int x_33 = c; - int x_34 = x_6.x_GLF_uniform_int_values[2].el; - vec2 v = vec2(x_125, 0.0f); - indexable = mat2(v, vec2(0.0f, x_125)); - float x_131 = indexable[x_33][x_34]; - sums[x_31] = x_131; - int x_35 = a; - int x_36 = x_6.x_GLF_uniform_int_values[2].el; - float x_134 = float(x_36); - int x_37 = c; - int x_38 = x_6.x_GLF_uniform_int_values[2].el; - vec2 v_1 = vec2(x_134, 0.0f); - indexable_1 = mat2(v_1, vec2(0.0f, x_134)); - float x_140 = indexable_1[x_37][x_38]; - float x_142 = sums[x_35]; - sums[x_35] = (x_142 + x_140); - { - int x_39 = d; - d = (x_39 + 1); - } - continue; - } - } - { - int x_41 = c; - c = (x_41 + 1); - } - continue; - } - } - { - int x_43 = b; - b = (x_43 + 1); - } - continue; - } - } - { - int x_45 = a; - a = (x_45 + 1); - } - continue; - } - } - int x_47 = x_6.x_GLF_uniform_int_values[1].el; - float x_147 = sums[x_47]; - float x_149 = x_8.x_GLF_uniform_float_values[1].el; - bool x_150 = (x_147 == x_149); - x_159_phi = x_150; - if (x_150) { - int x_48 = x_6.x_GLF_uniform_int_values[2].el; - float x_155 = sums[x_48]; - float x_157 = x_8.x_GLF_uniform_float_values[2].el; - x_158 = (x_155 == x_157); - x_159_phi = x_158; - } - bool x_159 = x_159_phi; - if (x_159) { - int x_49 = x_6.x_GLF_uniform_int_values[2].el; - int x_50 = x_6.x_GLF_uniform_int_values[1].el; - int x_51 = x_6.x_GLF_uniform_int_values[1].el; - int x_52 = x_6.x_GLF_uniform_int_values[2].el; - float v_2 = float(x_49); - float v_3 = float(x_50); - float v_4 = float(x_51); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_52)); - } else { - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - float x_173 = float(x_53); - x_GLF_color = vec4(x_173, x_173, x_173, x_173); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index bd44789..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,78 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[3] = float[3](0.0f, 0.0f, 0.0f); - int i = 0; - mat2x4 indexable = mat2x4(vec4(0.0f), vec4(0.0f)); - sums = float[3](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el); - i = 0; - { - while(true) { - int v = i; - if ((v < min(max(x_9.x_GLF_uniform_int_values[0].el, x_9.x_GLF_uniform_int_values[0].el), 2))) { - } else { - break; - } - int x_59 = x_9.x_GLF_uniform_int_values[2].el; - float x_61 = x_6.x_GLF_uniform_float_values[0].el; - int x_65 = i; - int x_67 = x_9.x_GLF_uniform_int_values[1].el; - vec4 v_1 = vec4(x_61, 0.0f, 0.0f, 0.0f); - indexable = mat2x4(v_1, vec4(0.0f, x_61, 0.0f, 0.0f)); - sums[x_59] = (sums[x_59] + indexable[x_65][x_67]); - { - i = (i + 1); - } - continue; - } - } - if ((sums[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[1].el)) { - float v_2 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_4 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_9.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 43832ff..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,95 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[3] = float[3](0.0f, 0.0f, 0.0f); - int i = 0; - mat2x4 indexable = mat2x4(vec4(0.0f), vec4(0.0f)); - float x_40 = x_6.x_GLF_uniform_float_values[0].el; - float x_42 = x_6.x_GLF_uniform_float_values[0].el; - float x_44 = x_6.x_GLF_uniform_float_values[0].el; - sums = float[3](x_40, x_42, x_44); - i = 0; - { - while(true) { - int x_50 = i; - int x_52 = x_9.x_GLF_uniform_int_values[0].el; - int x_54 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_50 < min(max(x_52, x_54), 2))) { - } else { - break; - } - int x_59 = x_9.x_GLF_uniform_int_values[2].el; - float x_61 = x_6.x_GLF_uniform_float_values[0].el; - int x_65 = i; - int x_67 = x_9.x_GLF_uniform_int_values[1].el; - vec4 v = vec4(x_61, 0.0f, 0.0f, 0.0f); - indexable = mat2x4(v, vec4(0.0f, x_61, 0.0f, 0.0f)); - float x_69 = indexable[x_65][x_67]; - float x_71 = sums[x_59]; - sums[x_59] = (x_71 + x_69); - { - int x_74 = i; - i = (x_74 + 1); - } - continue; - } - } - int x_77 = x_9.x_GLF_uniform_int_values[2].el; - float x_79 = sums[x_77]; - float x_81 = x_6.x_GLF_uniform_float_values[1].el; - if ((x_79 == x_81)) { - int x_87 = x_9.x_GLF_uniform_int_values[0].el; - int x_90 = x_9.x_GLF_uniform_int_values[1].el; - int x_93 = x_9.x_GLF_uniform_int_values[1].el; - int x_96 = x_9.x_GLF_uniform_int_values[0].el; - float v_1 = float(x_87); - float v_2 = float(x_90); - float v_3 = float(x_93); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_96)); - } else { - int x_100 = x_9.x_GLF_uniform_int_values[1].el; - float x_101 = float(x_100); - x_GLF_color = vec4(x_101, x_101, x_101, x_101); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7cac0d6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_9; -void main_1() { - vec2 v0 = vec2(0.0f); - vec2 v1 = vec2(0.0f); - v0 = vec2(x_6.x_GLF_uniform_float_values[1].el, -580.0150146484375f); - vec2 v = ceil(v0); - v1 = clamp(v, vec2(-(x_6.x_GLF_uniform_float_values[0].el)), vec2(100.0f)); - if ((v1.y == -(x_6.x_GLF_uniform_float_values[0].el))) { - float v_1 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c96308a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,70 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_9; -void main_1() { - vec2 v0 = vec2(0.0f); - vec2 v1 = vec2(0.0f); - float x_36 = x_6.x_GLF_uniform_float_values[1].el; - v0 = vec2(x_36, -580.0150146484375f); - vec2 x_38 = v0; - float x_41 = x_6.x_GLF_uniform_float_values[0].el; - float x_42 = -(x_41); - vec2 v = ceil(x_38); - v1 = clamp(v, vec2(x_42, x_42), vec2(100.0f)); - float x_46 = v1.y; - float x_48 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_46 == -(x_48))) { - int x_55 = x_9.x_GLF_uniform_int_values[0].el; - int x_58 = x_9.x_GLF_uniform_int_values[1].el; - int x_61 = x_9.x_GLF_uniform_int_values[1].el; - int x_64 = x_9.x_GLF_uniform_int_values[0].el; - float v_1 = float(x_55); - float v_2 = float(x_58); - float v_3 = float(x_61); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_64)); - } else { - int x_68 = x_9.x_GLF_uniform_int_values[1].el; - float x_69 = float(x_68); - x_GLF_color = vec4(x_69, x_69, x_69, x_69); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9910f0b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,62 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf1 { - float zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - vec2 v0 = vec2(0.0f); - vec4 v1 = vec4(0.0f); - vec4 x_57 = vec4(0.0f); - v0 = vec2(x_6.x_GLF_uniform_float_values[0].el); - vec4 x_36 = vec4(v0.x); - v1 = x_36; - if (!((x_9.zero == x_6.x_GLF_uniform_float_values[0].el))) { - if ((x_9.zero == x_6.x_GLF_uniform_float_values[1].el)) { - return; - } - x_57 = vec4(x_36[0u], (x_36.yz - vec2(x_6.x_GLF_uniform_float_values[0].el)).xy, x_36[3u]); - v1 = x_57; - } else { - continue_execution = false; - } - x_GLF_color = x_57; -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3769591..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf1 { - float zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - vec2 v0 = vec2(0.0f); - vec4 v1 = vec4(0.0f); - vec4 x_57 = vec4(0.0f); - float x_32 = x_6.x_GLF_uniform_float_values[0].el; - v0 = vec2(x_32, x_32); - float x_35 = v0.x; - vec4 x_36 = vec4(x_35, x_35, x_35, x_35); - v1 = x_36; - float x_38 = x_9.zero; - float x_40 = x_6.x_GLF_uniform_float_values[0].el; - if (!((x_38 == x_40))) { - float x_46 = x_9.zero; - float x_48 = x_6.x_GLF_uniform_float_values[1].el; - if ((x_46 == x_48)) { - return; - } - float x_53 = x_6.x_GLF_uniform_float_values[0].el; - vec2 v = vec2(x_36[1u], x_36[2u]); - vec2 x_56 = (v - vec2(x_53, x_53)); - x_57 = vec4(x_36[0u], x_56[0u], x_56[1u], x_36[3u]); - v1 = x_57; - } else { - continue_execution = false; - } - x_GLF_color = x_57; -} -main_out main() { - main_1(); - main_out v_1 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_1; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d8a9027..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,131 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf2 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct buf3 { - int three; -}; - -struct strided_arr_2 { - uint el; -}; - -struct buf0 { - strided_arr_2 x_GLF_uniform_uint_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf2 x_12; -uniform buf3 x_14; -uniform buf0 x_16; -void func0_() { - vec4 tmp = vec4(0.0f); - if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[1].el)) { - tmp = x_GLF_color; - } - x_GLF_color = tmp; -} -int func1_() { - int a = 0; - a = x_12.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((a < x_12.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - if ((x_14.three > x_12.x_GLF_uniform_int_values[1].el)) { - func0_(); - a = x_12.x_GLF_uniform_int_values[3].el; - } else { - func0_(); - } - { - } - continue; - } - } - int x_144 = a; - return x_144; -} -void main_1() { - int a_1 = 0; - int i = 0; - int j = 0; - if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[1].el)) { - x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[2].el); - } else { - x_GLF_color = unpackSnorm4x8(x_16.x_GLF_uniform_uint_values[0].el); - } - a_1 = x_12.x_GLF_uniform_int_values[2].el; - i = 0; - { - while(true) { - if ((i < 5)) { - } else { - break; - } - j = 0; - { - while(true) { - if ((j < 2)) { - } else { - break; - } - int x_91 = func1_(); - a_1 = (a_1 + x_91); - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - if ((a_1 == x_12.x_GLF_uniform_int_values[0].el)) { - x_GLF_color[2u] = (x_GLF_color.z - x_8.x_GLF_uniform_float_values[0].el); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3ba2def..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,158 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf2 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct buf3 { - int three; -}; - -struct strided_arr_2 { - uint el; -}; - -struct buf0 { - strided_arr_2 x_GLF_uniform_uint_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf2 x_12; -uniform buf3 x_14; -uniform buf0 x_16; -void func0_() { - vec4 tmp = vec4(0.0f); - float x_112 = tint_symbol.x; - float x_114 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_112 > x_114)) { - vec4 x_118 = x_GLF_color; - tmp = x_118; - } - vec4 x_119 = tmp; - x_GLF_color = x_119; -} -int func1_() { - int a = 0; - int x_122 = x_12.x_GLF_uniform_int_values[1].el; - a = x_122; - { - while(true) { - int x_127 = a; - int x_129 = x_12.x_GLF_uniform_int_values[3].el; - if ((x_127 < x_129)) { - } else { - break; - } - int x_133 = x_14.three; - int x_135 = x_12.x_GLF_uniform_int_values[1].el; - if ((x_133 > x_135)) { - func0_(); - int x_142 = x_12.x_GLF_uniform_int_values[3].el; - a = x_142; - } else { - func0_(); - } - { - } - continue; - } - } - int x_144 = a; - return x_144; -} -void main_1() { - int a_1 = 0; - int i = 0; - int j = 0; - float x_56 = tint_symbol.x; - float x_58 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_56 > x_58)) { - float x_64 = x_8.x_GLF_uniform_float_values[0].el; - float x_66 = x_8.x_GLF_uniform_float_values[1].el; - float x_68 = x_8.x_GLF_uniform_float_values[0].el; - float x_70 = x_8.x_GLF_uniform_float_values[2].el; - x_GLF_color = vec4(x_64, x_66, x_68, x_70); - } else { - uint x_73 = x_16.x_GLF_uniform_uint_values[0].el; - x_GLF_color = unpackSnorm4x8(x_73); - } - int x_76 = x_12.x_GLF_uniform_int_values[2].el; - a_1 = x_76; - i = 0; - { - while(true) { - int x_81 = i; - if ((x_81 < 5)) { - } else { - break; - } - j = 0; - { - while(true) { - int x_88 = j; - if ((x_88 < 2)) { - } else { - break; - } - int x_91 = func1_(); - int x_92 = a_1; - a_1 = (x_92 + x_91); - { - int x_94 = j; - j = (x_94 + 1); - } - continue; - } - } - { - int x_96 = i; - i = (x_96 + 1); - } - continue; - } - } - int x_98 = a_1; - int x_100 = x_12.x_GLF_uniform_int_values[0].el; - if ((x_98 == x_100)) { - float x_105 = x_8.x_GLF_uniform_float_values[0].el; - float x_107 = x_GLF_color.z; - x_GLF_color[2u] = (x_107 - x_105); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl deleted file mode 100644 index c0e63e0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_35 = x_6.x_GLF_uniform_float_values[0].el; - if ((tint_symbol.x > x_35)) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[2].el); - if ((tint_symbol.y > x_35)) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[4].el); - } - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[3].el); - } - float x_54 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_35, x_54, x_54, 10.0f); - vec4 v = vec4(x_35, 0.0f, 0.0f, 0.0f); - vec4 v_1 = vec4(0.0f, x_35, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, 0.0f, x_35, 0.0f); - mat4 v_3 = mat4(v, v_1, v_2, vec4(0.0f, 0.0f, 0.0f, x_35)); - x_GLF_color = (v_3 * x_GLF_color); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl deleted file mode 100644 index 846c12f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_33 = tint_symbol.x; - float x_35 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_33 > x_35)) { - float x_40 = x_6.x_GLF_uniform_float_values[2].el; - x_GLF_color = vec4(x_40, x_40, x_40, x_40); - float x_43 = tint_symbol.y; - if ((x_43 > x_35)) { - float x_48 = x_6.x_GLF_uniform_float_values[4].el; - x_GLF_color = vec4(x_48, x_48, x_48, x_48); - } - float x_51 = x_6.x_GLF_uniform_float_values[3].el; - x_GLF_color = vec4(x_51, x_51, x_51, x_51); - } - float x_54 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_35, x_54, x_54, 10.0f); - vec4 x_61 = x_GLF_color; - vec4 v = vec4(x_35, 0.0f, 0.0f, 0.0f); - vec4 v_1 = vec4(0.0f, x_35, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, 0.0f, x_35, 0.0f); - x_GLF_color = (mat4(v, v_1, v_2, vec4(0.0f, 0.0f, 0.0f, x_35)) * x_61); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index a00a347..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_8; -void main_1() { - bool b = false; - b = true; - if ((x_6.v1.x > x_6.v1.y)) { - if ((x_6.v1.x < x_6.v1.y)) { - b = false; - } - } - if (b) { - float v = float(x_8.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_8.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_8.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 988709e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_8; -void main_1() { - bool b = false; - b = true; - float x_38 = x_6.v1.x; - float x_40 = x_6.v1.y; - if ((x_38 > x_40)) { - float x_45 = x_6.v1.x; - float x_47 = x_6.v1.y; - if ((x_45 < x_47)) { - b = false; - } - } - bool x_51 = b; - if (x_51) { - int x_10 = x_8.x_GLF_uniform_int_values[0].el; - int x_11 = x_8.x_GLF_uniform_int_values[1].el; - int x_12 = x_8.x_GLF_uniform_int_values[1].el; - int x_13 = x_8.x_GLF_uniform_int_values[0].el; - float v = float(x_10); - float v_1 = float(x_11); - float v_2 = float(x_12); - x_GLF_color = vec4(v, v_1, v_2, float(x_13)); - } else { - int x_14 = x_8.x_GLF_uniform_int_values[1].el; - float x_65 = float(x_14); - x_GLF_color = vec4(x_65, x_65, x_65, x_65); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 89c143d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = x_6.x_GLF_uniform_int_values[1].el; - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - if ((~(i) != 0)) { - a = (a + 1); - } - { - i = (i + 1); - } - continue; - } - } - if ((a == x_6.x_GLF_uniform_int_values[2].el)) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1a1beaf..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,78 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - int x_26 = x_6.x_GLF_uniform_int_values[1].el; - a = x_26; - int x_28 = x_6.x_GLF_uniform_int_values[1].el; - i = x_28; - { - while(true) { - int x_33 = i; - int x_35 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_33 < x_35)) { - } else { - break; - } - int x_38 = i; - if ((~(x_38) != 0)) { - int x_43 = a; - a = (x_43 + 1); - } - { - int x_45 = i; - i = (x_45 + 1); - } - continue; - } - } - int x_47 = a; - int x_49 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_47 == x_49)) { - int x_55 = x_6.x_GLF_uniform_int_values[0].el; - int x_58 = x_6.x_GLF_uniform_int_values[1].el; - int x_61 = x_6.x_GLF_uniform_int_values[1].el; - int x_64 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_55); - float v_1 = float(x_58); - float v_2 = float(x_61); - x_GLF_color = vec4(v, v_1, v_2, float(x_64)); - } else { - int x_68 = x_6.x_GLF_uniform_int_values[1].el; - float x_69 = float(x_68); - x_GLF_color = vec4(x_69, x_69, x_69, x_69); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3f518e0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,83 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -uniform buf2 x_9; -uniform buf1 x_11; -bool continue_execution = true; -void main_1() { - int a = 0; - int i = 0; - a = 1; - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - int x_61 = a; - a = (a + 1); - if ((x_61 > 3)) { - break; - } - if ((x_9.injectionSwitch.x > x_11.x_GLF_uniform_float_values[0].el)) { - continue_execution = false; - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 173499c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,93 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -uniform buf2 x_9; -uniform buf1 x_11; -bool continue_execution = true; -void main_1() { - int a = 0; - int i = 0; - a = 1; - int x_38 = x_6.x_GLF_uniform_int_values[0].el; - int x_41 = x_6.x_GLF_uniform_int_values[1].el; - int x_44 = x_6.x_GLF_uniform_int_values[1].el; - int x_47 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_38); - float v_1 = float(x_41); - float v_2 = float(x_44); - x_GLF_color = vec4(v, v_1, v_2, float(x_47)); - int x_51 = x_6.x_GLF_uniform_int_values[1].el; - i = x_51; - { - while(true) { - int x_56 = i; - int x_58 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_56 < x_58)) { - } else { - break; - } - int x_61 = a; - a = (x_61 + 1); - if ((x_61 > 3)) { - break; - } - float x_67 = x_9.injectionSwitch.x; - float x_69 = x_11.x_GLF_uniform_float_values[0].el; - if ((x_67 > x_69)) { - continue_execution = false; - } - { - int x_73 = i; - i = (x_73 + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 90fb34c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,40 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - float f = 0.0f; - x_GLF_color = vec4(0.0f); - f = clamp(x_6.one, 1.0f, 1.0f); - if ((f > x_6.one)) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 579d549..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,44 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - float f = 0.0f; - x_GLF_color = vec4(0.0f); - float x_23 = x_6.one; - f = clamp(x_23, 1.0f, 1.0f); - float x_25 = f; - float x_27 = x_6.one; - if ((x_25 > x_27)) { - x_GLF_color = vec4(0.0f); - } else { - float x_32 = f; - x_GLF_color = vec4(x_32, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 022d0e1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,45 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float fourtytwo; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_36 = false; - bool x_37 = false; - bool x_27 = (clamp(1.0f, x_5.fourtytwo, x_5.fourtytwo) > 42.0f); - x_37 = x_27; - if (!(x_27)) { - x_36 = (clamp(1.0f, x_5.fourtytwo, x_5.fourtytwo) < 42.0f); - x_37 = x_36; - } - if (x_37) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2bbf99e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float fourtytwo; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_36 = false; - bool x_37_phi = false; - float x_23 = x_5.fourtytwo; - float x_25 = x_5.fourtytwo; - bool x_27 = (clamp(1.0f, x_23, x_25) > 42.0f); - x_37_phi = x_27; - if (!(x_27)) { - float x_32 = x_5.fourtytwo; - float x_34 = x_5.fourtytwo; - x_36 = (clamp(1.0f, x_32, x_34) < 42.0f); - x_37_phi = x_36; - } - bool x_37 = x_37_phi; - if (x_37) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl deleted file mode 100644 index a5d13d8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if ((3.0f >= clamp(tint_symbol.x, 1.0f, (2.0f + x_6.one)))) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl deleted file mode 100644 index 18c6334..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_29 = tint_symbol.x; - float x_31 = x_6.one; - if ((3.0f >= clamp(x_29, 1.0f, (2.0f + x_31)))) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3a8a566..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,43 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - if (true) { - float v = float(x_5.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_5.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(1.0f, v, v_1, float(x_5.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e5b12cb..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,48 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - if (true) { - int x_29 = x_5.x_GLF_uniform_int_values[0].el; - int x_32 = x_5.x_GLF_uniform_int_values[0].el; - int x_35 = x_5.x_GLF_uniform_int_values[1].el; - float v = float(x_29); - float v_1 = float(x_32); - x_GLF_color = vec4(1.0f, v, v_1, float(x_35)); - } else { - int x_39 = x_5.x_GLF_uniform_int_values[0].el; - float x_40 = float(x_39); - x_GLF_color = vec4(x_40, x_40, x_40, x_40); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2e4d04a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - bool x_48 = false; - bool x_49 = false; - f = 1626.509033203125f; - bool x_41 = (x_6.x_GLF_uniform_int_values[0].el == (x_6.x_GLF_uniform_int_values[0].el + x_6.x_GLF_uniform_int_values[1].el)); - x_49 = x_41; - if (!(x_41)) { - x_48 = (f > x_8.x_GLF_uniform_float_values[0].el); - x_49 = x_48; - } - if (x_49) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index fc74700..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - bool x_48 = false; - bool x_49_phi = false; - f = 1626.509033203125f; - int x_35 = x_6.x_GLF_uniform_int_values[0].el; - int x_37 = x_6.x_GLF_uniform_int_values[0].el; - int x_39 = x_6.x_GLF_uniform_int_values[1].el; - bool x_41 = (x_35 == (x_37 + x_39)); - x_49_phi = x_41; - if (!(x_41)) { - float x_45 = f; - float x_47 = x_8.x_GLF_uniform_float_values[0].el; - x_48 = (x_45 > x_47); - x_49_phi = x_48; - } - bool x_49 = x_49_phi; - if (x_49) { - int x_54 = x_6.x_GLF_uniform_int_values[0].el; - int x_57 = x_6.x_GLF_uniform_int_values[1].el; - int x_60 = x_6.x_GLF_uniform_int_values[1].el; - int x_63 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_54); - float v_1 = float(x_57); - float v_2 = float(x_60); - x_GLF_color = vec4(v, v_1, v_2, float(x_63)); - } else { - int x_67 = x_6.x_GLF_uniform_int_values[1].el; - float x_68 = float(x_67); - x_GLF_color = vec4(x_68, x_68, x_68, x_68); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2d8d010..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool x_30 = false; - bool x_31 = false; - x_GLF_color = vec4(0.0f); - bool x_24 = (x_5.one < 0.0f); - x_31 = x_24; - if (!(x_24)) { - x_30 = (x_5.one < 1.0f); - x_31 = x_30; - } - if (x_31) { - return; - } - if ((x_5.one < 0.0f)) { - { - while(true) { - if ((x_5.one < 0.0f)) { - } else { - break; - } - x_GLF_color = vec4(1.0f); - break; - } - } - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ea96a83..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool x_30 = false; - bool x_31_phi = false; - x_GLF_color = vec4(0.0f); - float x_23 = x_5.one; - bool x_24 = (x_23 < 0.0f); - x_31_phi = x_24; - if (!(x_24)) { - float x_29 = x_5.one; - x_30 = (x_29 < 1.0f); - x_31_phi = x_30; - } - bool x_31 = x_31_phi; - if (x_31) { - return; - } - float x_35 = x_5.one; - if ((x_35 < 0.0f)) { - { - while(true) { - float x_45 = x_5.one; - if ((x_45 < 0.0f)) { - } else { - break; - } - x_GLF_color = vec4(1.0f); - break; - } - } - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl deleted file mode 100644 index 22c9142..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 x_26 = vec2(0.0f); - int x_5 = 0; - bool x_39 = false; - bool x_40 = false; - x_26 = vec2(0.0f); - x_5 = 2; - { - while(true) { - vec2 x_27 = vec2(0.0f); - int x_4 = 0; - if ((x_5 < 3)) { - } else { - break; - } - { - x_27 = vec2(1.0f, float(x_5)).xy; - x_4 = (x_5 + 1); - x_26 = x_27; - x_5 = x_4; - } - continue; - } - } - bool x_34 = (x_26.x != 1.0f); - x_40 = x_34; - if (!(x_34)) { - x_39 = (x_26.y != 2.0f); - x_40 = x_39; - } - if (x_40) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl deleted file mode 100644 index cb0c288..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 x_26 = vec2(0.0f); - bool x_39 = false; - vec2 x_26_phi = vec2(0.0f); - int x_5_phi = 0; - bool x_40_phi = false; - x_26_phi = vec2(0.0f); - x_5_phi = 2; - { - while(true) { - vec2 x_27 = vec2(0.0f); - int x_4 = 0; - x_26 = x_26_phi; - int x_5 = x_5_phi; - if ((x_5 < 3)) { - } else { - break; - } - { - vec2 x_32 = vec2(1.0f, float(x_5)); - x_27 = vec2(x_32[0u], x_32[1u]); - x_4 = (x_5 + 1); - x_26_phi = x_27; - x_5_phi = x_4; - } - continue; - } - } - bool x_34 = (x_26.x != 1.0f); - x_40_phi = x_34; - if (!(x_34)) { - x_39 = (x_26.y != 2.0f); - x_40_phi = x_39; - } - bool x_40 = x_40_phi; - if (x_40) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7248734..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct buf1 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_7; -bool continue_execution = true; -void main_1() { - float v = float(x_5.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_5.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el)); - { - while(true) { - if ((x_7.zero == x_5.x_GLF_uniform_int_values[0].el)) { - { - if (true) { break; } - } - continue; - } - if ((x_7.zero == x_5.x_GLF_uniform_int_values[2].el)) { - break; - } - if ((x_7.zero == x_5.x_GLF_uniform_int_values[3].el)) { - continue_execution = false; - } - return; - } - } - x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[1].el)); -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index bfd48b7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,80 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct buf1 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_7; -bool continue_execution = true; -void main_1() { - int x_28 = x_5.x_GLF_uniform_int_values[0].el; - int x_31 = x_5.x_GLF_uniform_int_values[1].el; - int x_34 = x_5.x_GLF_uniform_int_values[1].el; - int x_37 = x_5.x_GLF_uniform_int_values[0].el; - float v = float(x_28); - float v_1 = float(x_31); - float v_2 = float(x_34); - x_GLF_color = vec4(v, v_1, v_2, float(x_37)); - { - while(true) { - int x_45 = x_7.zero; - int x_47 = x_5.x_GLF_uniform_int_values[0].el; - if ((x_45 == x_47)) { - { - if (true) { break; } - } - continue; - } - int x_52 = x_7.zero; - int x_54 = x_5.x_GLF_uniform_int_values[2].el; - if ((x_52 == x_54)) { - break; - } - int x_59 = x_7.zero; - int x_61 = x_5.x_GLF_uniform_int_values[3].el; - if ((x_59 == x_61)) { - continue_execution = false; - } - return; - } - } - int x_66 = x_5.x_GLF_uniform_int_values[1].el; - float x_67 = float(x_66); - x_GLF_color = vec4(x_67, x_67, x_67, x_67); -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2c12556..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,115 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_50 = false; - int x_15 = 0; - int x_16 = 0; - Array param = Array(int[2](0, 0)); - int x_19 = 0; - int x_20 = 0; - param = Array(int[2](0, 0)); - x_50 = false; - { - while(true) { - bool x_63 = false; - { - while(true) { - if ((param.values[x_8.zero] == 1)) { - x_50 = true; - x_15 = 1; - x_19 = 1; - x_63 = true; - break; - } - x_19 = 0; - x_63 = false; - break; - } - } - x_20 = x_19; - if (x_63) { - break; - } - x_50 = true; - x_15 = 1; - x_20 = 1; - break; - } - } - x_16 = x_20; - if ((x_20 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -int func_struct_Array_i1_2_1_(inout Array a) { - bool x_70 = false; - int x_12 = 0; - bool x_72 = false; - int x_13 = 0; - int x_14 = 0; - x_72 = false; - { - while(true) { - bool x_77 = false; - bool x_87 = false; - x_77 = x_72; - { - while(true) { - if ((a.values[x_8.zero] == 1)) { - x_70 = true; - x_12 = 1; - x_13 = 1; - x_87 = true; - break; - } - x_13 = 0; - x_87 = x_77; - break; - } - } - x_14 = x_13; - if (x_87) { - break; - } - x_70 = true; - x_12 = 1; - x_14 = 1; - break; - } - } - return x_14; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ccbe47e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,130 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_50 = false; - int x_15 = 0; - int x_16 = 0; - Array param = Array(int[2](0, 0)); - int x_19 = 0; - int x_20_phi = 0; - param = Array(int[2](0, 0)); - x_50 = false; - { - while(true) { - int x_19_phi = 0; - bool x_63_phi = false; - { - while(true) { - int x_17 = x_8.zero; - int x_18 = param.values[x_17]; - if ((x_18 == 1)) { - x_50 = true; - x_15 = 1; - x_19_phi = 1; - x_63_phi = true; - break; - } - x_19_phi = 0; - x_63_phi = false; - break; - } - } - x_19 = x_19_phi; - bool x_63 = x_63_phi; - x_20_phi = x_19; - if (x_63) { - break; - } - x_50 = true; - x_15 = 1; - x_20_phi = 1; - break; - } - } - int x_20 = x_20_phi; - x_16 = x_20; - if ((x_20 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -int func_struct_Array_i1_2_1_(inout Array a) { - bool x_70 = false; - int x_12 = 0; - int x_13 = 0; - bool x_72_phi = false; - int x_14_phi = 0; - x_72_phi = false; - { - while(true) { - bool x_77 = false; - bool x_77_phi = false; - int x_13_phi = 0; - bool x_87_phi = false; - bool x_72 = x_72_phi; - x_77_phi = x_72; - { - while(true) { - x_77 = x_77_phi; - int x_10 = x_8.zero; - int x_11 = a.values[x_10]; - if ((x_11 == 1)) { - x_70 = true; - x_12 = 1; - x_13_phi = 1; - x_87_phi = true; - break; - } - x_13_phi = 0; - x_87_phi = x_77; - break; - } - } - x_13 = x_13_phi; - bool x_87 = x_87_phi; - x_14_phi = x_13; - if (x_87) { - break; - } - x_70 = true; - x_12 = 1; - x_14_phi = 1; - break; - } - } - int x_14 = x_14_phi; - return x_14; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f7e3dde..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - Array a = Array(int[2](0, 0)); - Array b = Array(int[2](0, 0)); - float one = 0.0f; - int x_10 = x_7.zero; - a.values[x_10] = 1; - b = a; - one = 0.0f; - if ((b.values[x_7.zero] == 1)) { - one = 1.0f; - } - x_GLF_color = vec4(one, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 57e1693..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,51 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - Array a = Array(int[2](0, 0)); - Array b = Array(int[2](0, 0)); - float one = 0.0f; - int x_10 = x_7.zero; - a.values[x_10] = 1; - Array x_35 = a; - b = x_35; - one = 0.0f; - int x_11 = x_7.zero; - int x_12 = b.values[x_11]; - if ((x_12 == 1)) { - one = 1.0f; - } - float x_41 = one; - x_GLF_color = vec4(x_41, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index a5a7f54..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,121 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_52 = false; - int x_17 = 0; - int x_18 = 0; - int x_16[2] = int[2](0, 0); - Array param = Array(int[2](0, 0)); - int x_20 = 0; - int x_21 = 0; - int x_12 = x_8.zero; - int x_22[2] = x_16; - int x_23_1[2] = x_22; - x_23_1[0u] = x_12; - x_16 = x_23_1; - param = Array(x_16); - x_52 = false; - { - while(true) { - bool x_67 = false; - { - while(true) { - if ((param.values[x_12] == 0)) { - x_52 = true; - x_17 = 42; - x_20 = 42; - x_67 = true; - break; - } - x_20 = 0; - x_67 = false; - break; - } - } - x_21 = x_20; - if (x_67) { - break; - } - x_52 = true; - x_17 = 42; - x_21 = 42; - break; - } - } - x_18 = x_21; - if ((x_21 == 42)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -int func_struct_Array_i1_2_1_(inout Array a) { - bool x_74 = false; - int x_13 = 0; - bool x_76 = false; - int x_14 = 0; - int x_15 = 0; - x_76 = false; - { - while(true) { - bool x_81 = false; - bool x_91 = false; - x_81 = x_76; - { - while(true) { - if ((a.values[x_8.zero] == 0)) { - x_74 = true; - x_13 = 42; - x_14 = 42; - x_91 = true; - break; - } - x_14 = 0; - x_91 = x_81; - break; - } - } - x_15 = x_14; - if (x_91) { - break; - } - x_74 = true; - x_13 = 42; - x_15 = 42; - break; - } - } - return x_15; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c01a5f2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,137 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct Array { - int values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_52 = false; - int x_17 = 0; - int x_18 = 0; - int x_16[2] = int[2](0, 0); - Array param = Array(int[2](0, 0)); - int x_20 = 0; - int x_21_phi = 0; - int x_12 = x_8.zero; - int x_22[2] = x_16; - int x_23_1[2] = x_22; - x_23_1[0u] = x_12; - int x_23[2] = x_23_1; - x_16 = x_23; - int x_54[2] = x_16; - param = Array(x_54); - x_52 = false; - { - while(true) { - int x_20_phi = 0; - bool x_67_phi = false; - { - while(true) { - int x_19 = param.values[x_12]; - if ((x_19 == 0)) { - x_52 = true; - x_17 = 42; - x_20_phi = 42; - x_67_phi = true; - break; - } - x_20_phi = 0; - x_67_phi = false; - break; - } - } - x_20 = x_20_phi; - bool x_67 = x_67_phi; - x_21_phi = x_20; - if (x_67) { - break; - } - x_52 = true; - x_17 = 42; - x_21_phi = 42; - break; - } - } - int x_21 = x_21_phi; - x_18 = x_21; - if ((x_21 == 42)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -int func_struct_Array_i1_2_1_(inout Array a) { - bool x_74 = false; - int x_13 = 0; - int x_14 = 0; - bool x_76_phi = false; - int x_15_phi = 0; - x_76_phi = false; - { - while(true) { - bool x_81 = false; - bool x_81_phi = false; - int x_14_phi = 0; - bool x_91_phi = false; - bool x_76 = x_76_phi; - x_81_phi = x_76; - { - while(true) { - x_81 = x_81_phi; - int x_10 = x_8.zero; - int x_11 = a.values[x_10]; - if ((x_11 == 0)) { - x_74 = true; - x_13 = 42; - x_14_phi = 42; - x_91_phi = true; - break; - } - x_14_phi = 0; - x_91_phi = x_81; - break; - } - } - x_14 = x_14_phi; - bool x_91 = x_91_phi; - x_15_phi = x_14; - if (x_91) { - break; - } - x_74 = true; - x_13 = 42; - x_15_phi = 42; - break; - } - } - int x_15 = x_15_phi; - return x_15; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6c8052d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,51 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - vec4 v = vec4(0.0f); - v = clamp(vec4(1.54308068752288818359f), vec4(x_6.x_GLF_uniform_float_values[0].el), vec4(1.0f)); - float v_1 = v.x; - float v_2 = float(x_8.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_8.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_1, v_2, v_3, v.z); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f70cf8c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,54 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - vec4 v = vec4(0.0f); - float x_33 = x_6.x_GLF_uniform_float_values[0].el; - v = clamp(vec4(1.54308068752288818359f), vec4(x_33, x_33, x_33, x_33), vec4(1.0f)); - float x_38 = v.x; - int x_40 = x_8.x_GLF_uniform_int_values[0].el; - int x_43 = x_8.x_GLF_uniform_int_values[0].el; - float x_46 = v.z; - float v_1 = float(x_40); - x_GLF_color = vec4(x_38, v_1, float(x_43), x_46); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 00f0262..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,95 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int indexable[2] = int[2](0, 0); - a = x_6.x_GLF_uniform_int_values[2].el; - b = x_6.x_GLF_uniform_int_values[3].el; - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[2].el)); - i = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((i > x_6.x_GLF_uniform_int_values[3].el)) { - a = (a + 1); - if (false) { - i_1 = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i_1 < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - return; - } - } - } - } - { - i = (i + 1); - } - continue; - } - } - i_2 = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i_2 < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - int x_93 = b; - indexable = int[2](x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[4].el); - a = (a + indexable[x_93]); - { - i_2 = (i_2 + 1); - } - continue; - } - } - if ((a == x_6.x_GLF_uniform_int_values[1].el)) { - float v = float(x_6.x_GLF_uniform_int_values[3].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[2].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[3].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ceb8f5b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,123 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int indexable[2] = int[2](0, 0); - int x_36 = x_6.x_GLF_uniform_int_values[2].el; - a = x_36; - int x_38 = x_6.x_GLF_uniform_int_values[3].el; - b = x_38; - int x_40 = x_6.x_GLF_uniform_int_values[2].el; - float x_41 = float(x_40); - x_GLF_color = vec4(x_41, x_41, x_41, x_41); - int x_44 = x_6.x_GLF_uniform_int_values[2].el; - i = x_44; - { - while(true) { - int x_49 = i; - int x_51 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_49 < x_51)) { - } else { - break; - } - int x_54 = i; - int x_56 = x_6.x_GLF_uniform_int_values[3].el; - if ((x_54 > x_56)) { - int x_60 = a; - a = (x_60 + 1); - if (false) { - int x_65 = x_6.x_GLF_uniform_int_values[2].el; - i_1 = x_65; - { - while(true) { - int x_70 = i_1; - int x_72 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_70 < x_72)) { - } else { - break; - } - return; - } - } - } - } - { - int x_75 = i; - i = (x_75 + 1); - } - continue; - } - } - int x_78 = x_6.x_GLF_uniform_int_values[2].el; - i_2 = x_78; - { - while(true) { - int x_83 = i_2; - int x_85 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_83 < x_85)) { - } else { - break; - } - int x_89 = x_6.x_GLF_uniform_int_values[3].el; - int x_91 = x_6.x_GLF_uniform_int_values[4].el; - int x_93 = b; - indexable = int[2](x_89, x_91); - int x_95 = indexable[x_93]; - int x_96 = a; - a = (x_96 + x_95); - { - int x_98 = i_2; - i_2 = (x_98 + 1); - } - continue; - } - } - int x_100 = a; - int x_102 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_100 == x_102)) { - int x_107 = x_6.x_GLF_uniform_int_values[3].el; - int x_110 = x_6.x_GLF_uniform_int_values[2].el; - int x_113 = x_6.x_GLF_uniform_int_values[2].el; - int x_116 = x_6.x_GLF_uniform_int_values[3].el; - float v = float(x_107); - float v_1 = float(x_110); - float v_2 = float(x_113); - x_GLF_color = vec4(v, v_1, v_2, float(x_116)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl deleted file mode 100644 index 79cda30..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,83 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int indexable[2] = int[2](0, 0); - a = 0; - b = 1; - x_GLF_color = vec4(0.0f); - i = 0; - { - while(true) { - if ((i < 10)) { - } else { - break; - } - if ((i > 1)) { - a = (a + 1); - if (false) { - i_1 = 0; - { - while(true) { - if ((i_1 < 10)) { - } else { - break; - } - return; - } - } - } - } - { - i = (i + 1); - } - continue; - } - } - i_2 = 0; - { - while(true) { - if ((i_2 < 10)) { - } else { - break; - } - int x_65 = b; - indexable = int[2](1, 2); - a = (a + indexable[x_65]); - { - i_2 = (i_2 + 1); - } - continue; - } - } - if ((a == 28)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl deleted file mode 100644 index 69d8da0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,93 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int indexable[2] = int[2](0, 0); - a = 0; - b = 1; - x_GLF_color = vec4(0.0f); - i = 0; - { - while(true) { - int x_38 = i; - if ((x_38 < 10)) { - } else { - break; - } - int x_41 = i; - if ((x_41 > 1)) { - int x_45 = a; - a = (x_45 + 1); - if (false) { - i_1 = 0; - { - while(true) { - int x_53 = i_1; - if ((x_53 < 10)) { - } else { - break; - } - return; - } - } - } - } - { - int x_56 = i; - i = (x_56 + 1); - } - continue; - } - } - i_2 = 0; - { - while(true) { - int x_62 = i_2; - if ((x_62 < 10)) { - } else { - break; - } - int x_65 = b; - indexable = int[2](1, 2); - int x_67 = indexable[x_65]; - int x_68 = a; - a = (x_68 + x_67); - { - int x_70 = i_2; - i_2 = (x_70 + 1); - } - continue; - } - } - int x_72 = a; - if ((x_72 == 28)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index ed9de18..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,69 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float A1[3] = float[3](0.0f, 0.0f, 0.0f); - int a = 0; - float b = 0.0f; - bool c = false; - bool x_36 = false; - A1 = float[3](x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el); - int v = x_9.x_GLF_uniform_int_values[1].el; - a = min(max(x_9.x_GLF_uniform_int_values[0].el, x_9.x_GLF_uniform_int_values[0].el), v); - int v_1 = x_9.x_GLF_uniform_int_values[0].el; - b = A1[min(max(a, x_9.x_GLF_uniform_int_values[1].el), v_1)]; - if ((b < A1[x_9.x_GLF_uniform_int_values[1].el])) { - x_36 = (x_6.x_GLF_uniform_float_values[0].el > x_6.x_GLF_uniform_float_values[2].el); - } else { - x_36 = (x_6.x_GLF_uniform_float_values[0].el < A1[x_9.x_GLF_uniform_int_values[2].el]); - } - c = x_36; - if (c) { - float v_2 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_4 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_9.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 03605ae..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,92 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float A1[3] = float[3](0.0f, 0.0f, 0.0f); - int a = 0; - float b = 0.0f; - bool c = false; - bool x_36 = false; - float x_38 = x_6.x_GLF_uniform_float_values[2].el; - float x_40 = x_6.x_GLF_uniform_float_values[0].el; - float x_42 = x_6.x_GLF_uniform_float_values[1].el; - A1 = float[3](x_38, x_40, x_42); - int x_45 = x_9.x_GLF_uniform_int_values[0].el; - int x_47 = x_9.x_GLF_uniform_int_values[0].el; - int x_49 = x_9.x_GLF_uniform_int_values[1].el; - a = min(max(x_45, x_47), x_49); - int x_51 = a; - int x_53 = x_9.x_GLF_uniform_int_values[1].el; - int x_55 = x_9.x_GLF_uniform_int_values[0].el; - float x_58 = A1[min(max(x_51, x_53), x_55)]; - b = x_58; - float x_59 = b; - int x_61 = x_9.x_GLF_uniform_int_values[1].el; - float x_63 = A1[x_61]; - if ((x_59 < x_63)) { - float x_69 = x_6.x_GLF_uniform_float_values[0].el; - float x_71 = x_6.x_GLF_uniform_float_values[2].el; - x_36 = (x_69 > x_71); - } else { - float x_74 = x_6.x_GLF_uniform_float_values[0].el; - int x_76 = x_9.x_GLF_uniform_int_values[2].el; - float x_78 = A1[x_76]; - x_36 = (x_74 < x_78); - } - bool x_80 = x_36; - c = x_80; - bool x_81 = c; - if (x_81) { - int x_86 = x_9.x_GLF_uniform_int_values[0].el; - int x_89 = x_9.x_GLF_uniform_int_values[1].el; - int x_92 = x_9.x_GLF_uniform_int_values[1].el; - int x_95 = x_9.x_GLF_uniform_int_values[0].el; - float v = float(x_86); - float v_1 = float(x_89); - float v_2 = float(x_92); - x_GLF_color = vec4(v, v_1, v_2, float(x_95)); - } else { - float x_99 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_99, x_99, x_99, x_99); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index de6572c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - a = x_6.x_GLF_uniform_float_values[1].el; - if ((x_6.x_GLF_uniform_float_values[3].el > x_6.x_GLF_uniform_float_values[0].el)) { - a = (a + x_6.x_GLF_uniform_float_values[0].el); - x_GLF_color = vec4(a); - if ((x_6.x_GLF_uniform_float_values[3].el > x_6.x_GLF_uniform_float_values[1].el)) { - a = (a + x_GLF_color.x); - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[2].el); - } - } - x_GLF_color = vec4(a, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index bc26b5a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,59 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float x_30 = x_6.x_GLF_uniform_float_values[1].el; - a = x_30; - float x_32 = x_6.x_GLF_uniform_float_values[3].el; - float x_34 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_32 > x_34)) { - float x_39 = x_6.x_GLF_uniform_float_values[0].el; - float x_40 = a; - a = (x_40 + x_39); - float x_42 = a; - x_GLF_color = vec4(x_42, x_42, x_42, x_42); - float x_45 = x_6.x_GLF_uniform_float_values[3].el; - float x_47 = x_6.x_GLF_uniform_float_values[1].el; - if ((x_45 > x_47)) { - float x_52 = x_GLF_color.x; - float x_53 = a; - a = (x_53 + x_52); - float x_56 = x_6.x_GLF_uniform_float_values[2].el; - x_GLF_color = vec4(x_56, x_56, x_56, x_56); - } - } - float x_58 = a; - x_GLF_color = vec4(x_58, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 93fb182..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = x_6.x_GLF_uniform_int_values[1].el; - i = -(x_6.x_GLF_uniform_int_values[3].el); - { - while(true) { - int x_36 = (i + 1); - i = x_36; - int v = bitfieldReverse(x_36); - if ((v <= x_6.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - a = (a + 1); - { - } - continue; - } - } - if ((a == x_6.x_GLF_uniform_int_values[0].el)) { - float v_1 = float(x_6.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3b07e88..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - int x_27 = x_6.x_GLF_uniform_int_values[1].el; - a = x_27; - int x_29 = x_6.x_GLF_uniform_int_values[3].el; - i = -(x_29); - { - while(true) { - int x_35 = i; - int x_36 = (x_35 + 1); - i = x_36; - int x_39 = x_6.x_GLF_uniform_int_values[2].el; - if ((bitfieldReverse(x_36) <= x_39)) { - } else { - break; - } - int x_42 = a; - a = (x_42 + 1); - { - } - continue; - } - } - int x_44 = a; - int x_46 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_44 == x_46)) { - int x_52 = x_6.x_GLF_uniform_int_values[2].el; - int x_55 = x_6.x_GLF_uniform_int_values[1].el; - int x_58 = x_6.x_GLF_uniform_int_values[1].el; - int x_61 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_52); - float v_1 = float(x_55); - float v_2 = float(x_58); - x_GLF_color = vec4(v, v_1, v_2, float(x_61)); - } else { - int x_65 = x_6.x_GLF_uniform_int_values[1].el; - float x_66 = float(x_65); - x_GLF_color = vec4(x_66, x_66, x_66, x_66); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2df0a05..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,93 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf1 x_7; -uniform buf0 x_10; -uniform buf2 x_12; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - f = x_7.x_GLF_uniform_float_values[0].el; - r = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((r < x_10.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - vec2 x_57 = x_12.injectionSwitch; - float x_60 = f; - f = (x_60 + dFdx(x_57)[1u]); - { - r = (r + 1); - } - continue; - } - } - { - while(true) { - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - f = (f + x_7.x_GLF_uniform_float_values[0].el); - { - } - continue; - } - } - if ((f == x_7.x_GLF_uniform_float_values[1].el)) { - float v = float(x_10.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e61bf2d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,111 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf1 x_7; -uniform buf0 x_10; -uniform buf2 x_12; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - float x_42 = x_7.x_GLF_uniform_float_values[0].el; - f = x_42; - int x_44 = x_10.x_GLF_uniform_int_values[1].el; - r = x_44; - { - while(true) { - int x_49 = r; - int x_51 = x_10.x_GLF_uniform_int_values[2].el; - if ((x_49 < x_51)) { - } else { - break; - } - int x_54 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_54 + 1); - vec2 x_57 = x_12.injectionSwitch; - float x_60 = f; - f = (x_60 + dFdx(x_57)[1u]); - { - int x_62 = r; - r = (x_62 + 1); - } - continue; - } - } - { - while(true) { - int x_68 = x_GLF_global_loop_count; - if ((x_68 < 100)) { - } else { - break; - } - int x_71 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_71 + 1); - float x_74 = x_7.x_GLF_uniform_float_values[0].el; - float x_75 = f; - f = (x_75 + x_74); - { - } - continue; - } - } - float x_77 = f; - float x_79 = x_7.x_GLF_uniform_float_values[1].el; - if ((x_77 == x_79)) { - int x_85 = x_10.x_GLF_uniform_int_values[0].el; - int x_88 = x_10.x_GLF_uniform_int_values[1].el; - int x_91 = x_10.x_GLF_uniform_int_values[1].el; - int x_94 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_85); - float v_1 = float(x_88); - float v_2 = float(x_91); - x_GLF_color = vec4(v, v_1, v_2, float(x_94)); - } else { - int x_98 = x_10.x_GLF_uniform_int_values[1].el; - float x_99 = float(x_98); - x_GLF_color = vec4(x_99, x_99, x_99, x_99); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6a34aa4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - float a = 0.0f; - f = x_6.x_GLF_uniform_float_values[1].el; - i = x_9.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i > x_9.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - a = (1.0f - max(1.0f, float(i))); - f = min(max(a, 0.0f), 0.0f); - { - i = (i - 1); - } - continue; - } - } - if ((f == x_6.x_GLF_uniform_float_values[0].el)) { - float v = float(x_9.x_GLF_uniform_int_values[2].el); - float v_1 = f; - x_GLF_color = vec4(v, v_1, float(x_9.x_GLF_uniform_int_values[0].el), 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d767119..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,82 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - float a = 0.0f; - float x_37 = x_6.x_GLF_uniform_float_values[1].el; - f = x_37; - int x_39 = x_9.x_GLF_uniform_int_values[1].el; - i = x_39; - { - while(true) { - int x_44 = i; - int x_46 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_44 > x_46)) { - } else { - break; - } - int x_49 = i; - a = (1.0f - max(1.0f, float(x_49))); - float x_53 = a; - f = min(max(x_53, 0.0f), 0.0f); - { - int x_56 = i; - i = (x_56 - 1); - } - continue; - } - } - float x_58 = f; - float x_60 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_58 == x_60)) { - int x_66 = x_9.x_GLF_uniform_int_values[2].el; - float x_68 = f; - int x_70 = x_9.x_GLF_uniform_int_values[0].el; - float v = float(x_66); - x_GLF_color = vec4(v, x_68, float(x_70), 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1faf016..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int i = 0; - i = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - i = (i + 1); - if (true) { - if (true) { - int x_65 = x_7.x_GLF_uniform_int_values[2].el; - return x_65; - } - } - { - int x_66 = i; - int x_68 = x_7.x_GLF_uniform_int_values[1].el; - if (!((x_66 < x_68))) { break; } - } - continue; - } - } - int x_71 = x_7.x_GLF_uniform_int_values[0].el; - return x_71; -} -void main_1() { - int x_27 = func_(); - if ((x_27 == x_7.x_GLF_uniform_int_values[2].el)) { - float v = float(x_7.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_7.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1ad6f8f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int i = 0; - int x_53 = x_7.x_GLF_uniform_int_values[0].el; - i = x_53; - { - while(true) { - int x_58 = i; - i = (x_58 + 1); - if (true) { - if (true) { - int x_65 = x_7.x_GLF_uniform_int_values[2].el; - return x_65; - } - } - { - int x_66 = i; - int x_68 = x_7.x_GLF_uniform_int_values[1].el; - if (!((x_66 < x_68))) { break; } - } - continue; - } - } - int x_71 = x_7.x_GLF_uniform_int_values[0].el; - return x_71; -} -void main_1() { - int x_27 = func_(); - int x_29 = x_7.x_GLF_uniform_int_values[2].el; - if ((x_27 == x_29)) { - int x_35 = x_7.x_GLF_uniform_int_values[2].el; - int x_38 = x_7.x_GLF_uniform_int_values[0].el; - int x_41 = x_7.x_GLF_uniform_int_values[0].el; - int x_44 = x_7.x_GLF_uniform_int_values[2].el; - float v = float(x_35); - float v_1 = float(x_38); - float v_2 = float(x_41); - x_GLF_color = vec4(v, v_1, v_2, float(x_44)); - } else { - int x_48 = x_7.x_GLF_uniform_int_values[0].el; - float x_49 = float(x_48); - x_GLF_color = vec4(x_49, x_49, x_49, x_49); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index bfeaf77..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,34 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - f = 2.0f; - if ((exp2(f) == 4.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6088be6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,35 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - f = 2.0f; - float x_19 = f; - if ((exp2(x_19) == 4.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e32b050..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,59 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int ret = 0; - int i = 0; - ret = 0; - i = 3; - { - while(true) { - if ((i > (i & 1))) { - } else { - break; - } - ret = (ret + 1); - { - i = (i - x_8.one); - } - continue; - } - } - int x_50 = ret; - return x_50; -} -void main_1() { - int x_29 = func_(); - if ((x_29 == 2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3d5e41f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,64 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int ret = 0; - int i = 0; - ret = 0; - i = 3; - { - while(true) { - int x_39 = i; - int x_40 = i; - if ((x_39 > (x_40 & 1))) { - } else { - break; - } - int x_44 = ret; - ret = (x_44 + 1); - { - int x_47 = x_8.one; - int x_48 = i; - i = (x_48 - x_47); - } - continue; - } - } - int x_50 = ret; - return x_50; -} -void main_1() { - int x_29 = func_(); - if ((x_29 == 2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl deleted file mode 100644 index 14d5f0a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if (((x_5.one & 0) == 0)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl deleted file mode 100644 index 8b9b265..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_22 = x_5.one; - if (((x_22 & 0) == 0)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl deleted file mode 100644 index 4df78ab..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if (((-1 | x_5.one) == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl deleted file mode 100644 index ac6f67e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_23 = x_5.one; - if (((-1 | x_23) == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5aae1e5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,36 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - a = 6; - b = 5; - if (((a ^ b) != 3)) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d59e404..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - a = 6; - b = 5; - int x_6 = a; - int x_7 = b; - if (((x_6 ^ x_7) != 3)) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e4422b3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int minusOne; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int minValue = 0; - int negMinValue = 0; - minValue = (-2147483647 - 1); - negMinValue = -(minValue); - if ((negMinValue == (minValue * x_7.minusOne))) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 69ccd05..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,45 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int minusOne; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int minValue = 0; - int negMinValue = 0; - minValue = (-2147483647 - 1); - int x_25 = minValue; - negMinValue = -(x_25); - int x_27 = negMinValue; - int x_28 = minValue; - int x_30 = x_7.minusOne; - if ((x_27 == (x_28 * x_30))) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl deleted file mode 100644 index 42520df..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,34 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 3; - if ((~(i) == -4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl deleted file mode 100644 index 9fb009b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,35 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 3; - int x_5 = i; - if ((~(x_5) == -4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl deleted file mode 100644 index 4115914..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,34 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 5; - if (((i >> (1u & 31u)) != 2)) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl deleted file mode 100644 index 0e63a2c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,35 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 5; - int x_5 = i; - if (((x_5 >> (1u & 31u)) != 2)) { - x_GLF_color = vec4(0.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 32bec41..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - f = 1.0f; - { - while(true) { - f = (f + x_6.one); - { - float x_34 = f; - float x_36 = x_6.one; - if (!((10.0f > clamp(x_34, 8.0f, (9.0f + x_36))))) { break; } - } - continue; - } - } - if ((f == 10.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f1f6f0f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - f = 1.0f; - { - while(true) { - float x_31 = x_6.one; - float x_32 = f; - f = (x_32 + x_31); - { - float x_34 = f; - float x_36 = x_6.one; - if (!((10.0f > clamp(x_34, 8.0f, (9.0f + x_36))))) { break; } - } - continue; - } - } - float x_40 = f; - if ((x_40 == 10.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5e64cbf..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if (((1 + (3 - x_5.one)) == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 5119589..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_24 = x_5.one; - if (((1 + (3 - x_24)) == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 30b42ca..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 twoandthree; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 a = vec2(0.0f); - vec2 b = vec2(0.0f); - bool x_46 = false; - bool x_47 = false; - a = x_6.twoandthree; - float v = a.x; - b = vec2(v, clamp(a, vec2(1.0f), vec2(1.0f))[1u]); - bool x_41 = (b.x == 2.0f); - x_47 = x_41; - if (x_41) { - x_46 = (b.y == 1.0f); - x_47 = x_46; - } - if (x_47) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 27de8e3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,55 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 twoandthree; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 a = vec2(0.0f); - vec2 b = vec2(0.0f); - bool x_46 = false; - bool x_47_phi = false; - vec2 x_32 = x_6.twoandthree; - a = x_32; - float x_34 = a.x; - vec2 x_35 = a; - b = vec2(x_34, clamp(x_35, vec2(1.0f), vec2(1.0f))[1u]); - float x_40 = b.x; - bool x_41 = (x_40 == 2.0f); - x_47_phi = x_41; - if (x_41) { - float x_45 = b.y; - x_46 = (x_45 == 1.0f); - x_47_phi = x_46; - } - bool x_47 = x_47_phi; - if (x_47) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e681a0b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if ((dot(vec4(1.0f, 2.0f, x_5.three, 4.0f), vec4(0.0f, 1.0f, 0.0f, 0.0f)) == 2.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f73ab31..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_25 = x_5.three; - if ((dot(vec4(1.0f, 2.0f, x_25, 4.0f), vec4(0.0f, 1.0f, 0.0f, 0.0f)) == 2.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl deleted file mode 100644 index 6592a7b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if ((dot(vec2(2.0f, x_5.three), vec2(0.0f, 2.0f)) == 6.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl deleted file mode 100644 index 4fd9daa..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_26 = x_5.three; - if ((dot(vec2(2.0f, x_26), vec2(0.0f, 2.0f)) == 6.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b8f508a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 5; - { - while(true) { - if ((i >= 0)) { - } else { - break; - } - i = (i - 3); - i = (i + 1); - { - } - continue; - } - } - if ((i == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c6efcc9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,51 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = 5; - { - while(true) { - int x_5 = i; - if ((x_5 >= 0)) { - } else { - break; - } - int x_6 = i; - i = (x_6 - 3); - int x_8 = i; - i = (x_8 + 1); - { - } - continue; - } - } - int x_10 = i; - if ((x_10 == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f89940d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool b = false; - int i = 0; - float a = 0.0f; - b = false; - i = 1; - { - while(true) { - if ((i > 0)) { - } else { - break; - } - a = (1.0f + float(i)); - if (((2.0f - a) == 0.0f)) { - b = true; - } - { - i = (i - 1); - } - continue; - } - } - if (b) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 19f8fa4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool b = false; - int i = 0; - float a = 0.0f; - b = false; - i = 1; - { - while(true) { - int x_7 = i; - if ((x_7 > 0)) { - } else { - break; - } - int x_8 = i; - a = (1.0f + float(x_8)); - float x_39 = a; - if (((2.0f - x_39) == 0.0f)) { - b = true; - } - { - int x_9 = i; - i = (x_9 - 1); - } - continue; - } - } - bool x_44 = b; - if (x_44) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c1d26fe..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool b = false; - int i = 0; - float a = 0.0f; - b = false; - i = 1; - { - while(true) { - if ((i > 0)) { - } else { - break; - } - a = (3.0f - float(i)); - if (((2.0f - a) == 0.0f)) { - b = true; - } - { - i = (i - 1); - } - continue; - } - } - if (b) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 764a27a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool b = false; - int i = 0; - float a = 0.0f; - b = false; - i = 1; - { - while(true) { - int x_7 = i; - if ((x_7 > 0)) { - } else { - break; - } - int x_8 = i; - a = (3.0f - float(x_8)); - float x_40 = a; - if (((2.0f - x_40) == 0.0f)) { - b = true; - } - { - int x_9 = i; - i = (x_9 - 1); - } - continue; - } - } - bool x_45 = b; - if (x_45) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 298d502..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,52 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int five; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - i = x_6.five; - { - while(true) { - if ((i > 0)) { - } else { - break; - } - i = (i - 1); - i = (i - 1); - { - } - continue; - } - } - if ((i == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index dd859ee..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int five; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int x_26 = x_6.five; - i = x_26; - { - while(true) { - int x_31 = i; - if ((x_31 > 0)) { - } else { - break; - } - int x_34 = i; - i = (x_34 - 1); - int x_36 = i; - i = (x_36 - 1); - { - } - continue; - } - } - int x_38 = i; - if ((x_38 == -1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1cd1937..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec3 v = vec3(0.0f); - float d = 0.0f; - v = mix(vec3(5.0f, 8.0f, -12.19999980926513671875f), vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f), vec3(x_6.one)); - d = distance(v, vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f)); - if ((d < 0.10000000149011611938f)) { - x_GLF_color = vec4(v.x, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 086c2a6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,45 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec3 v = vec3(0.0f); - float d = 0.0f; - float x_36 = x_6.one; - v = mix(vec3(5.0f, 8.0f, -12.19999980926513671875f), vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f), vec3(x_36, x_36, x_36)); - vec3 x_39 = v; - d = distance(x_39, vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f)); - float x_41 = d; - if ((x_41 < 0.10000000149011611938f)) { - float x_47 = v.x; - x_GLF_color = vec4(x_47, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d852105..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x = 0; - x = -((5 - x_6.one)); - if ((x == -4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 08f4841..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x = 0; - int x_26 = x_6.one; - x = -((5 - x_26)); - int x_29 = x; - if ((x_29 == -4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1fbf8e8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 zeroOne; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - float d = 0.0f; - v = mix(vec2(2.0f, 3.0f), vec2(4.0f, 5.0f), x_6.zeroOne); - d = distance(v, vec2(2.0f, 5.0f)); - if ((d < 0.10000000149011611938f)) { - x_GLF_color = vec4((v.x - 1.0f), (v.y - 5.0f), 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e7ce3fe..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,46 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 zeroOne; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - float d = 0.0f; - vec2 x_37 = x_6.zeroOne; - v = mix(vec2(2.0f, 3.0f), vec2(4.0f, 5.0f), x_37); - vec2 x_39 = v; - d = distance(x_39, vec2(2.0f, 5.0f)); - float x_41 = d; - if ((x_41 < 0.10000000149011611938f)) { - float x_47 = v.x; - float x_50 = v.y; - x_GLF_color = vec4((x_47 - 1.0f), (x_50 - 5.0f), 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9eef80e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,72 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[3] = float[3](0.0f, 0.0f, 0.0f); - int i = 0; - arr = float[3](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[2].el); - i = 1; - { - while(true) { - int v = i; - if ((v < min(x_9.x_GLF_uniform_int_values[2].el, 3))) { - } else { - break; - } - int x_53 = x_9.x_GLF_uniform_int_values[2].el; - arr[x_53] = (arr[x_53] + x_6.x_GLF_uniform_float_values[0].el); - { - i = (i + 1); - } - continue; - } - } - if ((arr[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[3].el)) { - float v_1 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_9.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 411ee83..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,88 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[3] = float[3](0.0f, 0.0f, 0.0f); - int i = 0; - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - float x_38 = x_6.x_GLF_uniform_float_values[1].el; - float x_40 = x_6.x_GLF_uniform_float_values[2].el; - arr = float[3](x_36, x_38, x_40); - i = 1; - { - while(true) { - int x_46 = i; - int x_48 = x_9.x_GLF_uniform_int_values[2].el; - if ((x_46 < min(x_48, 3))) { - } else { - break; - } - int x_53 = x_9.x_GLF_uniform_int_values[2].el; - float x_55 = x_6.x_GLF_uniform_float_values[0].el; - float x_57 = arr[x_53]; - arr[x_53] = (x_57 + x_55); - { - int x_60 = i; - i = (x_60 + 1); - } - continue; - } - } - int x_63 = x_9.x_GLF_uniform_int_values[2].el; - float x_65 = arr[x_63]; - float x_67 = x_6.x_GLF_uniform_float_values[3].el; - if ((x_65 == x_67)) { - int x_73 = x_9.x_GLF_uniform_int_values[1].el; - int x_76 = x_9.x_GLF_uniform_int_values[0].el; - int x_79 = x_9.x_GLF_uniform_int_values[0].el; - int x_82 = x_9.x_GLF_uniform_int_values[1].el; - float v = float(x_73); - float v_1 = float(x_76); - float v_2 = float(x_79); - x_GLF_color = vec4(v, v_1, v_2, float(x_82)); - } else { - int x_86 = x_9.x_GLF_uniform_int_values[0].el; - float x_87 = float(x_86); - x_GLF_color = vec4(x_87, x_87, x_87, x_87); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 975511b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = x_6.x_GLF_uniform_int_values[2].el; - i = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - int x_38 = i; - switch(x_38) { - case 0: - case -1: - { - a = x_6.x_GLF_uniform_int_values[1].el; - break; - } - default: - { - break; - } - } - { - i = (i + 1); - } - continue; - } - } - if ((a == x_6.x_GLF_uniform_int_values[1].el)) { - float v = float(x_6.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[2].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[2].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b2d9388..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,87 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - int x_26 = x_6.x_GLF_uniform_int_values[2].el; - a = x_26; - int x_28 = x_6.x_GLF_uniform_int_values[2].el; - i = x_28; - { - while(true) { - int x_33 = i; - int x_35 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_33 < x_35)) { - } else { - break; - } - int x_38 = i; - switch(x_38) { - case 0: - case -1: - { - int x_42 = x_6.x_GLF_uniform_int_values[1].el; - a = x_42; - break; - } - default: - { - break; - } - } - { - int x_43 = i; - i = (x_43 + 1); - } - continue; - } - } - int x_45 = a; - int x_47 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_45 == x_47)) { - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - int x_56 = x_6.x_GLF_uniform_int_values[2].el; - int x_59 = x_6.x_GLF_uniform_int_values[2].el; - int x_62 = x_6.x_GLF_uniform_int_values[1].el; - float v = float(x_53); - float v_1 = float(x_56); - float v_2 = float(x_59); - x_GLF_color = vec4(v, v_1, v_2, float(x_62)); - } else { - int x_66 = x_6.x_GLF_uniform_int_values[2].el; - float x_67 = float(x_66); - x_GLF_color = vec4(x_67, x_67, x_67, x_67); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7451a37..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,59 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_10; -void main_1() { - float f0 = 0.0f; - float f1 = 0.0f; - f0 = 1.0f; - f1 = fract(f0); - if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[0].el)) { - float v = float(x_10.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(f1); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 06f72ba..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_10; -void main_1() { - float f0 = 0.0f; - float f1 = 0.0f; - f0 = 1.0f; - float x_35 = f0; - f1 = fract(x_35); - float x_38 = tint_symbol.x; - float x_40 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_38 > x_40)) { - int x_46 = x_10.x_GLF_uniform_int_values[1].el; - int x_49 = x_10.x_GLF_uniform_int_values[0].el; - int x_52 = x_10.x_GLF_uniform_int_values[0].el; - int x_55 = x_10.x_GLF_uniform_int_values[1].el; - float v = float(x_46); - float v_1 = float(x_49); - float v_2 = float(x_52); - x_GLF_color = vec4(v, v_1, v_2, float(x_55)); - } else { - float x_58 = f1; - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b2f16a6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - vec2 b = vec2(0.0f); - float a = 0.0f; - bool x_51 = false; - bool x_52 = false; - v1 = vec2(x_6.x_GLF_uniform_float_values[0].el); - b = fract(v1); - a = smoothstep(vec2(1.0f), vec2(2.0f), b)[0u]; - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, a, a, x_6.x_GLF_uniform_float_values[0].el); - bool x_46 = (b.x < 1.0f); - x_52 = x_46; - if (x_46) { - x_51 = (b.y < 1.0f); - x_52 = x_51; - } - if (x_52) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, b.x, b.y, x_6.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 9e3b54b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - vec2 b = vec2(0.0f); - float a = 0.0f; - bool x_51 = false; - bool x_52_phi = false; - float x_30 = x_6.x_GLF_uniform_float_values[0].el; - v1 = vec2(x_30, x_30); - vec2 x_32 = v1; - b = fract(x_32); - vec2 x_34 = b; - a = smoothstep(vec2(1.0f), vec2(2.0f), x_34)[0u]; - float x_38 = x_6.x_GLF_uniform_float_values[0].el; - float x_39 = a; - float x_40 = a; - float x_42 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_38, x_39, x_40, x_42); - float x_45 = b.x; - bool x_46 = (x_45 < 1.0f); - x_52_phi = x_46; - if (x_46) { - float x_50 = b.y; - x_51 = (x_50 < 1.0f); - x_52_phi = x_51; - } - bool x_52 = x_52_phi; - if (x_52) { - float x_57 = x_6.x_GLF_uniform_float_values[0].el; - float x_59 = b.x; - float x_61 = b.y; - float x_63 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_57, x_59, x_61, x_63); - } else { - float x_66 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_66, x_66, x_66, x_66); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 4527ffe..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,99 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_11; -float func_f1_(inout float x) { - { - while(true) { - if (true) { - } else { - break; - } - { - while(true) { - if ((tint_symbol.y < x_8.x_GLF_uniform_float_values[2].el)) { - { - while(true) { - { - float x_88 = tint_symbol.x; - float x_90 = x_8.x_GLF_uniform_float_values[2].el; - if (!((x_88 < x_90))) { break; } - } - continue; - } - } - } - if ((x < x_8.x_GLF_uniform_float_values[3].el)) { - float x_99 = x_8.x_GLF_uniform_float_values[1].el; - return x_99; - } - { - float x_101 = tint_symbol.y; - float x_103 = x_8.x_GLF_uniform_float_values[2].el; - if (!((x_101 < x_103))) { break; } - } - continue; - } - } - { - } - continue; - } - } - float x_106 = x_8.x_GLF_uniform_float_values[0].el; - return x_106; -} -void main_1() { - float param = 0.0f; - param = tint_symbol.x; - float x_42 = func_f1_(param); - if ((x_42 == x_8.x_GLF_uniform_float_values[1].el)) { - float v = float(x_11.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_11.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_11.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 63cc4eb..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,111 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_11; -float func_f1_(inout float x) { - { - while(true) { - if (true) { - } else { - break; - } - { - while(true) { - float x_77 = tint_symbol.y; - float x_79 = x_8.x_GLF_uniform_float_values[2].el; - if ((x_77 < x_79)) { - { - while(true) { - { - float x_88 = tint_symbol.x; - float x_90 = x_8.x_GLF_uniform_float_values[2].el; - if (!((x_88 < x_90))) { break; } - } - continue; - } - } - } - float x_92 = x; - float x_94 = x_8.x_GLF_uniform_float_values[3].el; - if ((x_92 < x_94)) { - float x_99 = x_8.x_GLF_uniform_float_values[1].el; - return x_99; - } - { - float x_101 = tint_symbol.y; - float x_103 = x_8.x_GLF_uniform_float_values[2].el; - if (!((x_101 < x_103))) { break; } - } - continue; - } - } - { - } - continue; - } - } - float x_106 = x_8.x_GLF_uniform_float_values[0].el; - return x_106; -} -void main_1() { - float param = 0.0f; - float x_41 = tint_symbol.x; - param = x_41; - float x_42 = func_f1_(param); - float x_44 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_42 == x_44)) { - int x_50 = x_11.x_GLF_uniform_int_values[0].el; - int x_53 = x_11.x_GLF_uniform_int_values[1].el; - int x_56 = x_11.x_GLF_uniform_int_values[1].el; - int x_59 = x_11.x_GLF_uniform_int_values[0].el; - float v = float(x_50); - float v_1 = float(x_53); - float v_2 = float(x_56); - x_GLF_color = vec4(v, v_1, v_2, float(x_59)); - } else { - int x_63 = x_11.x_GLF_uniform_int_values[1].el; - float x_64 = float(x_63); - x_GLF_color = vec4(x_64, x_64, x_64, x_64); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5404776..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - float zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf2 x_10; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_13; -bool continue_execution = true; -bool func_vf2_(inout vec2 pos) { - if ((pos.x < x_8.x_GLF_uniform_float_values[0].el)) { - return true; - } - if ((pos.y > x_8.x_GLF_uniform_float_values[0].el)) { - return false; - } - if ((x_10.zero > x_8.x_GLF_uniform_float_values[1].el)) { - return true; - } - return true; -} -void main_1() { - vec2 param = vec2(0.0f); - param = tint_symbol.xy; - bool x_44 = func_vf2_(param); - if (x_44) { - continue_execution = false; - } - float v = float(x_13.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_13.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_13.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_13.x_GLF_uniform_int_values[0].el)); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index deabe0c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - float zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf2 x_10; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_13; -bool continue_execution = true; -bool func_vf2_(inout vec2 pos) { - float x_62 = pos.x; - float x_64 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_62 < x_64)) { - return true; - } - float x_69 = pos.y; - float x_71 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_69 > x_71)) { - return false; - } - float x_76 = x_10.zero; - float x_78 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_76 > x_78)) { - return true; - } - return true; -} -void main_1() { - vec2 param = vec2(0.0f); - vec4 x_42 = tint_symbol; - param = vec2(x_42[0u], x_42[1u]); - bool x_44 = func_vf2_(param); - if (x_44) { - continue_execution = false; - } - int x_48 = x_13.x_GLF_uniform_int_values[0].el; - int x_51 = x_13.x_GLF_uniform_int_values[1].el; - int x_54 = x_13.x_GLF_uniform_int_values[1].el; - int x_57 = x_13.x_GLF_uniform_int_values[0].el; - float v = float(x_48); - float v_1 = float(x_51); - float v_2 = float(x_54); - x_GLF_color = vec4(v, v_1, v_2, float(x_57)); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7fedbc9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - x_GLF_global_loop_count = 0; - float v = float(x_6.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[1].el)); - { - while(true) { - bool x_54 = false; - bool x_55 = false; - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - x_55 = true; - if (false) { - x_54 = (x_6.x_GLF_uniform_int_values[0].el == x_6.x_GLF_uniform_int_values[1].el); - x_55 = x_54; - } - if (!(x_55)) { - break; - } - { - } - continue; - } - } - { - while(true) { - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el)); - { - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 9b4059b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - x_GLF_global_loop_count = 0; - int x_26 = x_6.x_GLF_uniform_int_values[1].el; - int x_29 = x_6.x_GLF_uniform_int_values[0].el; - int x_32 = x_6.x_GLF_uniform_int_values[0].el; - int x_35 = x_6.x_GLF_uniform_int_values[1].el; - float v = float(x_26); - float v_1 = float(x_29); - float v_2 = float(x_32); - x_GLF_color = vec4(v, v_1, v_2, float(x_35)); - { - while(true) { - bool x_54 = false; - bool x_55_phi = false; - int x_42 = x_GLF_global_loop_count; - if ((x_42 < 100)) { - } else { - break; - } - int x_45 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_45 + 1); - x_55_phi = true; - if (false) { - int x_51 = x_6.x_GLF_uniform_int_values[0].el; - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - x_54 = (x_51 == x_53); - x_55_phi = x_54; - } - bool x_55 = x_55_phi; - if (!(x_55)) { - break; - } - { - } - continue; - } - } - { - while(true) { - int x_63 = x_GLF_global_loop_count; - if ((x_63 < 100)) { - } else { - break; - } - int x_66 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_66 + 1); - int x_69 = x_6.x_GLF_uniform_int_values[0].el; - float x_70 = float(x_69); - x_GLF_color = vec4(x_70, x_70, x_70, x_70); - { - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e2ce129..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,164 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[18]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct buf2 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf1 x_7; -uniform buf0 x_12; -uniform buf2 x_15; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - mat4 m = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - vec4 v = vec4(0.0f); - float f = 0.0f; - int a = 0; - int b = 0; - float zero = 0.0f; - x_GLF_global_loop_count = 0; - float x_62 = x_7.x_GLF_uniform_float_values[1].el; - float x_64 = x_7.x_GLF_uniform_float_values[2].el; - float x_66 = x_7.x_GLF_uniform_float_values[3].el; - float x_68 = x_7.x_GLF_uniform_float_values[4].el; - float x_70 = x_7.x_GLF_uniform_float_values[5].el; - float x_72 = x_7.x_GLF_uniform_float_values[6].el; - float x_74 = x_7.x_GLF_uniform_float_values[7].el; - float x_76 = x_7.x_GLF_uniform_float_values[8].el; - float x_78 = x_7.x_GLF_uniform_float_values[9].el; - float x_80 = x_7.x_GLF_uniform_float_values[10].el; - float x_82 = x_7.x_GLF_uniform_float_values[11].el; - float x_84 = x_7.x_GLF_uniform_float_values[12].el; - float x_86 = x_7.x_GLF_uniform_float_values[13].el; - float x_88 = x_7.x_GLF_uniform_float_values[14].el; - float x_90 = x_7.x_GLF_uniform_float_values[15].el; - float x_92 = x_7.x_GLF_uniform_float_values[16].el; - vec4 v_1 = vec4(x_62, x_64, x_66, x_68); - vec4 v_2 = vec4(x_70, x_72, x_74, x_76); - vec4 v_3 = vec4(x_78, x_80, x_82, x_84); - m = mat4(v_1, v_2, v_3, vec4(x_86, x_88, x_90, x_92)); - float x_99 = x_7.x_GLF_uniform_float_values[1].el; - float x_101 = x_7.x_GLF_uniform_float_values[2].el; - float x_103 = x_7.x_GLF_uniform_float_values[3].el; - float x_105 = x_7.x_GLF_uniform_float_values[4].el; - v = vec4(x_99, x_101, x_103, x_105); - float x_108 = x_7.x_GLF_uniform_float_values[1].el; - f = x_108; - int x_110 = x_12.x_GLF_uniform_int_values[0].el; - a = x_110; - { - while(true) { - int x_115 = x_GLF_global_loop_count; - if ((x_115 < 10)) { - } else { - break; - } - int x_118 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_118 + 1); - int x_120 = a; - int x_121 = min(max(x_120, 0), 3); - float x_123 = x_7.x_GLF_uniform_float_values[1].el; - float x_125 = v[x_121]; - v[x_121] = (x_125 + x_123); - int x_129 = x_12.x_GLF_uniform_int_values[2].el; - b = x_129; - { - while(true) { - int x_134 = x_GLF_global_loop_count; - if ((x_134 < 10)) { - } else { - break; - } - int x_137 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_137 + 1); - int x_139 = b; - float x_142 = v[min(max(x_139, 0), 3)]; - int x_143 = b; - int x_145 = a; - float x_147 = m[min(max(x_143, 0), 3)][x_145]; - float x_149 = f; - f = (x_149 + (x_142 * x_147)); - { - int x_151 = b; - b = (x_151 - 1); - } - continue; - } - } - int x_153 = a; - float x_156 = x_7.x_GLF_uniform_float_values[1].el; - m[1][min(max(x_153, 0), 3)] = x_156; - int x_159 = x_15.one; - int x_161 = x_12.x_GLF_uniform_int_values[0].el; - if ((x_159 == x_161)) { - continue_execution = false; - } - int x_166 = x_15.one; - int x_168 = x_12.x_GLF_uniform_int_values[1].el; - if ((x_166 == x_168)) { - continue_execution = false; - } - { - int x_172 = a; - a = (x_172 + 1); - } - continue; - } - } - float x_175 = x_7.x_GLF_uniform_float_values[0].el; - zero = x_175; - float x_176 = f; - float x_178 = x_7.x_GLF_uniform_float_values[17].el; - if (!((x_176 == x_178))) { - float x_183 = x_7.x_GLF_uniform_float_values[1].el; - zero = x_183; - } - float x_184 = f; - float x_185 = zero; - int x_187 = x_12.x_GLF_uniform_int_values[0].el; - float x_189 = f; - x_GLF_color = vec4(x_184, x_185, float(x_187), x_189); -} -main_out main() { - main_1(); - main_out v_4 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_4; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl deleted file mode 100644 index f98792f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,88 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_23 = 0; - int x_27 = 0; - int x_37 = 0; - int x_45 = 0; - x_23 = 0; - { - while(true) { - int x_24 = 0; - x_27 = x_5.x_GLF_uniform_int_values[1].el; - if ((x_23 < (100 - x_27))) { - } else { - break; - } - { - x_24 = (x_23 + 1); - x_23 = x_24; - } - continue; - } - } - int x_40 = 0; - int x_32 = x_5.x_GLF_uniform_int_values[0].el; - x_45 = 1; - if ((x_32 == 0)) { - x_37 = 1; - x_40 = x_23; - { - while(true) { - int x_41 = 0; - int x_38 = 0; - if ((x_40 < 100)) { - } else { - break; - } - { - x_41 = (x_40 + 1); - x_38 = (x_37 * (1 - x_37)); - x_37 = x_38; - x_40 = x_41; - } - continue; - } - } - x_45 = x_37; - } - if ((x_45 == x_32)) { - float x_50 = float(x_27); - float x_51 = float(x_32); - x_GLF_color = vec4(x_50, x_51, x_51, x_50); - } else { - x_GLF_color = vec4(float(x_32)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 37260a7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - x_GLF_global_loop_count = 0; - { - while(true) { - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - if (((x_GLF_global_loop_count * x_GLF_global_loop_count) > 10)) { - break; - } - { - } - continue; - } - } - if ((x_GLF_global_loop_count == 4)) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 8792710..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,72 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - x_GLF_global_loop_count = 0; - { - while(true) { - int x_30 = x_GLF_global_loop_count; - if ((x_30 < 100)) { - } else { - break; - } - int x_33 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_33 + 1); - int x_35 = x_GLF_global_loop_count; - int x_36 = x_GLF_global_loop_count; - if (((x_35 * x_36) > 10)) { - break; - } - { - } - continue; - } - } - int x_41 = x_GLF_global_loop_count; - if ((x_41 == 4)) { - int x_47 = x_6.x_GLF_uniform_int_values[0].el; - int x_50 = x_6.x_GLF_uniform_int_values[1].el; - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - int x_56 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_47); - float v_1 = float(x_50); - float v_2 = float(x_53); - x_GLF_color = vec4(v, v_1, v_2, float(x_56)); - } else { - int x_60 = x_6.x_GLF_uniform_int_values[1].el; - float x_61 = float(x_60); - x_GLF_color = vec4(x_61, x_61, x_61, x_61); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d964ae4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,44 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - a = x_6.zero; - if ((a == 0)) { - a = (a + 1); - } else { - a = (a + 1); - } - if ((a == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 284d6d6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int x_25 = x_6.zero; - a = x_25; - int x_26 = a; - if ((x_26 == 0)) { - int x_31 = a; - a = (x_31 + 1); - } else { - int x_33 = a; - a = (x_33 + 1); - } - int x_35 = a; - if ((x_35 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl deleted file mode 100644 index a0ff02b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,69 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - if ((tint_symbol.y >= x_36)) { - int x_41 = x_8.x_GLF_uniform_int_values[1].el; - switch(x_41) { - case 0: - case 16: - { - float x_46 = float(x_8.x_GLF_uniform_int_values[0].el); - float x_47 = float(x_41); - x_GLF_color = vec4(x_46, x_47, x_47, x_46); - break; - } - default: - { - break; - } - } - } - if ((x_8.x_GLF_uniform_int_values[1].el == x_8.x_GLF_uniform_int_values[0].el)) { - x_GLF_color = vec4(x_36); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl deleted file mode 100644 index f63d447..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,74 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - float x_31 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_31, x_31, x_31, x_31); - float x_34 = tint_symbol.y; - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_34 >= x_36)) { - int x_41 = x_8.x_GLF_uniform_int_values[1].el; - switch(x_41) { - case 0: - case 16: - { - int x_45 = x_8.x_GLF_uniform_int_values[0].el; - float x_46 = float(x_45); - float x_47 = float(x_41); - x_GLF_color = vec4(x_46, x_47, x_47, x_46); - break; - } - default: - { - break; - } - } - } - int x_50 = x_8.x_GLF_uniform_int_values[1].el; - int x_52 = x_8.x_GLF_uniform_int_values[0].el; - if ((x_50 == x_52)) { - x_GLF_color = vec4(x_36, x_36, x_36, x_36); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 39b99f8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int c = 0; - bool x_65 = false; - bool x_66 = false; - a = x_6.x_GLF_uniform_int_values[0].el; - b = x_6.x_GLF_uniform_int_values[1].el; - c = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((a < b)) { - } else { - break; - } - a = (a + 1); - if ((c == x_6.x_GLF_uniform_int_values[2].el)) { - c = (c * x_6.x_GLF_uniform_int_values[3].el); - } else { - if (true) { - { - } - continue; - } - } - { - } - continue; - } - } - bool x_59 = (a == b); - x_66 = x_59; - if (x_59) { - x_65 = (c == x_6.x_GLF_uniform_int_values[3].el); - x_66 = x_65; - } - if (x_66) { - float v = float(x_6.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 75c50b8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,100 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int b = 0; - int c = 0; - bool x_65 = false; - bool x_66_phi = false; - int x_29 = x_6.x_GLF_uniform_int_values[0].el; - a = x_29; - int x_31 = x_6.x_GLF_uniform_int_values[1].el; - b = x_31; - int x_33 = x_6.x_GLF_uniform_int_values[2].el; - c = x_33; - { - while(true) { - int x_38 = a; - int x_39 = b; - if ((x_38 < x_39)) { - } else { - break; - } - int x_42 = a; - a = (x_42 + 1); - int x_44 = c; - int x_46 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_44 == x_46)) { - int x_52 = x_6.x_GLF_uniform_int_values[3].el; - int x_53 = c; - c = (x_53 * x_52); - } else { - if (true) { - { - } - continue; - } - } - { - } - continue; - } - } - int x_57 = a; - int x_58 = b; - bool x_59 = (x_57 == x_58); - x_66_phi = x_59; - if (x_59) { - int x_62 = c; - int x_64 = x_6.x_GLF_uniform_int_values[3].el; - x_65 = (x_62 == x_64); - x_66_phi = x_65; - } - bool x_66 = x_66_phi; - if (x_66) { - int x_71 = x_6.x_GLF_uniform_int_values[2].el; - int x_74 = x_6.x_GLF_uniform_int_values[0].el; - int x_77 = x_6.x_GLF_uniform_int_values[0].el; - int x_80 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_71); - float v_1 = float(x_74); - float v_2 = float(x_77); - x_GLF_color = vec4(v, v_1, v_2, float(x_80)); - } else { - int x_84 = x_6.x_GLF_uniform_int_values[0].el; - float x_85 = float(x_84); - x_GLF_color = vec4(x_85, x_85, x_85, x_85); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 65ee932..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int a = 0; - a = 1; - { - while(true) { - if ((a >= x_6.x_GLF_uniform_int_values[0].el)) { - break; - } - if (true) { - continue_execution = false; - } - a = (a + 1); - { - int x_39 = a; - if (!((x_39 != 1))) { break; } - } - continue; - } - } - if ((a == 1)) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(1.0f, v, v_1, float(x_6.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - main_out v_2 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_2; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 92ce920..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int a = 0; - a = 1; - { - while(true) { - int x_29 = a; - int x_31 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_29 >= x_31)) { - break; - } - if (true) { - continue_execution = false; - } - int x_37 = a; - a = (x_37 + 1); - { - int x_39 = a; - if (!((x_39 != 1))) { break; } - } - continue; - } - } - int x_41 = a; - if ((x_41 == 1)) { - int x_47 = x_6.x_GLF_uniform_int_values[0].el; - int x_50 = x_6.x_GLF_uniform_int_values[0].el; - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - float v = float(x_47); - float v_1 = float(x_50); - x_GLF_color = vec4(1.0f, v, v_1, float(x_53)); - } else { - int x_57 = x_6.x_GLF_uniform_int_values[0].el; - float x_58 = float(x_57); - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - } -} -main_out main() { - main_1(); - main_out v_2 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_2; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e666fb1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = 0; - i = 0; - { - while(true) { - if ((i < (7 + x_7.three))) { - } else { - break; - } - int x_37 = i; - switch(x_37) { - case 7: - case 8: - { - a = (a + 1); - break; - } - default: - { - break; - } - } - { - i = (i + 1); - } - continue; - } - } - if ((a == 2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 5e482e2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = 0; - i = 0; - { - while(true) { - int x_31 = i; - int x_33 = x_7.three; - if ((x_31 < (7 + x_33))) { - } else { - break; - } - int x_37 = i; - switch(x_37) { - case 7: - case 8: - { - int x_40 = a; - a = (x_40 + 1); - break; - } - default: - { - break; - } - } - { - int x_42 = i; - i = (x_42 + 1); - } - continue; - } - } - int x_44 = a; - if ((x_44 == 2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 81a2b42..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,83 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[3] = float[3](0.0f, 0.0f, 0.0f); - int a = 0; - bool x_69 = false; - bool x_70 = false; - bool x_79 = false; - bool x_80 = false; - arr = float[3](x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[2].el); - a = 0; - { - while(true) { - if ((a <= x_9.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - int x_49 = a; - a = (a + 1); - arr[x_49] = x_6.x_GLF_uniform_float_values[0].el; - { - } - continue; - } - } - bool x_60 = (arr[x_9.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_float_values[0].el); - x_70 = x_60; - if (x_60) { - x_69 = (arr[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[0].el); - x_70 = x_69; - } - x_80 = x_70; - if (x_70) { - x_79 = (arr[x_9.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_float_values[2].el); - x_80 = x_79; - } - if (x_80) { - x_GLF_color = vec4(arr[x_9.x_GLF_uniform_int_values[1].el], x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f00ab08..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,106 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[3] = float[3](0.0f, 0.0f, 0.0f); - int a = 0; - bool x_69 = false; - bool x_79 = false; - bool x_70_phi = false; - bool x_80_phi = false; - float x_34 = x_6.x_GLF_uniform_float_values[1].el; - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - float x_38 = x_6.x_GLF_uniform_float_values[2].el; - arr = float[3](x_34, x_36, x_38); - a = 0; - { - while(true) { - int x_44 = a; - int x_46 = x_9.x_GLF_uniform_int_values[1].el; - if ((x_44 <= x_46)) { - } else { - break; - } - int x_49 = a; - a = (x_49 + 1); - float x_52 = x_6.x_GLF_uniform_float_values[0].el; - arr[x_49] = x_52; - { - } - continue; - } - } - int x_55 = x_9.x_GLF_uniform_int_values[1].el; - float x_57 = arr[x_55]; - float x_59 = x_6.x_GLF_uniform_float_values[0].el; - bool x_60 = (x_57 == x_59); - x_70_phi = x_60; - if (x_60) { - int x_64 = x_9.x_GLF_uniform_int_values[2].el; - float x_66 = arr[x_64]; - float x_68 = x_6.x_GLF_uniform_float_values[0].el; - x_69 = (x_66 == x_68); - x_70_phi = x_69; - } - bool x_70 = x_70_phi; - x_80_phi = x_70; - if (x_70) { - int x_74 = x_9.x_GLF_uniform_int_values[0].el; - float x_76 = arr[x_74]; - float x_78 = x_6.x_GLF_uniform_float_values[2].el; - x_79 = (x_76 == x_78); - x_80_phi = x_79; - } - bool x_80 = x_80_phi; - if (x_80) { - int x_85 = x_9.x_GLF_uniform_int_values[1].el; - float x_87 = arr[x_85]; - float x_89 = x_6.x_GLF_uniform_float_values[1].el; - float x_91 = x_6.x_GLF_uniform_float_values[1].el; - float x_93 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_87, x_89, x_91, x_93); - } else { - float x_96 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_96, x_96, x_96, x_96); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index baa727b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,81 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f0 = 0.0f; - float f1 = 0.0f; - int i = 0; - bool x_63 = false; - bool x_64 = false; - f0 = x_6.x_GLF_uniform_float_values[0].el; - f1 = x_6.x_GLF_uniform_float_values[0].el; - i = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - f0 = abs((1.10000002384185791016f * f0)); - f1 = f0; - { - i = (i + 1); - } - continue; - } - } - bool x_57 = (f1 > x_6.x_GLF_uniform_float_values[1].el); - x_64 = x_57; - if (x_57) { - x_63 = (f1 < x_6.x_GLF_uniform_float_values[2].el); - x_64 = x_63; - } - if (x_64) { - float v = float(x_10.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2277ed3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,100 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f0 = 0.0f; - float f1 = 0.0f; - int i = 0; - bool x_63 = false; - bool x_64_phi = false; - float x_34 = x_6.x_GLF_uniform_float_values[0].el; - f0 = x_34; - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - f1 = x_36; - int x_38 = x_10.x_GLF_uniform_int_values[1].el; - i = x_38; - { - while(true) { - int x_43 = i; - int x_45 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_43 < x_45)) { - } else { - break; - } - float x_48 = f0; - f0 = abs((1.10000002384185791016f * x_48)); - float x_51 = f0; - f1 = x_51; - { - int x_52 = i; - i = (x_52 + 1); - } - continue; - } - } - float x_54 = f1; - float x_56 = x_6.x_GLF_uniform_float_values[1].el; - bool x_57 = (x_54 > x_56); - x_64_phi = x_57; - if (x_57) { - float x_60 = f1; - float x_62 = x_6.x_GLF_uniform_float_values[2].el; - x_63 = (x_60 < x_62); - x_64_phi = x_63; - } - bool x_64 = x_64_phi; - if (x_64) { - int x_69 = x_10.x_GLF_uniform_int_values[2].el; - int x_72 = x_10.x_GLF_uniform_int_values[1].el; - int x_75 = x_10.x_GLF_uniform_int_values[1].el; - int x_78 = x_10.x_GLF_uniform_int_values[2].el; - float v = float(x_69); - float v_1 = float(x_72); - float v_2 = float(x_75); - x_GLF_color = vec4(v, v_1, v_2, float(x_78)); - } else { - int x_82 = x_10.x_GLF_uniform_int_values[1].el; - float x_83 = float(x_82); - x_GLF_color = vec4(x_83, x_83, x_83, x_83); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index de1b356..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,93 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void func_() { - int x_66 = 0; - int x_62 = x_7.x_GLF_uniform_int_values[1].el; - x_66 = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - int x_67 = 0; - if ((x_66 < x_7.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - { - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - x_67 = (x_66 + 1); - x_66 = x_67; - } - continue; - } - } - if ((x_62 < x_62)) { - return; - } -} -void main_1() { - x_GLF_global_loop_count = 0; - { - while(true) { - if ((x_GLF_global_loop_count < 10)) { - } else { - break; - } - { - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - func_(); - } - continue; - } - } - { - while(true) { - if ((x_GLF_global_loop_count < 10)) { - } else { - break; - } - { - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - } - continue; - } - } - if ((x_GLF_global_loop_count == x_7.x_GLF_uniform_int_values[2].el)) { - float x_51 = float(x_7.x_GLF_uniform_int_values[1].el); - float x_54 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(x_51, x_54, x_54, x_51); - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3eafa7e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,107 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void func_() { - int x_66_phi = 0; - int x_62 = x_7.x_GLF_uniform_int_values[1].el; - int x_64 = x_7.x_GLF_uniform_int_values[0].el; - x_66_phi = x_64; - { - while(true) { - int x_67 = 0; - int x_66 = x_66_phi; - int x_70 = x_7.x_GLF_uniform_int_values[3].el; - if ((x_66 < x_70)) { - } else { - break; - } - { - int x_73 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_73 + 1); - x_67 = (x_66 + 1); - x_66_phi = x_67; - } - continue; - } - } - if ((x_62 < x_62)) { - return; - } -} -void main_1() { - x_GLF_global_loop_count = 0; - { - while(true) { - int x_28 = x_GLF_global_loop_count; - if ((x_28 < 10)) { - } else { - break; - } - { - int x_32 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_32 + 1); - func_(); - } - continue; - } - } - { - while(true) { - int x_36 = x_GLF_global_loop_count; - if ((x_36 < 10)) { - } else { - break; - } - { - int x_40 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_40 + 1); - } - continue; - } - } - int x_42 = x_GLF_global_loop_count; - int x_44 = x_7.x_GLF_uniform_int_values[2].el; - if ((x_42 == x_44)) { - int x_50 = x_7.x_GLF_uniform_int_values[1].el; - float x_51 = float(x_50); - int x_53 = x_7.x_GLF_uniform_int_values[0].el; - float x_54 = float(x_53); - x_GLF_color = vec4(x_51, x_54, x_54, x_51); - } else { - int x_57 = x_7.x_GLF_uniform_int_values[0].el; - float x_58 = float(x_57); - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 8b78832..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a[3] = int[3](0, 0, 0); - int b = 0; - int c = 0; - a[0] = 1; - a[1] = 2; - a[2] = 3; - b = 0; - c = a[x_8.one]; - if ((c > 1)) { - x_GLF_color = vec4(0.0f, 1.0f, 1.0f, 0.0f); - b = (b + 1); - } - int x_48 = (b + 1); - b = x_48; - int x_50_save = min(max(x_48, 0), 2); - a[x_50_save] = (a[x_50_save] + 1); - if ((a[2] == 4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f92ff0c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,60 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a[3] = int[3](0, 0, 0); - int b = 0; - int c = 0; - a[0] = 1; - a[1] = 2; - a[2] = 3; - b = 0; - int x_38 = x_8.one; - int x_40 = a[x_38]; - c = x_40; - int x_41 = c; - if ((x_41 > 1)) { - x_GLF_color = vec4(0.0f, 1.0f, 1.0f, 0.0f); - int x_45 = b; - b = (x_45 + 1); - } - int x_47 = b; - int x_48 = (x_47 + 1); - b = x_48; - int x_50_save = min(max(x_48, 0), 2); - int x_51 = a[x_50_save]; - a[x_50_save] = (x_51 + 1); - int x_54 = a[2]; - if ((x_54 == 4)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 4424c68..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - vec4 v = vec4(0.0f); - mat3x4 m = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat4 indexable = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - a = x_6.x_GLF_uniform_int_values[0].el; - v = vec4(x_9.x_GLF_uniform_float_values[2].el); - float x_49 = x_9.x_GLF_uniform_float_values[3].el; - vec4 v_1 = vec4(x_49, 0.0f, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, x_49, 0.0f, 0.0f); - m = mat3x4(v_1, v_2, vec4(0.0f, 0.0f, x_49, 0.0f)); - int x_54 = a; - int x_55 = a; - m[x_54][x_55] = x_9.x_GLF_uniform_float_values[0].el; - int x_59 = a; - int x_78 = a; - int x_79 = a; - vec4 v_3 = vec4(m[0u].x, m[0u].y, m[0u].z, m[0u].w); - vec4 v_4 = vec4(m[1u].x, m[1u].y, m[1u].z, m[1u].w); - indexable = mat4(v_3, v_4, vec4(m[2u].x, m[2u].y, m[2u].z, m[2u].w), vec4(0.0f, 0.0f, 0.0f, 1.0f)); - v[x_59] = (v[x_59] + indexable[x_78][x_79]); - if ((v.y == x_9.x_GLF_uniform_float_values[1].el)) { - float v_5 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_6 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_7 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_5, v_6, v_7, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 455e946..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,87 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - vec4 v = vec4(0.0f); - mat3x4 m = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat4 indexable = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - int x_44 = x_6.x_GLF_uniform_int_values[0].el; - a = x_44; - float x_46 = x_9.x_GLF_uniform_float_values[2].el; - v = vec4(x_46, x_46, x_46, x_46); - float x_49 = x_9.x_GLF_uniform_float_values[3].el; - vec4 v_1 = vec4(x_49, 0.0f, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, x_49, 0.0f, 0.0f); - m = mat3x4(v_1, v_2, vec4(0.0f, 0.0f, x_49, 0.0f)); - int x_54 = a; - int x_55 = a; - float x_57 = x_9.x_GLF_uniform_float_values[0].el; - m[x_54][x_55] = x_57; - int x_59 = a; - mat3x4 x_60 = m; - int x_78 = a; - int x_79 = a; - vec4 v_3 = vec4(x_60[0u][0u], x_60[0u][1u], x_60[0u][2u], x_60[0u][3u]); - vec4 v_4 = vec4(x_60[1u][0u], x_60[1u][1u], x_60[1u][2u], x_60[1u][3u]); - indexable = mat4(v_3, v_4, vec4(x_60[2u][0u], x_60[2u][1u], x_60[2u][2u], x_60[2u][3u]), vec4(0.0f, 0.0f, 0.0f, 1.0f)); - float x_81 = indexable[x_78][x_79]; - float x_83 = v[x_59]; - v[x_59] = (x_83 + x_81); - float x_87 = v.y; - float x_89 = x_9.x_GLF_uniform_float_values[1].el; - if ((x_87 == x_89)) { - int x_95 = x_6.x_GLF_uniform_int_values[0].el; - int x_98 = x_6.x_GLF_uniform_int_values[1].el; - int x_101 = x_6.x_GLF_uniform_int_values[1].el; - int x_104 = x_6.x_GLF_uniform_int_values[0].el; - float v_5 = float(x_95); - float v_6 = float(x_98); - float v_7 = float(x_101); - x_GLF_color = vec4(v_5, v_6, v_7, float(x_104)); - } else { - int x_108 = x_6.x_GLF_uniform_int_values[1].el; - float x_109 = float(x_108); - x_GLF_color = vec4(x_109, x_109, x_109, x_109); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7f214c2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,52 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -vec4 func_() { - float x = 0.0f; - x = 1.0f; - if ((tint_symbol.x < 0.0f)) { - x = 0.5f; - } - float x_34 = x; - return vec4(x_34, 0.0f, 0.0f, 1.0f); -} -void main_1() { - x_GLF_color = vec4(0.0f); - { - while(true) { - vec4 x_26 = func_(); - x_GLF_color = x_26; - if (false) { - } else { - break; - } - { - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 95281b5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -vec4 func_() { - float x = 0.0f; - x = 1.0f; - float x_30 = tint_symbol.x; - if ((x_30 < 0.0f)) { - x = 0.5f; - } - float x_34 = x; - return vec4(x_34, 0.0f, 0.0f, 1.0f); -} -void main_1() { - x_GLF_color = vec4(0.0f); - { - while(true) { - vec4 x_26 = func_(); - x_GLF_color = x_26; - if (false) { - } else { - break; - } - { - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 88a5a5b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,82 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -vec4 returnRed_() { - bool x_33 = false; - vec4 x_34 = vec4(0.0f); - vec4 x_48 = vec4(0.0f); - vec4 x_51 = vec4(0.0f); - { - while(true) { - bool x_49 = false; - { - while(true) { - if ((x_6.zero == 1)) { - x_33 = true; - x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_48 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_49 = true; - break; - } - { - x_48 = vec4(0.0f); - x_49 = false; - if (true) { break; } - } - continue; - } - } - x_51 = x_48; - if (x_49) { - break; - } - x_33 = true; - x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_51 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - break; - } - } - return x_51; -} -void main_1() { - { - while(true) { - vec4 x_30 = returnRed_(); - x_GLF_color = x_30; - if (false) { - } else { - break; - } - { - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 9613955..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -vec4 returnRed_() { - bool x_33 = false; - vec4 x_34 = vec4(0.0f); - vec4 x_48 = vec4(0.0f); - bool x_36_phi = false; - vec4 x_51_phi = vec4(0.0f); - x_36_phi = false; - { - while(true) { - vec4 x_48_phi = vec4(0.0f); - bool x_49_phi = false; - bool x_36 = x_36_phi; - { - while(true) { - int x_44 = x_6.zero; - if ((x_44 == 1)) { - x_33 = true; - x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_48_phi = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_49_phi = true; - break; - } - { - x_48_phi = vec4(0.0f); - x_49_phi = false; - if (true) { break; } - } - continue; - } - } - x_48 = x_48_phi; - bool x_49 = x_49_phi; - x_51_phi = x_48; - if (x_49) { - break; - } - x_33 = true; - x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_51_phi = vec4(1.0f, 0.0f, 0.0f, 1.0f); - break; - } - } - vec4 x_51 = x_51_phi; - return x_51; -} -void main_1() { - { - while(true) { - vec4 x_30 = returnRed_(); - x_GLF_color = x_30; - if (false) { - } else { - break; - } - { - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9b8c9cc..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -float func_() { - int i = 0; - i = 0; - { - while(true) { - if ((i < 10)) { - } else { - break; - } - if ((i > 5)) { - i = (i + 1); - } - if ((i > 8)) { - return 0.0f; - } - { - i = (i + 1); - } - continue; - } - } - return 1.0f; -} -void main_1() { - if (false) { - float x_28 = func_(); - x_GLF_color = vec4(x_28); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6b638b3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -float func_() { - int i = 0; - i = 0; - { - while(true) { - int x_35 = i; - if ((x_35 < 10)) { - } else { - break; - } - int x_38 = i; - if ((x_38 > 5)) { - int x_42 = i; - i = (x_42 + 1); - } - int x_44 = i; - if ((x_44 > 8)) { - return 0.0f; - } - { - int x_48 = i; - i = (x_48 + 1); - } - continue; - } - } - return 1.0f; -} -void main_1() { - if (false) { - float x_28 = func_(); - x_GLF_color = vec4(x_28, x_28, x_28, x_28); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f4ef6bd..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -float func_() { - float x = 0.0f; - x = 2.0f; - if ((tint_symbol.x == 12.0f)) { - if ((tint_symbol.y == 13.0f)) { - x = (x + 1.0f); - } - float x_46 = x; - return x_46; - } - return 1.0f; -} -void main_1() { - if (false) { - float x_31 = func_(); - x_GLF_color = vec4(x_31); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index dc3c118..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -float func_() { - float x = 0.0f; - x = 2.0f; - float x_35 = tint_symbol.x; - if ((x_35 == 12.0f)) { - float x_40 = tint_symbol.y; - if ((x_40 == 13.0f)) { - float x_44 = x; - x = (x_44 + 1.0f); - } - float x_46 = x; - return x_46; - } - return 1.0f; -} -void main_1() { - if (false) { - float x_31 = func_(); - x_GLF_color = vec4(x_31, x_31, x_31, x_31); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index fbeb987..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,82 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int arr[2] = int[2](0, 0); - int a = 0; - i = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_7.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - int x_50 = i; - arr[x_50] = x_7.x_GLF_uniform_int_values[0].el; - { - i = (i + 1); - } - continue; - } - } - a = -1; - if (!((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el))) { - int x_65 = (a + 1); - a = x_65; - arr[x_65] = x_7.x_GLF_uniform_int_values[1].el; - } - int x_70 = (a + 1); - a = x_70; - arr[x_70] = x_7.x_GLF_uniform_int_values[2].el; - if ((arr[x_7.x_GLF_uniform_int_values[0].el] == x_7.x_GLF_uniform_int_values[1].el)) { - float v = float(a); - float v_1 = float(x_7.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(a)); - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 357db44..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,102 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int arr[2] = int[2](0, 0); - int a = 0; - int x_40 = x_7.x_GLF_uniform_int_values[0].el; - i = x_40; - { - while(true) { - int x_45 = i; - int x_47 = x_7.x_GLF_uniform_int_values[2].el; - if ((x_45 < x_47)) { - } else { - break; - } - int x_50 = i; - int x_52 = x_7.x_GLF_uniform_int_values[0].el; - arr[x_50] = x_52; - { - int x_54 = i; - i = (x_54 + 1); - } - continue; - } - } - a = -1; - float x_57 = tint_symbol.y; - float x_59 = x_11.x_GLF_uniform_float_values[0].el; - if (!((x_57 < x_59))) { - int x_64 = a; - int x_65 = (x_64 + 1); - a = x_65; - int x_67 = x_7.x_GLF_uniform_int_values[1].el; - arr[x_65] = x_67; - } - int x_69 = a; - int x_70 = (x_69 + 1); - a = x_70; - int x_72 = x_7.x_GLF_uniform_int_values[2].el; - arr[x_70] = x_72; - int x_75 = x_7.x_GLF_uniform_int_values[0].el; - int x_77 = arr[x_75]; - int x_79 = x_7.x_GLF_uniform_int_values[1].el; - if ((x_77 == x_79)) { - int x_84 = a; - int x_87 = x_7.x_GLF_uniform_int_values[0].el; - int x_90 = x_7.x_GLF_uniform_int_values[0].el; - int x_92 = a; - float v = float(x_84); - float v_1 = float(x_87); - float v_2 = float(x_90); - x_GLF_color = vec4(v, v_1, v_2, float(x_92)); - } else { - int x_96 = x_7.x_GLF_uniform_int_values[0].el; - float x_97 = float(x_96); - x_GLF_color = vec4(x_97, x_97, x_97, x_97); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 728ac89..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - float b = 0.0f; - a = x_6.x_GLF_uniform_int_values[1].el; - a = (a + 1); - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - float v = float(i); - b = ldexp(v, -(a)); - { - i = (i + 1); - } - continue; - } - } - if ((b == x_10.x_GLF_uniform_float_values[0].el)) { - float v_1 = float(x_6.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(b); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 9fa1149..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,87 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - float b = 0.0f; - int x_34 = x_6.x_GLF_uniform_int_values[1].el; - a = x_34; - int x_35 = a; - a = (x_35 + 1); - int x_38 = x_6.x_GLF_uniform_int_values[1].el; - i = x_38; - { - while(true) { - int x_43 = i; - int x_45 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_43 < x_45)) { - } else { - break; - } - int x_48 = i; - int x_50 = a; - b = ldexp(float(x_48), -(x_50)); - { - int x_53 = i; - i = (x_53 + 1); - } - continue; - } - } - float x_55 = b; - float x_57 = x_10.x_GLF_uniform_float_values[0].el; - if ((x_55 == x_57)) { - int x_63 = x_6.x_GLF_uniform_int_values[2].el; - int x_66 = x_6.x_GLF_uniform_int_values[1].el; - int x_69 = x_6.x_GLF_uniform_int_values[1].el; - int x_72 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_63); - float v_1 = float(x_66); - float v_2 = float(x_69); - x_GLF_color = vec4(v, v_1, v_2, float(x_72)); - } else { - float x_75 = b; - x_GLF_color = vec4(x_75, x_75, x_75, x_75); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1a68a45..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_12; -vec4 x_GLF_color = vec4(0.0f); -int f1_() { - int i = 0; - int A[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int a = 0; - i = x_8.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_8.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - int x_66 = i; - A[x_66] = x_8.x_GLF_uniform_int_values[2].el; - { - i = (i + 1); - } - continue; - } - } - a = -1; - if ((tint_symbol.y >= x_12.x_GLF_uniform_float_values[0].el)) { - int x_80 = (a + 1); - a = x_80; - A[x_80] = x_8.x_GLF_uniform_int_values[1].el; - } - if ((A[x_8.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_int_values[1].el)) { - int x_95 = (a + 1); - a = x_95; - int x_97 = A[x_95]; - return x_97; - } else { - int x_99 = x_8.x_GLF_uniform_int_values[1].el; - return x_99; - } - /* unreachable */ -} -void main_1() { - int i_1 = 0; - int x_42 = f1_(); - i_1 = x_42; - float v = float(x_8.x_GLF_uniform_int_values[1].el); - float v_1 = float(i_1); - float v_2 = float(i_1); - x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[1].el)); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 7f8df7b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,107 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_12; -vec4 x_GLF_color = vec4(0.0f); -int f1_() { - int i = 0; - int A[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int a = 0; - int x_56 = x_8.x_GLF_uniform_int_values[2].el; - i = x_56; - { - while(true) { - int x_61 = i; - int x_63 = x_8.x_GLF_uniform_int_values[0].el; - if ((x_61 < x_63)) { - } else { - break; - } - int x_66 = i; - int x_68 = x_8.x_GLF_uniform_int_values[2].el; - A[x_66] = x_68; - { - int x_70 = i; - i = (x_70 + 1); - } - continue; - } - } - a = -1; - float x_73 = tint_symbol.y; - float x_75 = x_12.x_GLF_uniform_float_values[0].el; - if ((x_73 >= x_75)) { - int x_79 = a; - int x_80 = (x_79 + 1); - a = x_80; - int x_82 = x_8.x_GLF_uniform_int_values[1].el; - A[x_80] = x_82; - } - int x_85 = x_8.x_GLF_uniform_int_values[2].el; - int x_87 = A[x_85]; - int x_89 = x_8.x_GLF_uniform_int_values[1].el; - if ((x_87 == x_89)) { - int x_94 = a; - int x_95 = (x_94 + 1); - a = x_95; - int x_97 = A[x_95]; - return x_97; - } else { - int x_99 = x_8.x_GLF_uniform_int_values[1].el; - return x_99; - } - /* unreachable */ -} -void main_1() { - int i_1 = 0; - int x_42 = f1_(); - i_1 = x_42; - int x_44 = x_8.x_GLF_uniform_int_values[1].el; - int x_46 = i_1; - int x_48 = i_1; - int x_51 = x_8.x_GLF_uniform_int_values[1].el; - float v = float(x_44); - float v_1 = float(x_46); - float v_2 = float(x_48); - x_GLF_color = vec4(v, v_1, v_2, float(x_51)); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index daa0b3e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,81 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - vec4 r = vec4(0.0f); - bool x_85 = false; - bool x_86 = false; - bool x_97 = false; - bool x_98 = false; - bool x_109 = false; - bool x_110 = false; - a = packUnorm4x8(vec4(x_6.x_GLF_uniform_float_values[0].el)); - v1 = unpackSnorm4x8(a); - r = vec4((-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el)); - bool x_74 = (v1[x_10.x_GLF_uniform_int_values[1].el] == r[x_10.x_GLF_uniform_int_values[0].el]); - x_86 = x_74; - if (x_74) { - x_85 = (v1[x_10.x_GLF_uniform_int_values[3].el] == r[x_10.x_GLF_uniform_int_values[2].el]); - x_86 = x_85; - } - x_98 = x_86; - if (x_86) { - x_97 = (v1[x_10.x_GLF_uniform_int_values[2].el] == r[x_10.x_GLF_uniform_int_values[3].el]); - x_98 = x_97; - } - x_110 = x_98; - if (x_98) { - x_109 = (v1[x_10.x_GLF_uniform_int_values[0].el] == r[x_10.x_GLF_uniform_int_values[1].el]); - x_110 = x_109; - } - if (x_110) { - float v = float(x_10.x_GLF_uniform_int_values[3].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[3].el)); - } else { - x_GLF_color = vec4(v1[x_10.x_GLF_uniform_int_values[1].el]); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1ef7925..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,116 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - vec4 r = vec4(0.0f); - bool x_85 = false; - bool x_97 = false; - bool x_109 = false; - bool x_86_phi = false; - bool x_98_phi = false; - bool x_110_phi = false; - float x_36 = x_6.x_GLF_uniform_float_values[0].el; - a = packUnorm4x8(vec4(x_36, x_36, x_36, x_36)); - uint x_39 = a; - v1 = unpackSnorm4x8(x_39); - float x_42 = x_6.x_GLF_uniform_float_values[0].el; - float x_45 = x_6.x_GLF_uniform_float_values[1].el; - float x_48 = x_6.x_GLF_uniform_float_values[0].el; - float x_51 = x_6.x_GLF_uniform_float_values[1].el; - float x_54 = x_6.x_GLF_uniform_float_values[0].el; - float x_57 = x_6.x_GLF_uniform_float_values[1].el; - float x_60 = x_6.x_GLF_uniform_float_values[0].el; - float x_63 = x_6.x_GLF_uniform_float_values[1].el; - r = vec4((-(x_42) / x_45), (-(x_48) / x_51), (-(x_54) / x_57), (-(x_60) / x_63)); - int x_67 = x_10.x_GLF_uniform_int_values[1].el; - float x_69 = v1[x_67]; - int x_71 = x_10.x_GLF_uniform_int_values[0].el; - float x_73 = r[x_71]; - bool x_74 = (x_69 == x_73); - x_86_phi = x_74; - if (x_74) { - int x_78 = x_10.x_GLF_uniform_int_values[3].el; - float x_80 = v1[x_78]; - int x_82 = x_10.x_GLF_uniform_int_values[2].el; - float x_84 = r[x_82]; - x_85 = (x_80 == x_84); - x_86_phi = x_85; - } - bool x_86 = x_86_phi; - x_98_phi = x_86; - if (x_86) { - int x_90 = x_10.x_GLF_uniform_int_values[2].el; - float x_92 = v1[x_90]; - int x_94 = x_10.x_GLF_uniform_int_values[3].el; - float x_96 = r[x_94]; - x_97 = (x_92 == x_96); - x_98_phi = x_97; - } - bool x_98 = x_98_phi; - x_110_phi = x_98; - if (x_98) { - int x_102 = x_10.x_GLF_uniform_int_values[0].el; - float x_104 = v1[x_102]; - int x_106 = x_10.x_GLF_uniform_int_values[1].el; - float x_108 = r[x_106]; - x_109 = (x_104 == x_108); - x_110_phi = x_109; - } - bool x_110 = x_110_phi; - if (x_110) { - int x_115 = x_10.x_GLF_uniform_int_values[3].el; - int x_118 = x_10.x_GLF_uniform_int_values[1].el; - int x_121 = x_10.x_GLF_uniform_int_values[1].el; - int x_124 = x_10.x_GLF_uniform_int_values[3].el; - float v = float(x_115); - float v_1 = float(x_118); - float v_2 = float(x_121); - x_GLF_color = vec4(v, v_1, v_2, float(x_124)); - } else { - int x_128 = x_10.x_GLF_uniform_int_values[1].el; - float x_130 = v1[x_128]; - x_GLF_color = vec4(x_130, x_130, x_130, x_130); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 8d6a916..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float data[2] = float[2](0.0f, 0.0f); - float a = 0.0f; - int x_33 = x_6.x_GLF_uniform_int_values[0].el; - data[x_33] = x_8.x_GLF_uniform_float_values[0].el; - int x_38 = x_6.x_GLF_uniform_int_values[1].el; - data[x_38] = x_8.x_GLF_uniform_float_values[1].el; - a = data[(1 ^ (x_6.x_GLF_uniform_int_values[1].el & 2))]; - if ((a == x_8.x_GLF_uniform_float_values[1].el)) { - x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[1].el); - } else { - x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6931e5a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float data[2] = float[2](0.0f, 0.0f); - float a = 0.0f; - int x_33 = x_6.x_GLF_uniform_int_values[0].el; - float x_35 = x_8.x_GLF_uniform_float_values[0].el; - data[x_33] = x_35; - int x_38 = x_6.x_GLF_uniform_int_values[1].el; - float x_40 = x_8.x_GLF_uniform_float_values[1].el; - data[x_38] = x_40; - int x_43 = x_6.x_GLF_uniform_int_values[1].el; - float x_47 = data[(1 ^ (x_43 & 2))]; - a = x_47; - float x_48 = a; - float x_50 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_48 == x_50)) { - float x_56 = x_8.x_GLF_uniform_float_values[1].el; - float x_58 = x_8.x_GLF_uniform_float_values[0].el; - float x_60 = x_8.x_GLF_uniform_float_values[0].el; - float x_62 = x_8.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_56, x_58, x_60, x_62); - } else { - float x_65 = x_8.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_65, x_65, x_65, x_65); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5e82720..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -void main_1() { - float v = ldexp(x_5.x_GLF_uniform_float_values[0].el, 100); - if ((v == x_5.x_GLF_uniform_float_values[0].el)) { - float v_1 = float(x_7.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_7.x_GLF_uniform_int_values[1].el)); - } else { - float v_4 = float(x_7.x_GLF_uniform_int_values[1].el); - float v_5 = float(x_7.x_GLF_uniform_int_values[0].el); - float v_6 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_4, v_5, v_6, float(x_7.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b18b143..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -void main_1() { - float x_29 = x_5.x_GLF_uniform_float_values[0].el; - float x_32 = x_5.x_GLF_uniform_float_values[0].el; - if ((ldexp(x_29, 100) == x_32)) { - int x_38 = x_7.x_GLF_uniform_int_values[1].el; - int x_41 = x_7.x_GLF_uniform_int_values[0].el; - int x_44 = x_7.x_GLF_uniform_int_values[0].el; - int x_47 = x_7.x_GLF_uniform_int_values[1].el; - float v = float(x_38); - float v_1 = float(x_41); - float v_2 = float(x_44); - x_GLF_color = vec4(v, v_1, v_2, float(x_47)); - } else { - int x_51 = x_7.x_GLF_uniform_int_values[1].el; - int x_54 = x_7.x_GLF_uniform_int_values[0].el; - int x_57 = x_7.x_GLF_uniform_int_values[0].el; - int x_60 = x_7.x_GLF_uniform_int_values[1].el; - float v_3 = float(x_51); - float v_4 = float(x_54); - float v_5 = float(x_57); - x_GLF_color = vec4(v_3, v_4, v_5, float(x_60)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e0c934a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,76 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_14; -float f1_f1_(inout float a) { - int b = 0; - float c = 0.0f; - b = 8; - if ((tint_symbol.y >= x_9.x_GLF_uniform_float_values[0].el)) { - b = (b + 1); - b = (b + 1); - } - if ((a < x_9.x_GLF_uniform_float_values[1].el)) { - float x_88 = x_9.x_GLF_uniform_float_values[1].el; - return x_88; - } - c = float(min(max(b, 0), 2)); - float x_92 = c; - return x_92; -} -void main_1() { - float a_1 = 0.0f; - float param = 0.0f; - param = x_9.x_GLF_uniform_float_values[1].el; - float x_44 = f1_f1_(param); - a_1 = x_44; - if ((a_1 == x_9.x_GLF_uniform_float_values[2].el)) { - float v = float(x_14.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_14.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_14.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_14.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_14.x_GLF_uniform_int_values[0].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 60e298f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,92 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_14; -float f1_f1_(inout float a) { - int b = 0; - float c = 0.0f; - b = 8; - float x_71 = tint_symbol.y; - float x_73 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_71 >= x_73)) { - int x_77 = b; - b = (x_77 + 1); - int x_79 = b; - b = (x_79 + 1); - } - float x_81 = a; - float x_83 = x_9.x_GLF_uniform_float_values[1].el; - if ((x_81 < x_83)) { - float x_88 = x_9.x_GLF_uniform_float_values[1].el; - return x_88; - } - int x_89 = b; - c = float(min(max(x_89, 0), 2)); - float x_92 = c; - return x_92; -} -void main_1() { - float a_1 = 0.0f; - float param = 0.0f; - float x_43 = x_9.x_GLF_uniform_float_values[1].el; - param = x_43; - float x_44 = f1_f1_(param); - a_1 = x_44; - float x_45 = a_1; - float x_47 = x_9.x_GLF_uniform_float_values[2].el; - if ((x_45 == x_47)) { - int x_53 = x_14.x_GLF_uniform_int_values[1].el; - int x_56 = x_14.x_GLF_uniform_int_values[0].el; - int x_59 = x_14.x_GLF_uniform_int_values[0].el; - int x_62 = x_14.x_GLF_uniform_int_values[1].el; - float v = float(x_53); - float v_1 = float(x_56); - float v_2 = float(x_59); - x_GLF_color = vec4(v, v_1, v_2, float(x_62)); - } else { - int x_66 = x_14.x_GLF_uniform_int_values[0].el; - float x_67 = float(x_66); - x_GLF_color = vec4(x_67, x_67, x_67, x_67); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 36713b8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[7]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_75 = false; - bool x_76 = false; - bool x_92 = false; - bool x_93 = false; - bool x_109 = false; - bool x_110 = false; - a = packUnorm2x16(vec2(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el)); - v1 = unpackSnorm4x8(a); - E = 0.00999999977648258209f; - float v = abs((v1[x_10.x_GLF_uniform_int_values[2].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el))); - bool x_60 = (v < E); - x_76 = x_60; - if (x_60) { - float v_1 = abs((v1[x_10.x_GLF_uniform_int_values[1].el] - (x_6.x_GLF_uniform_float_values[4].el / x_6.x_GLF_uniform_float_values[3].el))); - x_75 = (v_1 < E); - x_76 = x_75; - } - x_93 = x_76; - if (x_76) { - float v_2 = abs((v1[x_10.x_GLF_uniform_int_values[3].el] - (-(x_6.x_GLF_uniform_float_values[5].el) / x_6.x_GLF_uniform_float_values[3].el))); - x_92 = (v_2 < E); - x_93 = x_92; - } - x_110 = x_93; - if (x_93) { - float v_3 = abs((v1[x_10.x_GLF_uniform_int_values[0].el] - (-(x_6.x_GLF_uniform_float_values[6].el) / x_6.x_GLF_uniform_float_values[3].el))); - x_109 = (v_3 < E); - x_110 = x_109; - } - if (x_110) { - float v_4 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_5 = float(x_10.x_GLF_uniform_int_values[2].el); - float v_6 = float(x_10.x_GLF_uniform_int_values[2].el); - x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[5].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3c00782..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,112 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[7]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_75 = false; - bool x_92 = false; - bool x_109 = false; - bool x_76_phi = false; - bool x_93_phi = false; - bool x_110_phi = false; - float x_41 = x_6.x_GLF_uniform_float_values[0].el; - float x_43 = x_6.x_GLF_uniform_float_values[1].el; - a = packUnorm2x16(vec2(x_41, x_43)); - uint x_46 = a; - v1 = unpackSnorm4x8(x_46); - E = 0.00999999977648258209f; - int x_49 = x_10.x_GLF_uniform_int_values[2].el; - float x_51 = v1[x_49]; - float x_53 = x_6.x_GLF_uniform_float_values[2].el; - float x_55 = x_6.x_GLF_uniform_float_values[3].el; - float x_59 = E; - bool x_60 = (abs((x_51 - (x_53 / x_55))) < x_59); - x_76_phi = x_60; - if (x_60) { - int x_64 = x_10.x_GLF_uniform_int_values[1].el; - float x_66 = v1[x_64]; - float x_68 = x_6.x_GLF_uniform_float_values[4].el; - float x_70 = x_6.x_GLF_uniform_float_values[3].el; - float x_74 = E; - x_75 = (abs((x_66 - (x_68 / x_70))) < x_74); - x_76_phi = x_75; - } - bool x_76 = x_76_phi; - x_93_phi = x_76; - if (x_76) { - int x_80 = x_10.x_GLF_uniform_int_values[3].el; - float x_82 = v1[x_80]; - float x_84 = x_6.x_GLF_uniform_float_values[5].el; - float x_87 = x_6.x_GLF_uniform_float_values[3].el; - float x_91 = E; - x_92 = (abs((x_82 - (-(x_84) / x_87))) < x_91); - x_93_phi = x_92; - } - bool x_93 = x_93_phi; - x_110_phi = x_93; - if (x_93) { - int x_97 = x_10.x_GLF_uniform_int_values[0].el; - float x_99 = v1[x_97]; - float x_101 = x_6.x_GLF_uniform_float_values[6].el; - float x_104 = x_6.x_GLF_uniform_float_values[3].el; - float x_108 = E; - x_109 = (abs((x_99 - (-(x_101) / x_104))) < x_108); - x_110_phi = x_109; - } - bool x_110 = x_110_phi; - if (x_110) { - int x_115 = x_10.x_GLF_uniform_int_values[1].el; - int x_118 = x_10.x_GLF_uniform_int_values[2].el; - int x_121 = x_10.x_GLF_uniform_int_values[2].el; - int x_124 = x_10.x_GLF_uniform_int_values[1].el; - float v = float(x_115); - float v_1 = float(x_118); - float v_2 = float(x_121); - x_GLF_color = vec4(v, v_1, v_2, float(x_124)); - } else { - float x_128 = x_6.x_GLF_uniform_float_values[5].el; - x_GLF_color = vec4(x_128, x_128, x_128, x_128); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f35e247..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_69 = false; - bool x_70 = false; - bool x_85 = false; - bool x_86 = false; - bool x_101 = false; - bool x_102 = false; - a = 1006648320u; - v1 = unpackSnorm4x8(a); - E = 0.00999999977648258209f; - float v = abs((v1[x_8.x_GLF_uniform_int_values[1].el] - (x_10.x_GLF_uniform_float_values[0].el / x_10.x_GLF_uniform_float_values[1].el))); - bool x_54 = (v < E); - x_70 = x_54; - if (x_54) { - float v_1 = abs((v1[x_8.x_GLF_uniform_int_values[0].el] - (x_10.x_GLF_uniform_float_values[2].el / x_10.x_GLF_uniform_float_values[1].el))); - x_69 = (v_1 < E); - x_70 = x_69; - } - x_86 = x_70; - if (x_70) { - float v_2 = abs((v1[x_8.x_GLF_uniform_int_values[2].el] - (x_10.x_GLF_uniform_float_values[0].el / x_10.x_GLF_uniform_float_values[1].el))); - x_85 = (v_2 < E); - x_86 = x_85; - } - x_102 = x_86; - if (x_86) { - float v_3 = abs((v1[x_8.x_GLF_uniform_int_values[3].el] - (x_10.x_GLF_uniform_float_values[2].el / x_10.x_GLF_uniform_float_values[1].el))); - x_101 = (v_3 < E); - x_102 = x_101; - } - if (x_102) { - float v_4 = float(x_8.x_GLF_uniform_int_values[0].el); - float v_5 = float(x_8.x_GLF_uniform_int_values[1].el); - float v_6 = float(x_8.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_4, v_5, v_6, float(x_8.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(v1[x_8.x_GLF_uniform_int_values[1].el]); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 9d6bff6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,111 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_69 = false; - bool x_85 = false; - bool x_101 = false; - bool x_70_phi = false; - bool x_86_phi = false; - bool x_102_phi = false; - a = 1006648320u; - uint x_40 = a; - v1 = unpackSnorm4x8(x_40); - E = 0.00999999977648258209f; - int x_43 = x_8.x_GLF_uniform_int_values[1].el; - float x_45 = v1[x_43]; - float x_47 = x_10.x_GLF_uniform_float_values[0].el; - float x_49 = x_10.x_GLF_uniform_float_values[1].el; - float x_53 = E; - bool x_54 = (abs((x_45 - (x_47 / x_49))) < x_53); - x_70_phi = x_54; - if (x_54) { - int x_58 = x_8.x_GLF_uniform_int_values[0].el; - float x_60 = v1[x_58]; - float x_62 = x_10.x_GLF_uniform_float_values[2].el; - float x_64 = x_10.x_GLF_uniform_float_values[1].el; - float x_68 = E; - x_69 = (abs((x_60 - (x_62 / x_64))) < x_68); - x_70_phi = x_69; - } - bool x_70 = x_70_phi; - x_86_phi = x_70; - if (x_70) { - int x_74 = x_8.x_GLF_uniform_int_values[2].el; - float x_76 = v1[x_74]; - float x_78 = x_10.x_GLF_uniform_float_values[0].el; - float x_80 = x_10.x_GLF_uniform_float_values[1].el; - float x_84 = E; - x_85 = (abs((x_76 - (x_78 / x_80))) < x_84); - x_86_phi = x_85; - } - bool x_86 = x_86_phi; - x_102_phi = x_86; - if (x_86) { - int x_90 = x_8.x_GLF_uniform_int_values[3].el; - float x_92 = v1[x_90]; - float x_94 = x_10.x_GLF_uniform_float_values[2].el; - float x_96 = x_10.x_GLF_uniform_float_values[1].el; - float x_100 = E; - x_101 = (abs((x_92 - (x_94 / x_96))) < x_100); - x_102_phi = x_101; - } - bool x_102 = x_102_phi; - if (x_102) { - int x_107 = x_8.x_GLF_uniform_int_values[0].el; - int x_110 = x_8.x_GLF_uniform_int_values[1].el; - int x_113 = x_8.x_GLF_uniform_int_values[1].el; - int x_116 = x_8.x_GLF_uniform_int_values[0].el; - float v = float(x_107); - float v_1 = float(x_110); - float v_2 = float(x_113); - x_GLF_color = vec4(v, v_1, v_2, float(x_116)); - } else { - int x_120 = x_8.x_GLF_uniform_int_values[1].el; - float x_122 = v1[x_120]; - x_GLF_color = vec4(x_122, x_122, x_122, x_122); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f84dbe5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_69 = false; - bool x_70 = false; - bool x_85 = false; - bool x_86 = false; - bool x_101 = false; - bool x_102 = false; - a = packSnorm4x8(vec4(x_6.x_GLF_uniform_float_values[1].el)); - v1 = unpackUnorm4x8(a); - E = x_6.x_GLF_uniform_float_values[0].el; - float v = abs((v1[x_10.x_GLF_uniform_int_values[1].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el))); - bool x_54 = (v < E); - x_70 = x_54; - if (x_54) { - float v_1 = abs((v1[x_10.x_GLF_uniform_int_values[0].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el))); - x_69 = (v_1 < E); - x_70 = x_69; - } - x_86 = x_70; - if (x_70) { - float v_2 = abs((v1[x_10.x_GLF_uniform_int_values[3].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el))); - x_85 = (v_2 < E); - x_86 = x_85; - } - x_102 = x_86; - if (x_86) { - float v_3 = abs((v1[x_10.x_GLF_uniform_int_values[2].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el))); - x_101 = (v_3 < E); - x_102 = x_101; - } - if (x_102) { - float v_4 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_5 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_6 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d61aa5c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,113 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 v1 = vec4(0.0f); - float E = 0.0f; - bool x_69 = false; - bool x_85 = false; - bool x_101 = false; - bool x_70_phi = false; - bool x_86_phi = false; - bool x_102_phi = false; - float x_35 = x_6.x_GLF_uniform_float_values[1].el; - a = packSnorm4x8(vec4(x_35, x_35, x_35, x_35)); - uint x_38 = a; - v1 = unpackUnorm4x8(x_38); - float x_41 = x_6.x_GLF_uniform_float_values[0].el; - E = x_41; - int x_43 = x_10.x_GLF_uniform_int_values[1].el; - float x_45 = v1[x_43]; - float x_47 = x_6.x_GLF_uniform_float_values[2].el; - float x_49 = x_6.x_GLF_uniform_float_values[3].el; - float x_53 = E; - bool x_54 = (abs((x_45 - (x_47 / x_49))) < x_53); - x_70_phi = x_54; - if (x_54) { - int x_58 = x_10.x_GLF_uniform_int_values[0].el; - float x_60 = v1[x_58]; - float x_62 = x_6.x_GLF_uniform_float_values[2].el; - float x_64 = x_6.x_GLF_uniform_float_values[3].el; - float x_68 = E; - x_69 = (abs((x_60 - (x_62 / x_64))) < x_68); - x_70_phi = x_69; - } - bool x_70 = x_70_phi; - x_86_phi = x_70; - if (x_70) { - int x_74 = x_10.x_GLF_uniform_int_values[3].el; - float x_76 = v1[x_74]; - float x_78 = x_6.x_GLF_uniform_float_values[2].el; - float x_80 = x_6.x_GLF_uniform_float_values[3].el; - float x_84 = E; - x_85 = (abs((x_76 - (x_78 / x_80))) < x_84); - x_86_phi = x_85; - } - bool x_86 = x_86_phi; - x_102_phi = x_86; - if (x_86) { - int x_90 = x_10.x_GLF_uniform_int_values[2].el; - float x_92 = v1[x_90]; - float x_94 = x_6.x_GLF_uniform_float_values[2].el; - float x_96 = x_6.x_GLF_uniform_float_values[3].el; - float x_100 = E; - x_101 = (abs((x_92 - (x_94 / x_96))) < x_100); - x_102_phi = x_101; - } - bool x_102 = x_102_phi; - if (x_102) { - int x_107 = x_10.x_GLF_uniform_int_values[0].el; - int x_110 = x_10.x_GLF_uniform_int_values[1].el; - int x_113 = x_10.x_GLF_uniform_int_values[1].el; - int x_116 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_107); - float v_1 = float(x_110); - float v_2 = float(x_113); - x_GLF_color = vec4(v, v_1, v_2, float(x_116)); - } else { - int x_120 = x_10.x_GLF_uniform_int_values[1].el; - float x_121 = float(x_120); - x_GLF_color = vec4(x_121, x_121, x_121, x_121); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f6cc4c1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 color = vec4(0.0f); - color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el); - int x_38 = x_8.x_GLF_uniform_int_values[1].el; - switch(((1 | x_38) ^ 1)) { - case 0: - { - int x_44 = x_8.x_GLF_uniform_int_values[0].el; - color[x_44] = x_6.x_GLF_uniform_float_values[1].el; - break; - } - default: - { - break; - } - } - x_GLF_color = color; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 4b47ba1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 color = vec4(0.0f); - float x_29 = x_6.x_GLF_uniform_float_values[0].el; - float x_31 = x_6.x_GLF_uniform_float_values[0].el; - float x_33 = x_6.x_GLF_uniform_float_values[0].el; - float x_35 = x_6.x_GLF_uniform_float_values[1].el; - color = vec4(x_29, x_31, x_33, x_35); - int x_38 = x_8.x_GLF_uniform_int_values[1].el; - switch(((1 | x_38) ^ 1)) { - case 0: - { - int x_44 = x_8.x_GLF_uniform_int_values[0].el; - float x_46 = x_6.x_GLF_uniform_float_values[1].el; - color[x_44] = x_46; - break; - } - default: - { - break; - } - } - vec4 x_48 = color; - x_GLF_color = x_48; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3bee3f4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - int i = 0; - float b = 0.0f; - float c = 0.0f; - float d = 0.0f; - bool x_67 = false; - bool x_68 = false; - a = x_6.x_GLF_uniform_float_values[0].el; - i = x_9.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_9.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - b = a; - c = b; - d = asin(c); - c = x_6.x_GLF_uniform_float_values[1].el; - a = d; - { - i = (i + 1); - } - continue; - } - } - bool x_61 = (x_6.x_GLF_uniform_float_values[2].el < a); - x_68 = x_61; - if (x_61) { - x_67 = (a < x_6.x_GLF_uniform_float_values[3].el); - x_68 = x_67; - } - if (x_68) { - float v = float(x_9.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 88c377c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,106 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - int i = 0; - float b = 0.0f; - float c = 0.0f; - float d = 0.0f; - bool x_67 = false; - bool x_68_phi = false; - float x_37 = x_6.x_GLF_uniform_float_values[0].el; - a = x_37; - int x_39 = x_9.x_GLF_uniform_int_values[1].el; - i = x_39; - { - while(true) { - int x_44 = i; - int x_46 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_44 < x_46)) { - } else { - break; - } - float x_49 = a; - b = x_49; - float x_50 = b; - c = x_50; - float x_51 = c; - d = asin(x_51); - float x_54 = x_6.x_GLF_uniform_float_values[1].el; - c = x_54; - float x_55 = d; - a = x_55; - { - int x_56 = i; - i = (x_56 + 1); - } - continue; - } - } - float x_59 = x_6.x_GLF_uniform_float_values[2].el; - float x_60 = a; - bool x_61 = (x_59 < x_60); - x_68_phi = x_61; - if (x_61) { - float x_64 = a; - float x_66 = x_6.x_GLF_uniform_float_values[3].el; - x_67 = (x_64 < x_66); - x_68_phi = x_67; - } - bool x_68 = x_68_phi; - if (x_68) { - int x_73 = x_9.x_GLF_uniform_int_values[2].el; - int x_76 = x_9.x_GLF_uniform_int_values[1].el; - int x_79 = x_9.x_GLF_uniform_int_values[1].el; - int x_82 = x_9.x_GLF_uniform_int_values[2].el; - float v = float(x_73); - float v_1 = float(x_76); - float v_2 = float(x_79); - x_GLF_color = vec4(v, v_1, v_2, float(x_82)); - } else { - int x_86 = x_9.x_GLF_uniform_int_values[1].el; - float x_87 = float(x_86); - x_GLF_color = vec4(x_87, x_87, x_87, x_87); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index a6ed1de..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - if ((inversesqrt(x_5.x_GLF_uniform_float_values[1].el) < -1.0f)) { - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[1].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 0a2a80c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float x_23 = x_5.x_GLF_uniform_float_values[1].el; - if ((inversesqrt(x_23) < -1.0f)) { - float x_30 = x_5.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_30, x_30, x_30, x_30); - } else { - float x_33 = x_5.x_GLF_uniform_float_values[1].el; - float x_35 = x_5.x_GLF_uniform_float_values[0].el; - float x_37 = x_5.x_GLF_uniform_float_values[0].el; - float x_39 = x_5.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_33, x_35, x_37, x_39); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2d4b5f9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float v = float(x_6.x_GLF_uniform_int_values[0].el); - vec2 v_1 = vec2(v, float(x_6.x_GLF_uniform_int_values[1].el)); - a = v_1[(x_6.x_GLF_uniform_int_values[0].el | 1)]; - if ((a == x_8.x_GLF_uniform_float_values[0].el)) { - float v_2 = a; - float v_3 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_4 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_2, v_3, v_4, a); - } else { - x_GLF_color = vec4(a); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e35fb97..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,64 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - int x_31 = x_6.x_GLF_uniform_int_values[0].el; - int x_34 = x_6.x_GLF_uniform_int_values[1].el; - int x_38 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_31); - a = vec2(v, float(x_34))[(x_38 | 1)]; - float x_41 = a; - float x_43 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_41 == x_43)) { - float x_48 = a; - int x_50 = x_6.x_GLF_uniform_int_values[0].el; - int x_53 = x_6.x_GLF_uniform_int_values[0].el; - float x_55 = a; - float v_1 = float(x_50); - x_GLF_color = vec4(x_48, v_1, float(x_53), x_55); - } else { - float x_57 = a; - x_GLF_color = vec4(x_57, x_57, x_57, x_57); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 654ab3f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,55 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - float v = float(x_5.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_5.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el)); - float x_45 = x_8.x_GLF_uniform_float_values[1].el; - a = (x_45 - (1.0f * floor((x_45 / 1.0f)))); - if ((a != x_8.x_GLF_uniform_float_values[0].el)) { - x_GLF_color[1u] = x_8.x_GLF_uniform_float_values[0].el; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 11e45ea..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,62 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - int x_10 = x_5.x_GLF_uniform_int_values[0].el; - int x_11 = x_5.x_GLF_uniform_int_values[1].el; - int x_12 = x_5.x_GLF_uniform_int_values[1].el; - int x_13 = x_5.x_GLF_uniform_int_values[0].el; - float v = float(x_10); - float v_1 = float(x_11); - float v_2 = float(x_12); - x_GLF_color = vec4(v, v_1, v_2, float(x_13)); - float x_45 = x_8.x_GLF_uniform_float_values[1].el; - a = (x_45 - (1.0f * floor((x_45 / 1.0f)))); - float x_47 = a; - float x_49 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_47 != x_49)) { - float x_54 = x_8.x_GLF_uniform_float_values[0].el; - x_GLF_color[1u] = x_54; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6688198..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,55 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - float v = float(x_5.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_5.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el)); - float x_45 = x_8.x_GLF_uniform_float_values[1].el; - a = (1.0f - (x_45 * floor((1.0f / x_45)))); - if ((a != x_8.x_GLF_uniform_float_values[0].el)) { - x_GLF_color[1u] = x_8.x_GLF_uniform_float_values[0].el; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 31e6159..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,62 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - int x_10 = x_5.x_GLF_uniform_int_values[0].el; - int x_11 = x_5.x_GLF_uniform_int_values[1].el; - int x_12 = x_5.x_GLF_uniform_int_values[1].el; - int x_13 = x_5.x_GLF_uniform_int_values[0].el; - float v = float(x_10); - float v_1 = float(x_11); - float v_2 = float(x_12); - x_GLF_color = vec4(v, v_1, v_2, float(x_13)); - float x_45 = x_8.x_GLF_uniform_float_values[1].el; - a = (1.0f - (x_45 * floor((1.0f / x_45)))); - float x_47 = a; - float x_49 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_47 != x_49)) { - float x_54 = x_8.x_GLF_uniform_float_values[0].el; - x_GLF_color[1u] = x_54; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl deleted file mode 100644 index efbc6b6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,52 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -void main_1() { - if ((sqrt(x_5.x_GLF_uniform_float_values[0].el) < -1.0f)) { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[1].el)); - } else { - float x_41 = float(x_7.x_GLF_uniform_int_values[0].el); - float x_43 = float(x_7.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(x_41, x_43, x_43, x_41); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl deleted file mode 100644 index f30a1c7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -void main_1() { - float x_31 = x_5.x_GLF_uniform_float_values[0].el; - if ((sqrt(x_31) < -1.0f)) { - int x_10 = x_7.x_GLF_uniform_int_values[1].el; - float x_38 = float(x_10); - x_GLF_color = vec4(x_38, x_38, x_38, x_38); - } else { - int x_11 = x_7.x_GLF_uniform_int_values[0].el; - float x_41 = float(x_11); - int x_12 = x_7.x_GLF_uniform_int_values[1].el; - float x_43 = float(x_12); - x_GLF_color = vec4(x_41, x_43, x_43, x_41); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0319c05..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,138 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct S { - int data; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void func_struct_S_i11_(inout S s) { - if ((x_8.v1.x > x_8.v1.y)) { - return; - } - s.data = x_10.x_GLF_uniform_int_values[0].el; -} -void main_1() { - int i = 0; - S arr[3] = S[3](S(0), S(0), S(0)); - int i_1 = 0; - S param = S(0); - int j = 0; - bool x_132 = false; - bool x_133 = false; - bool x_142 = false; - bool x_143 = false; - i = x_10.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - int x_56 = i; - arr[x_56].data = i; - { - i = (i + 1); - } - continue; - } - } - i_1 = x_10.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i_1 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((x_8.v1.x > x_8.v1.y)) { - break; - } - if ((arr[i_1].data == x_10.x_GLF_uniform_int_values[3].el)) { - int x_88 = i_1; - param = arr[i_1]; - func_struct_S_i11_(param); - arr[x_88] = param; - } else { - j = x_10.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((j < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((arr[j].data > x_10.x_GLF_uniform_int_values[4].el)) { - continue_execution = false; - } - { - j = (j + 1); - } - continue; - } - } - } - { - i_1 = (i_1 + 1); - } - continue; - } - } - bool x_123 = (arr[x_10.x_GLF_uniform_int_values[2].el].data == x_10.x_GLF_uniform_int_values[2].el); - x_133 = x_123; - if (x_123) { - x_132 = (arr[x_10.x_GLF_uniform_int_values[3].el].data == x_10.x_GLF_uniform_int_values[0].el); - x_133 = x_132; - } - x_143 = x_133; - if (x_133) { - x_142 = (arr[x_10.x_GLF_uniform_int_values[1].el].data == x_10.x_GLF_uniform_int_values[1].el); - x_143 = x_142; - } - if (x_143) { - float v = float(x_10.x_GLF_uniform_int_values[3].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[2].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[3].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[2].el)); - } -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 7a297c7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,181 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct S { - int data; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void func_struct_S_i11_(inout S s) { - float x_166 = x_8.v1.x; - float x_168 = x_8.v1.y; - if ((x_166 > x_168)) { - return; - } - int x_173 = x_10.x_GLF_uniform_int_values[0].el; - s.data = x_173; -} -void main_1() { - int i = 0; - S arr[3] = S[3](S(0), S(0), S(0)); - int i_1 = 0; - S param = S(0); - int j = 0; - bool x_132 = false; - bool x_142 = false; - bool x_133_phi = false; - bool x_143_phi = false; - int x_46 = x_10.x_GLF_uniform_int_values[2].el; - i = x_46; - { - while(true) { - int x_51 = i; - int x_53 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_51 < x_53)) { - } else { - break; - } - int x_56 = i; - int x_57 = i; - arr[x_56].data = x_57; - { - int x_59 = i; - i = (x_59 + 1); - } - continue; - } - } - int x_62 = x_10.x_GLF_uniform_int_values[2].el; - i_1 = x_62; - { - while(true) { - int x_67 = i_1; - int x_69 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_67 < x_69)) { - } else { - break; - } - float x_73 = x_8.v1.x; - float x_75 = x_8.v1.y; - if ((x_73 > x_75)) { - break; - } - int x_79 = i_1; - int x_81 = arr[x_79].data; - int x_83 = x_10.x_GLF_uniform_int_values[3].el; - if ((x_81 == x_83)) { - int x_88 = i_1; - S x_90 = arr[x_88]; - param = x_90; - func_struct_S_i11_(param); - S x_92 = param; - arr[x_88] = x_92; - } else { - int x_95 = x_10.x_GLF_uniform_int_values[2].el; - j = x_95; - { - while(true) { - int x_100 = j; - int x_102 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_100 < x_102)) { - } else { - break; - } - int x_105 = j; - int x_107 = arr[x_105].data; - int x_109 = x_10.x_GLF_uniform_int_values[4].el; - if ((x_107 > x_109)) { - continue_execution = false; - } - { - int x_113 = j; - j = (x_113 + 1); - } - continue; - } - } - } - { - int x_115 = i_1; - i_1 = (x_115 + 1); - } - continue; - } - } - int x_118 = x_10.x_GLF_uniform_int_values[2].el; - int x_120 = arr[x_118].data; - int x_122 = x_10.x_GLF_uniform_int_values[2].el; - bool x_123 = (x_120 == x_122); - x_133_phi = x_123; - if (x_123) { - int x_127 = x_10.x_GLF_uniform_int_values[3].el; - int x_129 = arr[x_127].data; - int x_131 = x_10.x_GLF_uniform_int_values[0].el; - x_132 = (x_129 == x_131); - x_133_phi = x_132; - } - bool x_133 = x_133_phi; - x_143_phi = x_133; - if (x_133) { - int x_137 = x_10.x_GLF_uniform_int_values[1].el; - int x_139 = arr[x_137].data; - int x_141 = x_10.x_GLF_uniform_int_values[1].el; - x_142 = (x_139 == x_141); - x_143_phi = x_142; - } - bool x_143 = x_143_phi; - if (x_143) { - int x_148 = x_10.x_GLF_uniform_int_values[3].el; - int x_151 = x_10.x_GLF_uniform_int_values[2].el; - int x_154 = x_10.x_GLF_uniform_int_values[2].el; - int x_157 = x_10.x_GLF_uniform_int_values[3].el; - float v = float(x_148); - float v_1 = float(x_151); - float v_2 = float(x_154); - x_GLF_color = vec4(v, v_1, v_2, float(x_157)); - } else { - int x_161 = x_10.x_GLF_uniform_int_values[2].el; - float x_162 = float(x_161); - x_GLF_color = vec4(x_162, x_162, x_162, x_162); - } -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5230851..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -uniform buf0 x_8; -void main_1() { - int i = 0; - x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el)); - i = x_5.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_5.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - float v = x_8.x_GLF_uniform_float_values[1].el; - if (!((v <= float(i)))) { - vec4 v_1 = x_GLF_color; - float v_2 = x_8.x_GLF_uniform_float_values[0].el; - float v_3 = float(i); - float v_4 = float(i); - x_GLF_color = (v_1 + vec4(v_2, v_3, v_4, x_8.x_GLF_uniform_float_values[0].el)); - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ca484b7fd..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -uniform buf0 x_8; -void main_1() { - int i = 0; - int x_29 = x_5.x_GLF_uniform_int_values[0].el; - float x_30 = float(x_29); - x_GLF_color = vec4(x_30, x_30, x_30, x_30); - int x_33 = x_5.x_GLF_uniform_int_values[0].el; - i = x_33; - { - while(true) { - int x_38 = i; - int x_40 = x_5.x_GLF_uniform_int_values[1].el; - if ((x_38 < x_40)) { - } else { - break; - } - float x_44 = x_8.x_GLF_uniform_float_values[1].el; - int x_45 = i; - if (!((x_44 <= float(x_45)))) { - float x_52 = x_8.x_GLF_uniform_float_values[0].el; - int x_53 = i; - int x_55 = i; - float x_58 = x_8.x_GLF_uniform_float_values[0].el; - vec4 x_60 = x_GLF_color; - float v = float(x_53); - x_GLF_color = (x_60 + vec4(x_52, v, float(x_55), x_58)); - } - { - int x_62 = i; - i = (x_62 + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl deleted file mode 100644 index 2c758a4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,59 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - float x_35 = x_6.x_GLF_uniform_float_values[0].el; - v1 = vec2(x_35); - int x_38 = x_8.x_GLF_uniform_int_values[0].el; - v1[x_38] = ldexp(v1.y, -256); - vec2 v = v1; - vec2 v_1 = vec2(x_35, 0.0f); - if (((v * mat2(v_1, vec2(0.0f, x_35)))[0u] == x_35)) { - float x_53 = float(x_38); - float x_56 = float(x_8.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(x_53, x_56, x_56, x_53); - } else { - x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl deleted file mode 100644 index ba9160a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - float x_35 = x_6.x_GLF_uniform_float_values[0].el; - v1 = vec2(x_35, x_35); - int x_38 = x_8.x_GLF_uniform_int_values[0].el; - float x_40 = v1.y; - v1[x_38] = ldexp(x_40, -256); - vec2 x_43 = v1; - vec2 v = vec2(x_35, 0.0f); - if (((x_43 * mat2(v, vec2(0.0f, x_35)))[0u] == x_35)) { - float x_53 = float(x_38); - int x_55 = x_8.x_GLF_uniform_int_values[1].el; - float x_56 = float(x_55); - x_GLF_color = vec4(x_53, x_56, x_56, x_53); - } else { - int x_59 = x_8.x_GLF_uniform_int_values[1].el; - float x_60 = float(x_59); - x_GLF_color = vec4(x_60, x_60, x_60, x_60); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7da30c9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,95 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 func_() { - vec2 v = vec2(0.0f); - int i = 0; - int k = 0; - v = vec2(1.0f); - i = 0; - k = 0; - { - while(true) { - if ((k < 2)) { - } else { - break; - } - if (((v.y + 1.0f) > 4.0f)) { - break; - } - v[1u] = 1.0f; - i = (i + 1); - { - k = (k + 1); - } - continue; - } - } - if ((i < 10)) { - return vec3(1.0f, 0.0f, 0.0f); - } else { - return vec3(0.0f, 0.0f, 1.0f); - } - /* unreachable */ -} -void main_1() { - int j = 0; - vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f)); - int j_1 = 0; - j = 0; - { - while(true) { - if ((j < 1)) { - } else { - break; - } - int x_49 = j; - vec3 x_50 = func_(); - data[x_49] = x_50; - { - j = (j + 1); - } - continue; - } - } - j_1 = 0; - { - while(true) { - if ((j_1 < 1)) { - } else { - break; - } - int x_61 = j_1; - vec3 x_64 = func_(); - data[((4 * x_61) + 1)] = x_64; - { - j_1 = (j_1 + 1); - } - continue; - } - } - vec3 x_69 = data[0]; - x_GLF_color = vec4(x_69[0u], x_69[1u], x_69[2u], 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 5a34706..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,104 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 func_() { - vec2 v = vec2(0.0f); - int i = 0; - int k = 0; - v = vec2(1.0f); - i = 0; - k = 0; - { - while(true) { - int x_79 = k; - if ((x_79 < 2)) { - } else { - break; - } - float x_83 = v.y; - if (((x_83 + 1.0f) > 4.0f)) { - break; - } - v[1u] = 1.0f; - int x_89 = i; - i = (x_89 + 1); - { - int x_91 = k; - k = (x_91 + 1); - } - continue; - } - } - int x_93 = i; - if ((x_93 < 10)) { - return vec3(1.0f, 0.0f, 0.0f); - } else { - return vec3(0.0f, 0.0f, 1.0f); - } - /* unreachable */ -} -void main_1() { - int j = 0; - vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f)); - int j_1 = 0; - j = 0; - { - while(true) { - int x_46 = j; - if ((x_46 < 1)) { - } else { - break; - } - int x_49 = j; - vec3 x_50 = func_(); - data[x_49] = x_50; - { - int x_52 = j; - j = (x_52 + 1); - } - continue; - } - } - j_1 = 0; - { - while(true) { - int x_58 = j_1; - if ((x_58 < 1)) { - } else { - break; - } - int x_61 = j_1; - vec3 x_64 = func_(); - data[((4 * x_61) + 1)] = x_64; - { - int x_66 = j_1; - j_1 = (x_66 + 1); - } - continue; - } - } - vec3 x_69 = data[0]; - x_GLF_color = vec4(x_69[0u], x_69[1u], x_69[2u], 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c9ad625..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - bool x_66 = false; - bool x_67 = false; - f = x_6.x_GLF_uniform_float_values[0].el; - i = x_9.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_9.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - float v = abs((-(x_6.x_GLF_uniform_float_values[3].el) * f)); - f = (v + x_6.x_GLF_uniform_float_values[0].el); - { - i = (i + 1); - } - continue; - } - } - bool x_60 = (f > x_6.x_GLF_uniform_float_values[1].el); - x_67 = x_60; - if (x_60) { - x_66 = (f < x_6.x_GLF_uniform_float_values[2].el); - x_67 = x_66; - } - if (x_67) { - float v_1 = float(x_9.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e9977a6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,97 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - bool x_66 = false; - bool x_67_phi = false; - float x_34 = x_6.x_GLF_uniform_float_values[0].el; - f = x_34; - int x_36 = x_9.x_GLF_uniform_int_values[1].el; - i = x_36; - { - while(true) { - int x_41 = i; - int x_43 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_41 < x_43)) { - } else { - break; - } - float x_47 = x_6.x_GLF_uniform_float_values[3].el; - float x_49 = f; - float x_53 = x_6.x_GLF_uniform_float_values[0].el; - f = (abs((-(x_47) * x_49)) + x_53); - { - int x_55 = i; - i = (x_55 + 1); - } - continue; - } - } - float x_57 = f; - float x_59 = x_6.x_GLF_uniform_float_values[1].el; - bool x_60 = (x_57 > x_59); - x_67_phi = x_60; - if (x_60) { - float x_63 = f; - float x_65 = x_6.x_GLF_uniform_float_values[2].el; - x_66 = (x_63 < x_65); - x_67_phi = x_66; - } - bool x_67 = x_67_phi; - if (x_67) { - int x_72 = x_9.x_GLF_uniform_int_values[2].el; - int x_75 = x_9.x_GLF_uniform_int_values[1].el; - int x_78 = x_9.x_GLF_uniform_int_values[1].el; - int x_81 = x_9.x_GLF_uniform_int_values[2].el; - float v = float(x_72); - float v_1 = float(x_75); - float v_2 = float(x_78); - x_GLF_color = vec4(v, v_1, v_2, float(x_81)); - } else { - int x_85 = x_9.x_GLF_uniform_int_values[1].el; - float x_86 = float(x_85); - x_GLF_color = vec4(x_86, x_86, x_86, x_86); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 48054bb..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,76 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - x_GLF_global_loop_count = 0; - f = x_7.x_GLF_uniform_float_values[1].el; - i = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_10.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - if ((f > x_7.x_GLF_uniform_float_values[1].el)) { - } - f = 1.0f; - float v = (1.0f - clamp(x_7.x_GLF_uniform_float_values[2].el, 1.0f, f)); - f = (v + float(i)); - { - i = (i + 1); - } - continue; - } - } - if ((f == x_7.x_GLF_uniform_float_values[0].el)) { - float v_1 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 23ddcd7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,94 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - x_GLF_global_loop_count = 0; - float x_36 = x_7.x_GLF_uniform_float_values[1].el; - f = x_36; - int x_38 = x_10.x_GLF_uniform_int_values[1].el; - i = x_38; - { - while(true) { - int x_43 = i; - int x_45 = x_10.x_GLF_uniform_int_values[2].el; - if ((x_43 < x_45)) { - } else { - break; - } - float x_48 = f; - float x_50 = x_7.x_GLF_uniform_float_values[1].el; - if ((x_48 > x_50)) { - } - f = 1.0f; - float x_55 = x_7.x_GLF_uniform_float_values[2].el; - float x_56 = f; - int x_59 = i; - float v = (1.0f - clamp(x_55, 1.0f, x_56)); - f = (v + float(x_59)); - { - int x_62 = i; - i = (x_62 + 1); - } - continue; - } - } - float x_64 = f; - float x_66 = x_7.x_GLF_uniform_float_values[0].el; - if ((x_64 == x_66)) { - int x_72 = x_10.x_GLF_uniform_int_values[0].el; - int x_75 = x_10.x_GLF_uniform_int_values[1].el; - int x_78 = x_10.x_GLF_uniform_int_values[1].el; - int x_81 = x_10.x_GLF_uniform_int_values[0].el; - float v_1 = float(x_72); - float v_2 = float(x_75); - float v_3 = float(x_78); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_81)); - } else { - int x_85 = x_10.x_GLF_uniform_int_values[1].el; - float x_86 = float(x_85); - x_GLF_color = vec4(x_86, x_86, x_86, x_86); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 32ed84c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,81 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float b = 0.0f; - float c = 0.0f; - int i = 0; - a = x_6.x_GLF_uniform_float_values[1].el; - b = x_6.x_GLF_uniform_float_values[1].el; - c = x_6.x_GLF_uniform_float_values[1].el; - i = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((i == x_11.x_GLF_uniform_int_values[2].el)) { - float x_57 = a; - float x_60 = x_6.x_GLF_uniform_float_values[1].el; - b = (dFdx(x_57) + x_60); - } - float x_62 = a; - c = dFdx(x_62); - a = (c / b); - { - i = (i + 1); - } - continue; - } - } - if ((a == x_6.x_GLF_uniform_float_values[0].el)) { - float v = float(x_11.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_11.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_11.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6a0986b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,100 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float b = 0.0f; - float c = 0.0f; - int i = 0; - float x_35 = x_6.x_GLF_uniform_float_values[1].el; - a = x_35; - float x_37 = x_6.x_GLF_uniform_float_values[1].el; - b = x_37; - float x_39 = x_6.x_GLF_uniform_float_values[1].el; - c = x_39; - int x_41 = x_11.x_GLF_uniform_int_values[1].el; - i = x_41; - { - while(true) { - int x_46 = i; - int x_48 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_46 < x_48)) { - } else { - break; - } - int x_51 = i; - int x_53 = x_11.x_GLF_uniform_int_values[2].el; - if ((x_51 == x_53)) { - float x_57 = a; - float x_60 = x_6.x_GLF_uniform_float_values[1].el; - b = (dFdx(x_57) + x_60); - } - float x_62 = a; - c = dFdx(x_62); - float x_64 = c; - float x_65 = b; - a = (x_64 / x_65); - { - int x_67 = i; - i = (x_67 + 1); - } - continue; - } - } - float x_69 = a; - float x_71 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_69 == x_71)) { - int x_77 = x_11.x_GLF_uniform_int_values[2].el; - int x_80 = x_11.x_GLF_uniform_int_values[1].el; - int x_83 = x_11.x_GLF_uniform_int_values[1].el; - int x_86 = x_11.x_GLF_uniform_int_values[2].el; - float v = float(x_77); - float v_1 = float(x_80); - float v_2 = float(x_83); - x_GLF_color = vec4(v, v_1, v_2, float(x_86)); - } else { - int x_90 = x_11.x_GLF_uniform_int_values[1].el; - float x_91 = float(x_90); - x_GLF_color = vec4(x_91, x_91, x_91, x_91); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f8a9dc0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,52 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - a = x_6.x_GLF_uniform_int_values[0].el; - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - { - while(true) { - if (((x_6.x_GLF_uniform_int_values[2].el == a) != true)) { - } else { - break; - } - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - break; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 5f837f5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int x_26 = x_6.x_GLF_uniform_int_values[0].el; - a = x_26; - int x_28 = x_6.x_GLF_uniform_int_values[1].el; - float x_29 = float(x_28); - x_GLF_color = vec4(x_29, x_29, x_29, x_29); - { - while(true) { - int x_36 = x_6.x_GLF_uniform_int_values[2].el; - int x_37 = a; - if (((x_36 == x_37) != true)) { - } else { - break; - } - int x_42 = x_6.x_GLF_uniform_int_values[0].el; - int x_45 = x_6.x_GLF_uniform_int_values[1].el; - int x_48 = x_6.x_GLF_uniform_int_values[1].el; - int x_51 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_42); - float v_1 = float(x_45); - float v_2 = float(x_48); - x_GLF_color = vec4(v, v_1, v_2, float(x_51)); - break; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 731238c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,86 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[5] = float[5](0.0f, 0.0f, 0.0f, 0.0f, 0.0f); - int i = 0; - int j = 0; - arr = float[5](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el); - i = x_9.x_GLF_uniform_int_values[1].el; - j = 0; - { - while(true) { - if ((i < x_9.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((j < -1)) { - break; - } - int x_63 = j; - arr[x_63] = (arr[j] + 1.0f); - { - i = (i + 1); - j = (j + 1); - } - continue; - } - } - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el); - i = x_9.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_9.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if (!((arr[i] == 2.0f))) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6b55cdc..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,109 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float arr[5] = float[5](0.0f, 0.0f, 0.0f, 0.0f, 0.0f); - int i = 0; - int j = 0; - float x_38 = x_6.x_GLF_uniform_float_values[0].el; - float x_40 = x_6.x_GLF_uniform_float_values[0].el; - float x_42 = x_6.x_GLF_uniform_float_values[0].el; - float x_44 = x_6.x_GLF_uniform_float_values[0].el; - float x_46 = x_6.x_GLF_uniform_float_values[0].el; - arr = float[5](x_38, x_40, x_42, x_44, x_46); - int x_49 = x_9.x_GLF_uniform_int_values[1].el; - i = x_49; - j = 0; - { - while(true) { - int x_54 = i; - int x_56 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_54 < x_56)) { - } else { - break; - } - int x_59 = j; - if ((x_59 < -1)) { - break; - } - int x_63 = j; - float x_65 = arr[x_63]; - arr[x_63] = (x_65 + 1.0f); - { - int x_68 = i; - i = (x_68 + 1); - int x_70 = j; - j = (x_70 + 1); - } - continue; - } - } - float x_73 = x_6.x_GLF_uniform_float_values[0].el; - float x_75 = x_6.x_GLF_uniform_float_values[1].el; - float x_77 = x_6.x_GLF_uniform_float_values[1].el; - float x_79 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_73, x_75, x_77, x_79); - int x_82 = x_9.x_GLF_uniform_int_values[1].el; - i = x_82; - { - while(true) { - int x_87 = i; - int x_89 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_87 < x_89)) { - } else { - break; - } - int x_92 = i; - float x_94 = arr[x_92]; - if (!((x_94 == 2.0f))) { - float x_99 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_99, x_99, x_99, x_99); - } - { - int x_101 = i; - i = (x_101 + 1); - } - continue; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index eb1a6d7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,124 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[6]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_12; -void main_1() { - int data[5] = int[5](0, 0, 0, 0, 0); - int a = 0; - int i = 0; - int j = 0; - int i_1 = 0; - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[5].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[5].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - data = int[5](x_6.x_GLF_uniform_int_values[1].el, x_6.x_GLF_uniform_int_values[2].el, x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[4].el, x_6.x_GLF_uniform_int_values[0].el); - a = x_6.x_GLF_uniform_int_values[5].el; - { - while(true) { - if ((a < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i = x_6.x_GLF_uniform_int_values[5].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - j = i; - { - while(true) { - if ((j < x_6.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - if ((data[i] < data[j])) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[5].el)); - } - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - { - a = (a + 1); - } - continue; - } - } - { - while(true) { - if ((tint_symbol.x < x_12.x_GLF_uniform_float_values[0].el)) { - } else { - break; - } - i_1 = x_6.x_GLF_uniform_int_values[5].el; - { - while(true) { - if ((i_1 < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[5].el)); - { - i_1 = (i_1 + 1); - } - continue; - } - } - { - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index a3ca1bf..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,159 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[6]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_12; -void main_1() { - int data[5] = int[5](0, 0, 0, 0, 0); - int a = 0; - int i = 0; - int j = 0; - int i_1 = 0; - int x_45 = x_6.x_GLF_uniform_int_values[0].el; - int x_48 = x_6.x_GLF_uniform_int_values[5].el; - int x_51 = x_6.x_GLF_uniform_int_values[5].el; - int x_54 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_45); - float v_1 = float(x_48); - float v_2 = float(x_51); - x_GLF_color = vec4(v, v_1, v_2, float(x_54)); - int x_58 = x_6.x_GLF_uniform_int_values[1].el; - int x_60 = x_6.x_GLF_uniform_int_values[2].el; - int x_62 = x_6.x_GLF_uniform_int_values[3].el; - int x_64 = x_6.x_GLF_uniform_int_values[4].el; - int x_66 = x_6.x_GLF_uniform_int_values[0].el; - data = int[5](x_58, x_60, x_62, x_64, x_66); - int x_69 = x_6.x_GLF_uniform_int_values[5].el; - a = x_69; - { - while(true) { - int x_74 = a; - int x_76 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_74 < x_76)) { - } else { - break; - } - int x_80 = x_6.x_GLF_uniform_int_values[5].el; - i = x_80; - { - while(true) { - int x_85 = i; - int x_87 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_85 < x_87)) { - } else { - break; - } - int x_90 = i; - j = x_90; - { - while(true) { - int x_95 = j; - int x_97 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_95 < x_97)) { - } else { - break; - } - int x_100 = i; - int x_102 = data[x_100]; - int x_103 = j; - int x_105 = data[x_103]; - if ((x_102 < x_105)) { - int x_110 = x_6.x_GLF_uniform_int_values[5].el; - float x_111 = float(x_110); - x_GLF_color = vec4(x_111, x_111, x_111, x_111); - } - { - int x_113 = j; - j = (x_113 + 1); - } - continue; - } - } - { - int x_115 = i; - i = (x_115 + 1); - } - continue; - } - } - { - int x_117 = a; - a = (x_117 + 1); - } - continue; - } - } - { - while(true) { - float x_124 = tint_symbol.x; - float x_126 = x_12.x_GLF_uniform_float_values[0].el; - if ((x_124 < x_126)) { - } else { - break; - } - int x_130 = x_6.x_GLF_uniform_int_values[5].el; - i_1 = x_130; - { - while(true) { - int x_135 = i_1; - int x_137 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_135 < x_137)) { - } else { - break; - } - int x_141 = x_6.x_GLF_uniform_int_values[5].el; - float x_142 = float(x_141); - x_GLF_color = vec4(x_142, x_142, x_142, x_142); - { - int x_144 = i_1; - i_1 = (x_144 + 1); - } - continue; - } - } - { - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d80a892..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,87 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_v1_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -uniform buf0 x_12; -vec4 x_GLF_v1 = vec4(0.0f); -bool continue_execution = true; -void main_1() { - vec2 uv = vec2(0.0f); - vec4 v1 = vec4(0.0f); - float a = 0.0f; - int i = 0; - uv = tint_symbol.xy; - v1 = vec4(x_8.x_GLF_uniform_float_values[0].el); - if ((uv.y >= x_8.x_GLF_uniform_float_values[0].el)) { - v1[0u] = x_8.x_GLF_uniform_float_values[2].el; - v1[1u] = x_8.x_GLF_uniform_float_values[0].el; - v1[2u] = x_8.x_GLF_uniform_float_values[0].el; - v1[3u] = x_8.x_GLF_uniform_float_values[2].el; - } - a = x_8.x_GLF_uniform_float_values[2].el; - i = x_12.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_12.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((x_8.x_GLF_uniform_float_values[2].el < x_8.x_GLF_uniform_float_values[0].el)) { - continue_execution = false; - } - a = pow((((v1.x + v1.y) + v1.z) + v1.w), x_8.x_GLF_uniform_float_values[3].el); - { - i = (i + 1); - } - continue; - } - } - if ((a == x_8.x_GLF_uniform_float_values[1].el)) { - x_GLF_v1 = v1; - } else { - x_GLF_v1 = vec4(float(x_12.x_GLF_uniform_int_values[1].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_v1); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2029028..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,112 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_v1_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -uniform buf0 x_12; -vec4 x_GLF_v1 = vec4(0.0f); -bool continue_execution = true; -void main_1() { - vec2 uv = vec2(0.0f); - vec4 v1 = vec4(0.0f); - float a = 0.0f; - int i = 0; - vec4 x_49 = tint_symbol; - uv = vec2(x_49[0u], x_49[1u]); - float x_52 = x_8.x_GLF_uniform_float_values[0].el; - v1 = vec4(x_52, x_52, x_52, x_52); - float x_55 = uv.y; - float x_57 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_55 >= x_57)) { - float x_62 = x_8.x_GLF_uniform_float_values[2].el; - v1[0u] = x_62; - float x_65 = x_8.x_GLF_uniform_float_values[0].el; - v1[1u] = x_65; - float x_68 = x_8.x_GLF_uniform_float_values[0].el; - v1[2u] = x_68; - float x_71 = x_8.x_GLF_uniform_float_values[2].el; - v1[3u] = x_71; - } - float x_74 = x_8.x_GLF_uniform_float_values[2].el; - a = x_74; - int x_15 = x_12.x_GLF_uniform_int_values[1].el; - i = x_15; - { - while(true) { - int x_16 = i; - int x_17 = x_12.x_GLF_uniform_int_values[0].el; - if ((x_16 < x_17)) { - } else { - break; - } - float x_84 = x_8.x_GLF_uniform_float_values[2].el; - float x_86 = x_8.x_GLF_uniform_float_values[0].el; - if ((x_84 < x_86)) { - continue_execution = false; - } - float x_91 = v1.x; - float x_93 = v1.y; - float x_96 = v1.z; - float x_99 = v1.w; - float x_102 = x_8.x_GLF_uniform_float_values[3].el; - a = pow((((x_91 + x_93) + x_96) + x_99), x_102); - { - int x_18 = i; - i = (x_18 + 1); - } - continue; - } - } - float x_104 = a; - float x_106 = x_8.x_GLF_uniform_float_values[1].el; - if ((x_104 == x_106)) { - vec4 x_111 = v1; - x_GLF_v1 = x_111; - } else { - int x_20 = x_12.x_GLF_uniform_int_values[1].el; - float x_113 = float(x_20); - x_GLF_v1 = vec4(x_113, x_113, x_113, x_113); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_v1); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index bae8498..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,70 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -void main_1() { - int i = 0; - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - if ((tint_symbol.y < 0.0f)) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - if ((tint_symbol.x > 0.0f)) { - if ((tint_symbol.y < 0.0f)) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - break; - } - } - if ((tint_symbol.x > 0.0f)) { - if ((tint_symbol.y < 0.0f)) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 549e41d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,89 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -void main_1() { - int i = 0; - int x_31 = x_6.x_GLF_uniform_int_values[0].el; - int x_34 = x_6.x_GLF_uniform_int_values[1].el; - int x_37 = x_6.x_GLF_uniform_int_values[1].el; - int x_40 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_31); - float v_1 = float(x_34); - float v_2 = float(x_37); - x_GLF_color = vec4(v, v_1, v_2, float(x_40)); - float x_44 = tint_symbol.y; - if ((x_44 < 0.0f)) { - int x_49 = x_6.x_GLF_uniform_int_values[1].el; - float x_50 = float(x_49); - x_GLF_color = vec4(x_50, x_50, x_50, x_50); - } - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - i = x_53; - { - while(true) { - int x_58 = i; - int x_60 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_58 < x_60)) { - } else { - break; - } - float x_64 = tint_symbol.x; - if ((x_64 > 0.0f)) { - float x_69 = tint_symbol.y; - if ((x_69 < 0.0f)) { - int x_74 = x_6.x_GLF_uniform_int_values[1].el; - float x_75 = float(x_74); - x_GLF_color = vec4(x_75, x_75, x_75, x_75); - break; - } - } - float x_78 = tint_symbol.x; - if ((x_78 > 0.0f)) { - float x_83 = tint_symbol.y; - if ((x_83 < 0.0f)) { - int x_88 = x_6.x_GLF_uniform_int_values[1].el; - float x_89 = float(x_88); - x_GLF_color = vec4(x_89, x_89, x_89, x_89); - } - } - { - int x_91 = i; - i = (x_91 + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index aeceae6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,89 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -int func_i1_(inout int x) { - int a = 0; - int i = 0; - int indexable[4] = int[4](0, 0, 0, 0); - a = x_8.x_GLF_uniform_int_values[0].el; - i = x_8.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_8.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - int x_93 = a; - indexable = int[4](x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el); - if ((indexable[x_93] > x)) { - if (true) { - int x_105 = x_8.x_GLF_uniform_int_values[3].el; - return x_105; - } else { - a = x_8.x_GLF_uniform_int_values[3].el; - } - } else { - if (true) { - int x_111 = x_8.x_GLF_uniform_int_values[4].el; - return x_111; - } - } - { - i = (i + 1); - } - continue; - } - } - int x_115 = x_8.x_GLF_uniform_int_values[0].el; - return x_115; -} -void main_1() { - int a_1 = 0; - int param = 0; - int param_1 = 0; - param = x_8.x_GLF_uniform_int_values[0].el; - int x_40 = func_i1_(param); - a_1 = x_40; - param_1 = x_8.x_GLF_uniform_int_values[3].el; - int x_43 = func_i1_(param_1); - a_1 = (a_1 + x_43); - if ((a_1 == x_8.x_GLF_uniform_int_values[2].el)) { - float v = float(x_8.x_GLF_uniform_int_values[3].el); - float v_1 = float(x_8.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_8.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[3].el)); - } else { - x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2da4e13..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,112 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -vec4 x_GLF_color = vec4(0.0f); -int func_i1_(inout int x) { - int a = 0; - int i = 0; - int indexable[4] = int[4](0, 0, 0, 0); - int x_72 = x_8.x_GLF_uniform_int_values[0].el; - a = x_72; - int x_74 = x_8.x_GLF_uniform_int_values[0].el; - i = x_74; - { - while(true) { - int x_79 = i; - int x_81 = x_8.x_GLF_uniform_int_values[1].el; - if ((x_79 < x_81)) { - } else { - break; - } - int x_85 = x_8.x_GLF_uniform_int_values[3].el; - int x_87 = x_8.x_GLF_uniform_int_values[3].el; - int x_89 = x_8.x_GLF_uniform_int_values[3].el; - int x_91 = x_8.x_GLF_uniform_int_values[3].el; - int x_93 = a; - indexable = int[4](x_85, x_87, x_89, x_91); - int x_95 = indexable[x_93]; - int x_96 = x; - if ((x_95 > x_96)) { - if (true) { - int x_105 = x_8.x_GLF_uniform_int_values[3].el; - return x_105; - } else { - int x_107 = x_8.x_GLF_uniform_int_values[3].el; - a = x_107; - } - } else { - if (true) { - int x_111 = x_8.x_GLF_uniform_int_values[4].el; - return x_111; - } - } - { - int x_112 = i; - i = (x_112 + 1); - } - continue; - } - } - int x_115 = x_8.x_GLF_uniform_int_values[0].el; - return x_115; -} -void main_1() { - int a_1 = 0; - int param = 0; - int param_1 = 0; - int x_39 = x_8.x_GLF_uniform_int_values[0].el; - param = x_39; - int x_40 = func_i1_(param); - a_1 = x_40; - int x_42 = x_8.x_GLF_uniform_int_values[3].el; - param_1 = x_42; - int x_43 = func_i1_(param_1); - int x_44 = a_1; - a_1 = (x_44 + x_43); - int x_46 = a_1; - int x_48 = x_8.x_GLF_uniform_int_values[2].el; - if ((x_46 == x_48)) { - int x_54 = x_8.x_GLF_uniform_int_values[3].el; - int x_57 = x_8.x_GLF_uniform_int_values[0].el; - int x_60 = x_8.x_GLF_uniform_int_values[0].el; - int x_63 = x_8.x_GLF_uniform_int_values[3].el; - float v = float(x_54); - float v_1 = float(x_57); - float v_2 = float(x_60); - x_GLF_color = vec4(v, v_1, v_2, float(x_63)); - } else { - int x_67 = x_8.x_GLF_uniform_int_values[0].el; - float x_68 = float(x_67); - x_GLF_color = vec4(x_68, x_68, x_68, x_68); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1b86234..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2 m0 = mat2(vec2(0.0f), vec2(0.0f)); - mat2 m1 = mat2(vec2(0.0f), vec2(0.0f)); - vec2 v = vec2(0.0f); - vec2 v_1 = vec2(x_6.x_GLF_uniform_float_values[0].el, -0.540302276611328125f); - m0 = mat2(v_1, vec2(0.540302276611328125f, x_6.x_GLF_uniform_float_values[0].el)); - m1 = (m0 * m0); - vec2 v_2 = vec2(x_6.x_GLF_uniform_float_values[0].el); - v = (v_2 * m1); - if ((v.x < x_6.x_GLF_uniform_float_values[0].el)) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 11342b9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2 m0 = mat2(vec2(0.0f), vec2(0.0f)); - mat2 m1 = mat2(vec2(0.0f), vec2(0.0f)); - vec2 v = vec2(0.0f); - float x_35 = x_6.x_GLF_uniform_float_values[0].el; - float x_37 = x_6.x_GLF_uniform_float_values[0].el; - vec2 v_1 = vec2(x_35, -0.540302276611328125f); - m0 = mat2(v_1, vec2(0.540302276611328125f, x_37)); - mat2 x_41 = m0; - mat2 x_42 = m0; - m1 = (x_41 * x_42); - float x_45 = x_6.x_GLF_uniform_float_values[0].el; - mat2 x_47 = m1; - v = (vec2(x_45, x_45) * x_47); - float x_50 = v.x; - float x_52 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_50 < x_52)) { - float x_58 = x_6.x_GLF_uniform_float_values[0].el; - float x_60 = x_6.x_GLF_uniform_float_values[1].el; - float x_62 = x_6.x_GLF_uniform_float_values[1].el; - float x_64 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_58, x_60, x_62, x_64); - } else { - float x_67 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_67, x_67, x_67, x_67); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2297010..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,38 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int v = x_5.one; - if ((max(v, min(max(x_5.one, x_5.one), 1)) == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d199df9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,40 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_23 = x_5.one; - int x_25 = x_5.one; - int x_27 = x_5.one; - if ((max(x_23, min(max(x_25, x_27), 1)) == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 8ef92f8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,108 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct S { - int a; - int b; - int c; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int x_43 = 0; - bool x_44 = false; - S arr[2] = S[2](S(0, 0, 0), S(0, 0, 0)); - S param = S(0, 0, 0); - int param_1 = 0; - { - while(true) { - int x_50 = 0; - x_50 = x_10.one; - arr[x_50].a = 2; - if ((arr[1].a < 1)) { - x_GLF_color = vec4(0.0f); - x_44 = true; - break; - } else { - param = arr[1]; - param_1 = (2 + x_50); - int x_61 = param_1; - S x_63 = param; - S x_64_1 = x_63; - x_64_1.a = x_61; - param = x_64_1; - if ((param.a == 2)) { - S x_70 = param; - S x_71_1 = x_70; - x_71_1.a = 9; - param = x_71_1; - } - int x_72 = param_1; - S x_75 = param; - S x_76_1 = x_75; - x_76_1.b = (x_72 + 1); - param = x_76_1; - int x_77 = param_1; - S x_80 = param; - S x_81_1 = x_80; - x_81_1.c = (x_77 + 2); - param = x_81_1; - if ((param.b == 2)) { - S x_87 = param; - S x_88_1 = x_87; - x_88_1.b = 7; - param = x_88_1; - } - x_43 = ((param.a + param.b) + param.c); - if ((x_43 == 12)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } - } - x_44 = true; - break; - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -int func_struct_S_i1_i1_i11_i1_(inout S s, inout int x) { - s.a = x; - if ((s.a == 2)) { - s.a = 9; - } - s.b = (x + 1); - s.c = (x + 2); - if ((s.b == 2)) { - s.b = 7; - } - int x_119 = s.a; - int x_120 = s.b; - int x_122 = s.c; - return ((x_119 + x_120) + x_122); -} -error: Error parsing GLSL shader: -ERROR: 0:14: 'float' : type requires declaration of default precision qualifier -ERROR: 0:14: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 45561cf..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -float func_vf2_(inout vec2 v) { - v[0u] = x_7.two; - if ((v.y < 1.0f)) { - return 1.0f; - } - return 5.0f; -} -void main_1() { - float f = 0.0f; - vec2 param = vec2(0.0f); - param = vec2(1.0f); - float x_34 = func_vf2_(param); - f = x_34; - if ((f == 5.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 987113d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,52 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -float func_vf2_(inout vec2 v) { - float x_42 = x_7.two; - v[0u] = x_42; - float x_45 = v.y; - if ((x_45 < 1.0f)) { - return 1.0f; - } - return 5.0f; -} -void main_1() { - float f = 0.0f; - vec2 param = vec2(0.0f); - param = vec2(1.0f); - float x_34 = func_vf2_(param); - f = x_34; - float x_35 = f; - if ((x_35 == 5.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index af18a98..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,64 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -float func_() { - float b = 0.0f; - float x_34 = 0.0f; - float x_48 = 0.0f; - b = 2.0f; - x_34 = 2.0f; - { - while(true) { - if ((x_7.three == 0.0f)) { - x_48 = x_34; - break; - } - if ((x_7.three == 0.0f)) { - return 1.0f; - } - b = 1.0f; - { - x_34 = 1.0f; - x_48 = 1.0f; - if (true) { break; } - } - continue; - } - } - return x_48; -} -void main_1() { - float x_27 = func_(); - if ((x_27 == 1.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c42dd1c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,69 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -float func_() { - float b = 0.0f; - float x_34 = 0.0f; - float x_34_phi = 0.0f; - float x_48_phi = 0.0f; - b = 2.0f; - x_34_phi = 2.0f; - { - while(true) { - x_34 = x_34_phi; - float x_39 = x_7.three; - if ((x_39 == 0.0f)) { - x_48_phi = x_34; - break; - } - float x_44 = x_7.three; - if ((x_44 == 0.0f)) { - return 1.0f; - } - b = 1.0f; - { - x_34_phi = 1.0f; - x_48_phi = 1.0f; - if (true) { break; } - } - continue; - } - } - float x_48 = x_48_phi; - return x_48; -} -void main_1() { - float x_27 = func_(); - if ((x_27 == 1.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index dfda189..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,70 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - uint one; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_10; -float func_() { - switch(1) { - case 0: - { - return 1.0f; - } - default: - { - break; - } - } - return 0.0f; -} -void main_1() { - vec4 v = vec4(0.0f); - v = vec4(1.0f); - if ((tint_symbol.y < 0.0f)) { - float x_42 = func_(); - v = vec4(x_42); - } - if ((packUnorm4x8(v) == 1u)) { - return; - } - if (((1u << (x_8.one & 31u)) == 2u)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 212dcae..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - uint one; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_10; -float func_() { - switch(1) { - case 0: - { - return 1.0f; - } - default: - { - break; - } - } - return 0.0f; -} -void main_1() { - vec4 v = vec4(0.0f); - v = vec4(1.0f); - float x_38 = tint_symbol.y; - if ((x_38 < 0.0f)) { - float x_42 = func_(); - v = vec4(x_42, x_42, x_42, x_42); - } - vec4 x_44 = v; - if ((packUnorm4x8(x_44) == 1u)) { - return; - } - uint x_50 = x_8.one; - if (((1u << (x_50 & 31u)) == 2u)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - int x_57 = x_10.x_GLF_uniform_int_values[0].el; - float x_58 = float(x_57); - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 327022c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,42 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - float a = 0.0f; - a = 1.40129846e-45f; - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el); - if ((a < x_6.x_GLF_uniform_float_values[2].el)) { - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 151f4e5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - float a = 0.0f; - a = 1.40129846e-45f; - float x_29 = x_6.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_29, x_29, x_29, x_29); - float x_31 = a; - float x_33 = x_6.x_GLF_uniform_float_values[2].el; - if ((x_31 < x_33)) { - float x_38 = x_6.x_GLF_uniform_float_values[0].el; - float x_40 = x_6.x_GLF_uniform_float_values[1].el; - float x_42 = x_6.x_GLF_uniform_float_values[1].el; - float x_44 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_38, x_40, x_42, x_44); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d6b44f5..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,641 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f)); - mat2x4 m24 = mat2x4(vec4(0.0f), vec4(0.0f)); - mat3x2 m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)); - mat3 m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)); - mat3x4 m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat4x2 m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f)); - mat4x3 m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)); - mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - int i_11 = 0; - int i_12 = 0; - int i_13 = 0; - int i_14 = 0; - int i_15 = 0; - int i_16 = 0; - int i_17 = 0; - int i_18 = 0; - int i_19 = 0; - int i_20 = 0; - int i_21 = 0; - int i_22 = 0; - int i_23 = 0; - int i_24 = 0; - int i_25 = 0; - int i_26 = 0; - int i_27 = 0; - int i_28 = 0; - int i_29 = 0; - int i_30 = 0; - int i_31 = 0; - int i_32 = 0; - int i_33 = 0; - int i_34 = 0; - int i_35 = 0; - int i_36 = 0; - int i_37 = 0; - float sum = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - m23 = mat2x3(vec3(0.0f), vec3(0.0f)); - m24 = mat2x4(vec4(0.0f), vec4(0.0f)); - m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)); - m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)); - m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f)); - m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)); - m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - i = 0; - { - while(true) { - if ((i < 1)) { - } else { - break; - } - i_1 = 0; - { - while(true) { - if ((i_1 < 1)) { - } else { - break; - } - i_2 = 0; - { - while(true) { - if ((i_2 < 1)) { - } else { - break; - } - i_3 = 0; - { - while(true) { - if ((i_3 < 1)) { - } else { - break; - } - i_4 = 0; - { - while(true) { - if ((i_4 < 1)) { - } else { - break; - } - i_5 = 0; - { - while(true) { - if ((i_5 < 1)) { - } else { - break; - } - i_6 = 0; - { - while(true) { - if ((i_6 < 1)) { - } else { - break; - } - i_7 = 0; - { - while(true) { - if ((i_7 < 1)) { - } else { - break; - } - i_8 = 0; - { - while(true) { - if ((i_8 < 1)) { - } else { - break; - } - i_9 = 0; - { - while(true) { - if ((i_9 < 1)) { - } else { - break; - } - i_10 = 0; - { - while(true) { - if ((i_10 < 1)) { - } else { - break; - } - i_11 = 0; - { - while(true) { - if ((i_11 < 1)) { - } else { - break; - } - i_12 = 0; - { - while(true) { - if ((i_12 < 1)) { - } else { - break; - } - i_13 = 0; - { - while(true) { - if ((i_13 < 1)) { - } else { - break; - } - i_14 = 0; - { - while(true) { - if ((i_14 < 1)) { - } else { - break; - } - i_15 = 0; - { - while(true) { - if ((i_15 < 1)) { - } else { - break; - } - i_16 = 0; - { - while(true) { - if ((i_16 < 1)) { - } else { - break; - } - i_17 = 0; - { - while(true) { - if ((i_17 < 1)) { - } else { - break; - } - i_18 = 0; - { - while(true) { - if ((i_18 < 1)) { - } else { - break; - } - i_19 = 0; - { - while(true) { - if ((i_19 < 1)) { - } else { - break; - } - i_20 = 0; - { - while(true) { - if ((i_20 < 1)) { - } else { - break; - } - i_21 = 0; - { - while(true) { - if ((i_21 < 1)) { - } else { - break; - } - i_22 = 0; - { - while(true) { - if ((i_22 < 1)) { - } else { - break; - } - i_23 = 0; - { - while(true) { - if ((i_23 < 1)) { - } else { - break; - } - i_24 = 0; - { - while(true) { - if ((i_24 < 1)) { - } else { - break; - } - i_25 = 0; - { - while(true) { - if ((i_25 < 1)) { - } else { - break; - } - i_26 = 0; - { - while(true) { - if ((i_26 < 1)) { - } else { - break; - } - i_27 = 0; - { - while(true) { - if ((i_27 < 1)) { - } else { - break; - } - i_28 = 0; - { - while(true) { - if ((i_28 < 1)) { - } else { - break; - } - i_29 = 0; - { - while(true) { - if ((i_29 < 1)) { - } else { - break; - } - i_30 = 0; - { - while(true) { - if ((i_30 < 1)) { - } else { - break; - } - i_31 = 0; - { - while(true) { - if ((i_31 < 1)) { - } else { - break; - } - i_32 = 0; - { - while(true) { - if ((i_32 < 1)) { - } else { - break; - } - i_33 = 0; - { - while(true) { - if ((i_33 < 1)) { - } else { - break; - } - i_34 = 0; - { - while(true) { - if ((i_34 < 1)) { - } else { - break; - } - i_35 = 0; - { - while(true) { - if ((i_35 < 1)) { - } else { - break; - } - i_36 = 0; - { - while(true) { - if ((i_36 < 1)) { - } else { - break; - } - i_37 = 0; - { - while(true) { - if ((i_37 < 1)) { - } else { - break; - } - { - while(true) { - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - { - int x_373 = x_GLF_global_loop_count; - if (!((x_373 < 98))) { break; } - } - continue; - } - } - int x_375 = i_37; - int x_376 = i_37; - m23[x_375][x_376] = 1.0f; - int x_378 = i_37; - int x_379 = i_37; - m24[x_378][x_379] = 1.0f; - int x_381 = i_37; - int x_382 = i_37; - m32[x_381][x_382] = 1.0f; - int x_384 = i_37; - int x_385 = i_37; - m33[x_384][x_385] = 1.0f; - int x_387 = i_37; - int x_388 = i_37; - m34[x_387][x_388] = 1.0f; - int x_390 = i_37; - int x_391 = i_37; - m42[x_390][x_391] = 1.0f; - int x_393 = i_37; - int x_394 = i_37; - m43[x_393][x_394] = 1.0f; - int x_396 = i_37; - int x_397 = i_37; - m44[x_396][x_397] = 1.0f; - { - i_37 = (i_37 + 1); - } - continue; - } - } - { - i_36 = (i_36 + 1); - } - continue; - } - } - { - i_35 = (i_35 + 1); - } - continue; - } - } - { - i_34 = (i_34 + 1); - } - continue; - } - } - { - i_33 = (i_33 + 1); - } - continue; - } - } - { - i_32 = (i_32 + 1); - } - continue; - } - } - { - i_31 = (i_31 + 1); - } - continue; - } - } - { - i_30 = (i_30 + 1); - } - continue; - } - } - { - i_29 = (i_29 + 1); - } - continue; - } - } - { - i_28 = (i_28 + 1); - } - continue; - } - } - { - i_27 = (i_27 + 1); - } - continue; - } - } - { - i_26 = (i_26 + 1); - } - continue; - } - } - { - i_25 = (i_25 + 1); - } - continue; - } - } - { - i_24 = (i_24 + 1); - } - continue; - } - } - { - i_23 = (i_23 + 1); - } - continue; - } - } - { - i_22 = (i_22 + 1); - } - continue; - } - } - { - i_21 = (i_21 + 1); - } - continue; - } - } - { - i_20 = (i_20 + 1); - } - continue; - } - } - { - i_19 = (i_19 + 1); - } - continue; - } - } - { - i_18 = (i_18 + 1); - } - continue; - } - } - { - i_17 = (i_17 + 1); - } - continue; - } - } - { - i_16 = (i_16 + 1); - } - continue; - } - } - { - i_15 = (i_15 + 1); - } - continue; - } - } - { - i_14 = (i_14 + 1); - } - continue; - } - } - { - i_13 = (i_13 + 1); - } - continue; - } - } - { - i_12 = (i_12 + 1); - } - continue; - } - } - { - i_11 = (i_11 + 1); - } - continue; - } - } - { - i_10 = (i_10 + 1); - } - continue; - } - } - { - i_9 = (i_9 + 1); - } - continue; - } - } - { - i_8 = (i_8 + 1); - } - continue; - } - } - { - i_7 = (i_7 + 1); - } - continue; - } - } - { - i_6 = (i_6 + 1); - } - continue; - } - } - { - i_5 = (i_5 + 1); - } - continue; - } - } - { - i_4 = (i_4 + 1); - } - continue; - } - } - { - i_3 = (i_3 + 1); - } - continue; - } - } - { - i_2 = (i_2 + 1); - } - continue; - } - } - { - i_1 = (i_1 + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - sum = 0.0f; - r = 0; - { - while(true) { - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - sum = (sum + m23[0][r]); - sum = (sum + m24[0][r]); - sum = (sum + m32[0][r]); - sum = (sum + m33[0][r]); - sum = (sum + m34[0][r]); - sum = (sum + m42[0][r]); - sum = (sum + m43[0][r]); - sum = (sum + m44[0][r]); - { - r = (r + 1); - } - continue; - } - } - if ((sum == 8.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1fb2a51..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,746 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f)); - mat2x4 m24 = mat2x4(vec4(0.0f), vec4(0.0f)); - mat3x2 m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)); - mat3 m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)); - mat3x4 m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - mat4x2 m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f)); - mat4x3 m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)); - mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - int i_11 = 0; - int i_12 = 0; - int i_13 = 0; - int i_14 = 0; - int i_15 = 0; - int i_16 = 0; - int i_17 = 0; - int i_18 = 0; - int i_19 = 0; - int i_20 = 0; - int i_21 = 0; - int i_22 = 0; - int i_23 = 0; - int i_24 = 0; - int i_25 = 0; - int i_26 = 0; - int i_27 = 0; - int i_28 = 0; - int i_29 = 0; - int i_30 = 0; - int i_31 = 0; - int i_32 = 0; - int i_33 = 0; - int i_34 = 0; - int i_35 = 0; - int i_36 = 0; - int i_37 = 0; - float sum = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - m23 = mat2x3(vec3(0.0f), vec3(0.0f)); - m24 = mat2x4(vec4(0.0f), vec4(0.0f)); - m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)); - m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)); - m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f)); - m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f)); - m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)); - m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)); - i = 0; - { - while(true) { - int x_105 = i; - if ((x_105 < 1)) { - } else { - break; - } - i_1 = 0; - { - while(true) { - int x_112 = i_1; - if ((x_112 < 1)) { - } else { - break; - } - i_2 = 0; - { - while(true) { - int x_119 = i_2; - if ((x_119 < 1)) { - } else { - break; - } - i_3 = 0; - { - while(true) { - int x_126 = i_3; - if ((x_126 < 1)) { - } else { - break; - } - i_4 = 0; - { - while(true) { - int x_133 = i_4; - if ((x_133 < 1)) { - } else { - break; - } - i_5 = 0; - { - while(true) { - int x_140 = i_5; - if ((x_140 < 1)) { - } else { - break; - } - i_6 = 0; - { - while(true) { - int x_147 = i_6; - if ((x_147 < 1)) { - } else { - break; - } - i_7 = 0; - { - while(true) { - int x_154 = i_7; - if ((x_154 < 1)) { - } else { - break; - } - i_8 = 0; - { - while(true) { - int x_161 = i_8; - if ((x_161 < 1)) { - } else { - break; - } - i_9 = 0; - { - while(true) { - int x_168 = i_9; - if ((x_168 < 1)) { - } else { - break; - } - i_10 = 0; - { - while(true) { - int x_175 = i_10; - if ((x_175 < 1)) { - } else { - break; - } - i_11 = 0; - { - while(true) { - int x_182 = i_11; - if ((x_182 < 1)) { - } else { - break; - } - i_12 = 0; - { - while(true) { - int x_189 = i_12; - if ((x_189 < 1)) { - } else { - break; - } - i_13 = 0; - { - while(true) { - int x_196 = i_13; - if ((x_196 < 1)) { - } else { - break; - } - i_14 = 0; - { - while(true) { - int x_203 = i_14; - if ((x_203 < 1)) { - } else { - break; - } - i_15 = 0; - { - while(true) { - int x_210 = i_15; - if ((x_210 < 1)) { - } else { - break; - } - i_16 = 0; - { - while(true) { - int x_217 = i_16; - if ((x_217 < 1)) { - } else { - break; - } - i_17 = 0; - { - while(true) { - int x_224 = i_17; - if ((x_224 < 1)) { - } else { - break; - } - i_18 = 0; - { - while(true) { - int x_231 = i_18; - if ((x_231 < 1)) { - } else { - break; - } - i_19 = 0; - { - while(true) { - int x_238 = i_19; - if ((x_238 < 1)) { - } else { - break; - } - i_20 = 0; - { - while(true) { - int x_245 = i_20; - if ((x_245 < 1)) { - } else { - break; - } - i_21 = 0; - { - while(true) { - int x_252 = i_21; - if ((x_252 < 1)) { - } else { - break; - } - i_22 = 0; - { - while(true) { - int x_259 = i_22; - if ((x_259 < 1)) { - } else { - break; - } - i_23 = 0; - { - while(true) { - int x_266 = i_23; - if ((x_266 < 1)) { - } else { - break; - } - i_24 = 0; - { - while(true) { - int x_273 = i_24; - if ((x_273 < 1)) { - } else { - break; - } - i_25 = 0; - { - while(true) { - int x_280 = i_25; - if ((x_280 < 1)) { - } else { - break; - } - i_26 = 0; - { - while(true) { - int x_287 = i_26; - if ((x_287 < 1)) { - } else { - break; - } - i_27 = 0; - { - while(true) { - int x_294 = i_27; - if ((x_294 < 1)) { - } else { - break; - } - i_28 = 0; - { - while(true) { - int x_301 = i_28; - if ((x_301 < 1)) { - } else { - break; - } - i_29 = 0; - { - while(true) { - int x_308 = i_29; - if ((x_308 < 1)) { - } else { - break; - } - i_30 = 0; - { - while(true) { - int x_315 = i_30; - if ((x_315 < 1)) { - } else { - break; - } - i_31 = 0; - { - while(true) { - int x_322 = i_31; - if ((x_322 < 1)) { - } else { - break; - } - i_32 = 0; - { - while(true) { - int x_329 = i_32; - if ((x_329 < 1)) { - } else { - break; - } - i_33 = 0; - { - while(true) { - int x_336 = i_33; - if ((x_336 < 1)) { - } else { - break; - } - i_34 = 0; - { - while(true) { - int x_343 = i_34; - if ((x_343 < 1)) { - } else { - break; - } - i_35 = 0; - { - while(true) { - int x_350 = i_35; - if ((x_350 < 1)) { - } else { - break; - } - i_36 = 0; - { - while(true) { - int x_357 = i_36; - if ((x_357 < 1)) { - } else { - break; - } - i_37 = 0; - { - while(true) { - int x_364 = i_37; - if ((x_364 < 1)) { - } else { - break; - } - { - while(true) { - int x_371 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_371 + 1); - { - int x_373 = x_GLF_global_loop_count; - if (!((x_373 < 98))) { break; } - } - continue; - } - } - int x_375 = i_37; - int x_376 = i_37; - m23[x_375][x_376] = 1.0f; - int x_378 = i_37; - int x_379 = i_37; - m24[x_378][x_379] = 1.0f; - int x_381 = i_37; - int x_382 = i_37; - m32[x_381][x_382] = 1.0f; - int x_384 = i_37; - int x_385 = i_37; - m33[x_384][x_385] = 1.0f; - int x_387 = i_37; - int x_388 = i_37; - m34[x_387][x_388] = 1.0f; - int x_390 = i_37; - int x_391 = i_37; - m42[x_390][x_391] = 1.0f; - int x_393 = i_37; - int x_394 = i_37; - m43[x_393][x_394] = 1.0f; - int x_396 = i_37; - int x_397 = i_37; - m44[x_396][x_397] = 1.0f; - { - int x_399 = i_37; - i_37 = (x_399 + 1); - } - continue; - } - } - { - int x_401 = i_36; - i_36 = (x_401 + 1); - } - continue; - } - } - { - int x_403 = i_35; - i_35 = (x_403 + 1); - } - continue; - } - } - { - int x_405 = i_34; - i_34 = (x_405 + 1); - } - continue; - } - } - { - int x_407 = i_33; - i_33 = (x_407 + 1); - } - continue; - } - } - { - int x_409 = i_32; - i_32 = (x_409 + 1); - } - continue; - } - } - { - int x_411 = i_31; - i_31 = (x_411 + 1); - } - continue; - } - } - { - int x_413 = i_30; - i_30 = (x_413 + 1); - } - continue; - } - } - { - int x_415 = i_29; - i_29 = (x_415 + 1); - } - continue; - } - } - { - int x_417 = i_28; - i_28 = (x_417 + 1); - } - continue; - } - } - { - int x_419 = i_27; - i_27 = (x_419 + 1); - } - continue; - } - } - { - int x_421 = i_26; - i_26 = (x_421 + 1); - } - continue; - } - } - { - int x_423 = i_25; - i_25 = (x_423 + 1); - } - continue; - } - } - { - int x_425 = i_24; - i_24 = (x_425 + 1); - } - continue; - } - } - { - int x_427 = i_23; - i_23 = (x_427 + 1); - } - continue; - } - } - { - int x_429 = i_22; - i_22 = (x_429 + 1); - } - continue; - } - } - { - int x_431 = i_21; - i_21 = (x_431 + 1); - } - continue; - } - } - { - int x_433 = i_20; - i_20 = (x_433 + 1); - } - continue; - } - } - { - int x_435 = i_19; - i_19 = (x_435 + 1); - } - continue; - } - } - { - int x_437 = i_18; - i_18 = (x_437 + 1); - } - continue; - } - } - { - int x_439 = i_17; - i_17 = (x_439 + 1); - } - continue; - } - } - { - int x_441 = i_16; - i_16 = (x_441 + 1); - } - continue; - } - } - { - int x_443 = i_15; - i_15 = (x_443 + 1); - } - continue; - } - } - { - int x_445 = i_14; - i_14 = (x_445 + 1); - } - continue; - } - } - { - int x_447 = i_13; - i_13 = (x_447 + 1); - } - continue; - } - } - { - int x_449 = i_12; - i_12 = (x_449 + 1); - } - continue; - } - } - { - int x_451 = i_11; - i_11 = (x_451 + 1); - } - continue; - } - } - { - int x_453 = i_10; - i_10 = (x_453 + 1); - } - continue; - } - } - { - int x_455 = i_9; - i_9 = (x_455 + 1); - } - continue; - } - } - { - int x_457 = i_8; - i_8 = (x_457 + 1); - } - continue; - } - } - { - int x_459 = i_7; - i_7 = (x_459 + 1); - } - continue; - } - } - { - int x_461 = i_6; - i_6 = (x_461 + 1); - } - continue; - } - } - { - int x_463 = i_5; - i_5 = (x_463 + 1); - } - continue; - } - } - { - int x_465 = i_4; - i_4 = (x_465 + 1); - } - continue; - } - } - { - int x_467 = i_3; - i_3 = (x_467 + 1); - } - continue; - } - } - { - int x_469 = i_2; - i_2 = (x_469 + 1); - } - continue; - } - } - { - int x_471 = i_1; - i_1 = (x_471 + 1); - } - continue; - } - } - { - int x_473 = i; - i = (x_473 + 1); - } - continue; - } - } - sum = 0.0f; - r = 0; - { - while(true) { - int x_479 = x_GLF_global_loop_count; - if ((x_479 < 100)) { - } else { - break; - } - int x_482 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_482 + 1); - int x_484 = r; - float x_486 = m23[0][x_484]; - float x_487 = sum; - sum = (x_487 + x_486); - int x_489 = r; - float x_491 = m24[0][x_489]; - float x_492 = sum; - sum = (x_492 + x_491); - int x_494 = r; - float x_496 = m32[0][x_494]; - float x_497 = sum; - sum = (x_497 + x_496); - int x_499 = r; - float x_501 = m33[0][x_499]; - float x_502 = sum; - sum = (x_502 + x_501); - int x_504 = r; - float x_506 = m34[0][x_504]; - float x_507 = sum; - sum = (x_507 + x_506); - int x_509 = r; - float x_511 = m42[0][x_509]; - float x_512 = sum; - sum = (x_512 + x_511); - int x_514 = r; - float x_516 = m43[0][x_514]; - float x_517 = sum; - sum = (x_517 + x_516); - int x_519 = r; - float x_521 = m44[0][x_519]; - float x_522 = sum; - sum = (x_522 + x_521); - { - int x_524 = r; - r = (x_524 + 1); - } - continue; - } - } - float x_526 = sum; - if ((x_526 == 8.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b55c5d3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,93 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v0 = vec4(0.0f); - vec4 v1 = vec4(0.0f); - int a = 0; - int c = 0; - v0 = vec4(x_6.x_GLF_uniform_float_values[1].el); - v1 = vec4(x_6.x_GLF_uniform_float_values[0].el); - a = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((a < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - c = x_10.x_GLF_uniform_int_values[3].el; - { - while(true) { - if ((c < x_10.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - int x_69 = min(max(c, 0), 3); - v0[x_69] = (v0[x_69] - x_6.x_GLF_uniform_float_values[1].el); - if ((x_10.x_GLF_uniform_int_values[1].el == x_10.x_GLF_uniform_int_values[3].el)) { - int x_83 = a; - vec4 v = vec4(x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, 3.0f); - vec4 v_1 = smoothstep(v, vec4(1.0f), v0); - v1[x_83] = v_1[a]; - } - { - c = (c + 1); - } - continue; - } - } - { - a = (a + 1); - } - continue; - } - } - if ((v1.x == x_6.x_GLF_uniform_float_values[0].el)) { - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_10.x_GLF_uniform_int_values[3].el); - float v_4 = float(x_10.x_GLF_uniform_int_values[3].el); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_10.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[3].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index dc29f30..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,119 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v0 = vec4(0.0f); - vec4 v1 = vec4(0.0f); - int a = 0; - int c = 0; - float x_41 = x_6.x_GLF_uniform_float_values[1].el; - v0 = vec4(x_41, x_41, x_41, x_41); - float x_44 = x_6.x_GLF_uniform_float_values[0].el; - v1 = vec4(x_44, x_44, x_44, x_44); - int x_47 = x_10.x_GLF_uniform_int_values[1].el; - a = x_47; - { - while(true) { - int x_52 = a; - int x_54 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_52 < x_54)) { - } else { - break; - } - int x_58 = x_10.x_GLF_uniform_int_values[3].el; - c = x_58; - { - while(true) { - int x_63 = c; - int x_65 = x_10.x_GLF_uniform_int_values[2].el; - if ((x_63 < x_65)) { - } else { - break; - } - int x_68 = c; - int x_69 = min(max(x_68, 0), 3); - float x_71 = x_6.x_GLF_uniform_float_values[1].el; - float x_73 = v0[x_69]; - v0[x_69] = (x_73 - x_71); - int x_77 = x_10.x_GLF_uniform_int_values[1].el; - int x_79 = x_10.x_GLF_uniform_int_values[3].el; - if ((x_77 == x_79)) { - int x_83 = a; - float x_85 = x_6.x_GLF_uniform_float_values[1].el; - float x_87 = x_6.x_GLF_uniform_float_values[1].el; - float x_89 = x_6.x_GLF_uniform_float_values[1].el; - vec4 x_91 = v0; - int x_93 = a; - v1[x_83] = smoothstep(vec4(x_85, x_87, x_89, 3.0f), vec4(1.0f), x_91)[x_93]; - } - { - int x_96 = c; - c = (x_96 + 1); - } - continue; - } - } - { - int x_98 = a; - a = (x_98 + 1); - } - continue; - } - } - float x_101 = v1.x; - float x_103 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_101 == x_103)) { - int x_109 = x_10.x_GLF_uniform_int_values[1].el; - int x_112 = x_10.x_GLF_uniform_int_values[3].el; - int x_115 = x_10.x_GLF_uniform_int_values[3].el; - int x_118 = x_10.x_GLF_uniform_int_values[1].el; - float v = float(x_109); - float v_1 = float(x_112); - float v_2 = float(x_115); - x_GLF_color = vec4(v, v_1, v_2, float(x_118)); - } else { - int x_122 = x_10.x_GLF_uniform_int_values[3].el; - float x_123 = float(x_122); - x_GLF_color = vec4(x_123, x_123, x_123, x_123); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 389d324..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,297 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - int i_11 = 0; - int i_12 = 0; - int i_13 = 0; - int i_14 = 0; - float sum = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - f = x_7.x_GLF_uniform_float_values[1].el; - i = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_1 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_1 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_2 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_2 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_3 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_3 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_4 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_4 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_5 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_5 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_6 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_6 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_7 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_7 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_8 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_8 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_9 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_9 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_10 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_10 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_11 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_11 < x_10.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - i_12 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_12 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_13 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_13 < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_14 = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_14 < x_10.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - { - while(true) { - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - { - int x_225 = x_GLF_global_loop_count; - int x_227 = x_10.x_GLF_uniform_int_values[3].el; - if (!((x_225 < (100 - x_227)))) { break; } - } - continue; - } - } - f = (f + x_7.x_GLF_uniform_float_values[0].el); - { - i_14 = (i_14 + 1); - } - continue; - } - } - { - i_13 = (i_13 + 1); - } - continue; - } - } - { - i_12 = (i_12 + 1); - } - continue; - } - } - { - i_11 = (i_11 + 1); - } - continue; - } - } - { - i_10 = (i_10 + 1); - } - continue; - } - } - { - i_9 = (i_9 + 1); - } - continue; - } - } - { - i_8 = (i_8 + 1); - } - continue; - } - } - { - i_7 = (i_7 + 1); - } - continue; - } - } - { - i_6 = (i_6 + 1); - } - continue; - } - } - { - i_5 = (i_5 + 1); - } - continue; - } - } - { - i_4 = (i_4 + 1); - } - continue; - } - } - { - i_3 = (i_3 + 1); - } - continue; - } - } - { - i_2 = (i_2 + 1); - } - continue; - } - } - { - i_1 = (i_1 + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - sum = x_7.x_GLF_uniform_float_values[1].el; - r = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((x_GLF_global_loop_count < 100)) { - } else { - break; - } - x_GLF_global_loop_count = (x_GLF_global_loop_count + 1); - sum = (sum + f); - { - r = (r + 1); - } - continue; - } - } - if ((sum == x_7.x_GLF_uniform_float_values[2].el)) { - float v = float(x_10.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 4e3365b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,376 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -int x_GLF_global_loop_count = 0; -uniform buf0 x_7; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - int i_11 = 0; - int i_12 = 0; - int i_13 = 0; - int i_14 = 0; - float sum = 0.0f; - int r = 0; - x_GLF_global_loop_count = 0; - float x_53 = x_7.x_GLF_uniform_float_values[1].el; - f = x_53; - int x_55 = x_10.x_GLF_uniform_int_values[1].el; - i = x_55; - { - while(true) { - int x_60 = i; - int x_62 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_60 < x_62)) { - } else { - break; - } - int x_66 = x_10.x_GLF_uniform_int_values[1].el; - i_1 = x_66; - { - while(true) { - int x_71 = i_1; - int x_73 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_71 < x_73)) { - } else { - break; - } - int x_77 = x_10.x_GLF_uniform_int_values[1].el; - i_2 = x_77; - { - while(true) { - int x_82 = i_2; - int x_84 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_82 < x_84)) { - } else { - break; - } - int x_88 = x_10.x_GLF_uniform_int_values[1].el; - i_3 = x_88; - { - while(true) { - int x_93 = i_3; - int x_95 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_93 < x_95)) { - } else { - break; - } - int x_99 = x_10.x_GLF_uniform_int_values[1].el; - i_4 = x_99; - { - while(true) { - int x_104 = i_4; - int x_106 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_104 < x_106)) { - } else { - break; - } - int x_110 = x_10.x_GLF_uniform_int_values[1].el; - i_5 = x_110; - { - while(true) { - int x_115 = i_5; - int x_117 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_115 < x_117)) { - } else { - break; - } - int x_121 = x_10.x_GLF_uniform_int_values[1].el; - i_6 = x_121; - { - while(true) { - int x_126 = i_6; - int x_128 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_126 < x_128)) { - } else { - break; - } - int x_132 = x_10.x_GLF_uniform_int_values[1].el; - i_7 = x_132; - { - while(true) { - int x_137 = i_7; - int x_139 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_137 < x_139)) { - } else { - break; - } - int x_143 = x_10.x_GLF_uniform_int_values[1].el; - i_8 = x_143; - { - while(true) { - int x_148 = i_8; - int x_150 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_148 < x_150)) { - } else { - break; - } - int x_154 = x_10.x_GLF_uniform_int_values[1].el; - i_9 = x_154; - { - while(true) { - int x_159 = i_9; - int x_161 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_159 < x_161)) { - } else { - break; - } - int x_165 = x_10.x_GLF_uniform_int_values[1].el; - i_10 = x_165; - { - while(true) { - int x_170 = i_10; - int x_172 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_170 < x_172)) { - } else { - break; - } - int x_176 = x_10.x_GLF_uniform_int_values[1].el; - i_11 = x_176; - { - while(true) { - int x_181 = i_11; - int x_183 = x_10.x_GLF_uniform_int_values[2].el; - if ((x_181 < x_183)) { - } else { - break; - } - int x_187 = x_10.x_GLF_uniform_int_values[1].el; - i_12 = x_187; - { - while(true) { - int x_192 = i_12; - int x_194 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_192 < x_194)) { - } else { - break; - } - int x_198 = x_10.x_GLF_uniform_int_values[1].el; - i_13 = x_198; - { - while(true) { - int x_203 = i_13; - int x_205 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_203 < x_205)) { - } else { - break; - } - int x_209 = x_10.x_GLF_uniform_int_values[1].el; - i_14 = x_209; - { - while(true) { - int x_214 = i_14; - int x_216 = x_10.x_GLF_uniform_int_values[2].el; - if ((x_214 < x_216)) { - } else { - break; - } - { - while(true) { - int x_223 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_223 + 1); - { - int x_225 = x_GLF_global_loop_count; - int x_227 = x_10.x_GLF_uniform_int_values[3].el; - if (!((x_225 < (100 - x_227)))) { break; } - } - continue; - } - } - float x_231 = x_7.x_GLF_uniform_float_values[0].el; - float x_232 = f; - f = (x_232 + x_231); - { - int x_234 = i_14; - i_14 = (x_234 + 1); - } - continue; - } - } - { - int x_236 = i_13; - i_13 = (x_236 + 1); - } - continue; - } - } - { - int x_238 = i_12; - i_12 = (x_238 + 1); - } - continue; - } - } - { - int x_240 = i_11; - i_11 = (x_240 + 1); - } - continue; - } - } - { - int x_242 = i_10; - i_10 = (x_242 + 1); - } - continue; - } - } - { - int x_244 = i_9; - i_9 = (x_244 + 1); - } - continue; - } - } - { - int x_246 = i_8; - i_8 = (x_246 + 1); - } - continue; - } - } - { - int x_248 = i_7; - i_7 = (x_248 + 1); - } - continue; - } - } - { - int x_250 = i_6; - i_6 = (x_250 + 1); - } - continue; - } - } - { - int x_252 = i_5; - i_5 = (x_252 + 1); - } - continue; - } - } - { - int x_254 = i_4; - i_4 = (x_254 + 1); - } - continue; - } - } - { - int x_256 = i_3; - i_3 = (x_256 + 1); - } - continue; - } - } - { - int x_258 = i_2; - i_2 = (x_258 + 1); - } - continue; - } - } - { - int x_260 = i_1; - i_1 = (x_260 + 1); - } - continue; - } - } - { - int x_262 = i; - i = (x_262 + 1); - } - continue; - } - } - float x_265 = x_7.x_GLF_uniform_float_values[1].el; - sum = x_265; - int x_267 = x_10.x_GLF_uniform_int_values[1].el; - r = x_267; - { - while(true) { - int x_272 = x_GLF_global_loop_count; - if ((x_272 < 100)) { - } else { - break; - } - int x_275 = x_GLF_global_loop_count; - x_GLF_global_loop_count = (x_275 + 1); - float x_277 = f; - float x_278 = sum; - sum = (x_278 + x_277); - { - int x_280 = r; - r = (x_280 + 1); - } - continue; - } - } - float x_282 = sum; - float x_284 = x_7.x_GLF_uniform_float_values[2].el; - if ((x_282 == x_284)) { - int x_290 = x_10.x_GLF_uniform_int_values[0].el; - int x_293 = x_10.x_GLF_uniform_int_values[1].el; - int x_296 = x_10.x_GLF_uniform_int_values[1].el; - int x_299 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_290); - float v_1 = float(x_293); - float v_2 = float(x_296); - x_GLF_color = vec4(v, v_1, v_2, float(x_299)); - } else { - int x_303 = x_10.x_GLF_uniform_int_values[1].el; - float x_304 = float(x_303); - x_GLF_color = vec4(x_304, x_304, x_304, x_304); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index bf94f91..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,146 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[19]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int A[17] = int[17](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int r[17] = int[17](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int a = 0; - int i = 0; - bool ok = false; - int i_1 = 0; - int x_52 = x_6.x_GLF_uniform_int_values[2].el; - int x_54 = x_6.x_GLF_uniform_int_values[2].el; - int x_56 = x_6.x_GLF_uniform_int_values[2].el; - int x_58 = x_6.x_GLF_uniform_int_values[2].el; - int x_60 = x_6.x_GLF_uniform_int_values[2].el; - int x_62 = x_6.x_GLF_uniform_int_values[2].el; - int x_64 = x_6.x_GLF_uniform_int_values[2].el; - int x_66 = x_6.x_GLF_uniform_int_values[2].el; - int x_68 = x_6.x_GLF_uniform_int_values[2].el; - int x_70 = x_6.x_GLF_uniform_int_values[2].el; - int x_72 = x_6.x_GLF_uniform_int_values[2].el; - int x_74 = x_6.x_GLF_uniform_int_values[2].el; - int x_76 = x_6.x_GLF_uniform_int_values[2].el; - int x_78 = x_6.x_GLF_uniform_int_values[2].el; - int x_80 = x_6.x_GLF_uniform_int_values[2].el; - int x_82 = x_6.x_GLF_uniform_int_values[2].el; - int x_84 = x_6.x_GLF_uniform_int_values[2].el; - A = int[17](x_52, x_54, x_56, x_58, x_60, x_62, x_64, x_66, x_68, x_70, x_72, x_74, x_76, x_78, x_80, x_82, x_84); - int x_87 = x_6.x_GLF_uniform_int_values[3].el; - int x_89 = x_6.x_GLF_uniform_int_values[4].el; - int x_91 = x_6.x_GLF_uniform_int_values[5].el; - int x_93 = x_6.x_GLF_uniform_int_values[6].el; - int x_95 = x_6.x_GLF_uniform_int_values[7].el; - int x_97 = x_6.x_GLF_uniform_int_values[8].el; - int x_99 = x_6.x_GLF_uniform_int_values[9].el; - int x_101 = x_6.x_GLF_uniform_int_values[10].el; - int x_103 = x_6.x_GLF_uniform_int_values[11].el; - int x_105 = x_6.x_GLF_uniform_int_values[12].el; - int x_107 = x_6.x_GLF_uniform_int_values[13].el; - int x_109 = x_6.x_GLF_uniform_int_values[14].el; - int x_111 = x_6.x_GLF_uniform_int_values[15].el; - int x_113 = x_6.x_GLF_uniform_int_values[16].el; - int x_115 = x_6.x_GLF_uniform_int_values[17].el; - int x_117 = x_6.x_GLF_uniform_int_values[18].el; - int x_119 = x_6.x_GLF_uniform_int_values[1].el; - r = int[17](x_87, x_89, x_91, x_93, x_95, x_97, x_99, x_101, x_103, x_105, x_107, x_109, x_111, x_113, x_115, x_117, x_119); - int x_122 = x_6.x_GLF_uniform_int_values[2].el; - a = x_122; - int x_124 = x_6.x_GLF_uniform_int_values[2].el; - i = x_124; - { - while(true) { - int x_129 = i; - int x_131 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_129 < x_131)) { - } else { - break; - } - int x_134 = i; - int x_135 = a; - a = (x_135 - 1); - A[x_134] = x_135; - int x_138 = i; - int x_140 = x_6.x_GLF_uniform_int_values[2].el; - int x_142 = x_6.x_GLF_uniform_int_values[18].el; - int x_144 = i; - int x_146 = x_6.x_GLF_uniform_int_values[3].el; - A[min(max(x_138, x_140), x_142)] = (x_144 + x_146); - { - int x_149 = i; - i = (x_149 + 1); - } - continue; - } - } - ok = true; - int x_152 = x_6.x_GLF_uniform_int_values[2].el; - i_1 = x_152; - { - while(true) { - int x_157 = i_1; - int x_159 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_157 < x_159)) { - } else { - break; - } - int x_162 = i_1; - int x_164 = A[x_162]; - int x_165 = i_1; - int x_167 = r[x_165]; - if ((x_164 != x_167)) { - ok = false; - } - { - int x_171 = i_1; - i_1 = (x_171 + 1); - } - continue; - } - } - int x_174 = x_6.x_GLF_uniform_int_values[2].el; - float x_175 = float(x_174); - x_GLF_color = vec4(x_175, x_175, x_175, x_175); - bool x_177 = ok; - if (x_177) { - int x_181 = x_6.x_GLF_uniform_int_values[3].el; - int x_184 = x_6.x_GLF_uniform_int_values[2].el; - int x_187 = x_6.x_GLF_uniform_int_values[2].el; - int x_190 = x_6.x_GLF_uniform_int_values[3].el; - float v = float(x_181); - float v_1 = float(x_184); - float v_2 = float(x_187); - x_GLF_color = vec4(v, v_1, v_2, float(x_190)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9bd342e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el); - a = x_5.x_GLF_uniform_float_values[0].el; - { - while(true) { - if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) { - return; - } - if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) { - return; - } - if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) { - return; - } - if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) { - return; - } else { - a = 0.0f; - } - { - float x_72 = a; - if (!(!((x_72 == 0.0f)))) { break; } - } - continue; - } - } - float v = float(x_8.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_8.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_8.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[1].el)); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e30ec85..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,89 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - float x_31 = x_5.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_31, x_31, x_31, x_31); - float x_34 = x_5.x_GLF_uniform_float_values[0].el; - a = x_34; - { - while(true) { - float x_40 = x_5.x_GLF_uniform_float_values[0].el; - float x_43 = x_5.x_GLF_uniform_float_values[0].el; - if (((x_40 / 0.20000000298023223877f) < x_43)) { - return; - } - float x_48 = x_5.x_GLF_uniform_float_values[0].el; - float x_51 = x_5.x_GLF_uniform_float_values[0].el; - if (((x_48 / 0.20000000298023223877f) < x_51)) { - return; - } - float x_56 = x_5.x_GLF_uniform_float_values[0].el; - float x_59 = x_5.x_GLF_uniform_float_values[0].el; - if (((x_56 / 0.20000000298023223877f) < x_59)) { - return; - } - float x_64 = x_5.x_GLF_uniform_float_values[0].el; - float x_67 = x_5.x_GLF_uniform_float_values[0].el; - if (((x_64 / 0.20000000298023223877f) < x_67)) { - return; - } else { - a = 0.0f; - } - { - float x_72 = a; - if (!((x_72 == 0.0f))) { break; } - } - continue; - } - } - int x_75 = x_8.x_GLF_uniform_int_values[1].el; - int x_78 = x_8.x_GLF_uniform_int_values[0].el; - int x_81 = x_8.x_GLF_uniform_int_values[0].el; - int x_84 = x_8.x_GLF_uniform_int_values[1].el; - float v = float(x_75); - float v_1 = float(x_78); - float v_2 = float(x_81); - x_GLF_color = vec4(v, v_1, v_2, float(x_84)); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 91b0aef..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,94 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[5]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2 M1 = mat2(vec2(0.0f), vec2(0.0f)); - float a = 0.0f; - int c = 0; - float x_41 = x_6.x_GLF_uniform_float_values[1].el; - float x_43 = x_6.x_GLF_uniform_float_values[2].el; - float x_45 = x_6.x_GLF_uniform_float_values[3].el; - float x_47 = x_6.x_GLF_uniform_float_values[4].el; - vec2 v = vec2(x_41, x_43); - M1 = mat2(v, vec2(x_45, x_47)); - float x_52 = x_6.x_GLF_uniform_float_values[1].el; - a = x_52; - int x_54 = x_10.x_GLF_uniform_int_values[1].el; - c = x_54; - { - while(true) { - int x_59 = c; - int x_61 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_59 < x_61)) { - } else { - break; - } - int x_65 = x_10.x_GLF_uniform_int_values[2].el; - int x_66 = c; - float x_70 = M1[x_65][min(max(~(x_66), 0), 1)]; - float x_71 = a; - a = (x_71 + x_70); - { - int x_73 = c; - c = (x_73 + 1); - } - continue; - } - } - float x_75 = a; - float x_77 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_75 == x_77)) { - int x_83 = x_10.x_GLF_uniform_int_values[2].el; - int x_86 = x_10.x_GLF_uniform_int_values[1].el; - int x_89 = x_10.x_GLF_uniform_int_values[1].el; - int x_92 = x_10.x_GLF_uniform_int_values[2].el; - float v_1 = float(x_83); - float v_2 = float(x_86); - float v_3 = float(x_89); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_92)); - } else { - int x_96 = x_10.x_GLF_uniform_int_values[2].el; - float x_97 = float(x_96); - x_GLF_color = vec4(x_97, x_97, x_97, x_97); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d0e46c2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,107 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int a = 0; - int i = 0; - int j = 0; - a = x_7.x_GLF_uniform_int_values[2].el; - i = x_7.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_7.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - j = x_7.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((j < x_7.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - { - while(true) { - a = x_7.x_GLF_uniform_int_values[1].el; - if ((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el)) { - continue_execution = false; - } - { - int x_72 = a; - int x_74 = x_7.x_GLF_uniform_int_values[1].el; - if (!((x_72 < x_74))) { break; } - } - continue; - } - } - if ((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el)) { - break; - } - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - if ((a == x_7.x_GLF_uniform_int_values[1].el)) { - float v = float(a); - float v_1 = float(x_7.x_GLF_uniform_int_values[2].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[2].el); - x_GLF_color = vec4(v, v_1, v_2, float(a)); - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[2].el)); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b3e4400..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,129 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_11; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int a = 0; - int i = 0; - int j = 0; - int x_36 = x_7.x_GLF_uniform_int_values[2].el; - a = x_36; - int x_38 = x_7.x_GLF_uniform_int_values[2].el; - i = x_38; - { - while(true) { - int x_43 = i; - int x_45 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_43 < x_45)) { - } else { - break; - } - int x_49 = x_7.x_GLF_uniform_int_values[2].el; - j = x_49; - { - while(true) { - int x_54 = j; - int x_56 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_54 < x_56)) { - } else { - break; - } - { - while(true) { - int x_64 = x_7.x_GLF_uniform_int_values[1].el; - a = x_64; - float x_66 = tint_symbol.y; - float x_68 = x_11.x_GLF_uniform_float_values[0].el; - if ((x_66 < x_68)) { - continue_execution = false; - } - { - int x_72 = a; - int x_74 = x_7.x_GLF_uniform_int_values[1].el; - if (!((x_72 < x_74))) { break; } - } - continue; - } - } - float x_77 = tint_symbol.y; - float x_79 = x_11.x_GLF_uniform_float_values[0].el; - if ((x_77 < x_79)) { - break; - } - { - int x_83 = j; - j = (x_83 + 1); - } - continue; - } - } - { - int x_85 = i; - i = (x_85 + 1); - } - continue; - } - } - int x_87 = a; - int x_89 = x_7.x_GLF_uniform_int_values[1].el; - if ((x_87 == x_89)) { - int x_94 = a; - int x_97 = x_7.x_GLF_uniform_int_values[2].el; - int x_100 = x_7.x_GLF_uniform_int_values[2].el; - int x_102 = a; - float v = float(x_94); - float v_1 = float(x_97); - float v_2 = float(x_100); - x_GLF_color = vec4(v, v_1, v_2, float(x_102)); - } else { - int x_106 = x_7.x_GLF_uniform_int_values[2].el; - float x_107 = float(x_106); - x_GLF_color = vec4(x_107, x_107, x_107, x_107); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 45bd728..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,211 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_11; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float b = 0.0f; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - a = x_7.x_GLF_uniform_float_values[0].el; - b = x_7.x_GLF_uniform_float_values[1].el; - i = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_1 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_1 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_2 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_2 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_3 = x_11.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i_3 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_4 = x_11.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i_4 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_5 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_5 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_6 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_6 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_7 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_7 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_8 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_8 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_9 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_9 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i_10 = x_11.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i_10 < x_11.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - a = x_7.x_GLF_uniform_float_values[1].el; - if ((tint_symbol.y > x_7.x_GLF_uniform_float_values[1].el)) { - break; - } - { - i_10 = (i_10 + 1); - } - continue; - } - } - { - i_9 = (i_9 + 1); - } - continue; - } - } - { - i_8 = (i_8 + 1); - } - continue; - } - } - { - i_7 = (i_7 + 1); - } - continue; - } - } - { - i_6 = (i_6 + 1); - } - continue; - } - } - { - i_5 = (i_5 + 1); - } - continue; - } - } - { - i_4 = (i_4 + 1); - } - continue; - } - } - { - i_3 = (i_3 + 1); - } - continue; - } - } - { - i_2 = (i_2 + 1); - } - continue; - } - } - { - i_1 = (i_1 + 1); - } - continue; - } - } - b = (b + 1.0f); - { - i = (i + 1); - } - continue; - } - } - x_GLF_color = vec4(b, a, a, b); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 8f559f3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,265 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_11; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float a = 0.0f; - float b = 0.0f; - int i = 0; - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int i_4 = 0; - int i_5 = 0; - int i_6 = 0; - int i_7 = 0; - int i_8 = 0; - int i_9 = 0; - int i_10 = 0; - float x_104 = x_7.x_GLF_uniform_float_values[0].el; - a = x_104; - float x_106 = x_7.x_GLF_uniform_float_values[1].el; - b = x_106; - int x_24 = x_11.x_GLF_uniform_int_values[1].el; - i = x_24; - { - while(true) { - int x_25 = i; - int x_26 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_25 < x_26)) { - } else { - break; - } - int x_27 = x_11.x_GLF_uniform_int_values[1].el; - i_1 = x_27; - { - while(true) { - int x_28 = i_1; - int x_29 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_28 < x_29)) { - } else { - break; - } - int x_30 = x_11.x_GLF_uniform_int_values[1].el; - i_2 = x_30; - { - while(true) { - int x_31 = i_2; - int x_32 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_31 < x_32)) { - } else { - break; - } - int x_33 = x_11.x_GLF_uniform_int_values[2].el; - i_3 = x_33; - { - while(true) { - int x_34 = i_3; - int x_35 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_34 < x_35)) { - } else { - break; - } - int x_36 = x_11.x_GLF_uniform_int_values[2].el; - i_4 = x_36; - { - while(true) { - int x_37 = i_4; - int x_38 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_37 < x_38)) { - } else { - break; - } - int x_39 = x_11.x_GLF_uniform_int_values[1].el; - i_5 = x_39; - { - while(true) { - int x_40 = i_5; - int x_41 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_40 < x_41)) { - } else { - break; - } - int x_42 = x_11.x_GLF_uniform_int_values[1].el; - i_6 = x_42; - { - while(true) { - int x_43 = i_6; - int x_44 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_43 < x_44)) { - } else { - break; - } - int x_45 = x_11.x_GLF_uniform_int_values[1].el; - i_7 = x_45; - { - while(true) { - int x_46 = i_7; - int x_47 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_46 < x_47)) { - } else { - break; - } - int x_48 = x_11.x_GLF_uniform_int_values[1].el; - i_8 = x_48; - { - while(true) { - int x_49 = i_8; - int x_50 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_49 < x_50)) { - } else { - break; - } - int x_51 = x_11.x_GLF_uniform_int_values[1].el; - i_9 = x_51; - { - while(true) { - int x_52 = i_9; - int x_53 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_52 < x_53)) { - } else { - break; - } - int x_54 = x_11.x_GLF_uniform_int_values[1].el; - i_10 = x_54; - { - while(true) { - int x_55 = i_10; - int x_56 = x_11.x_GLF_uniform_int_values[0].el; - if ((x_55 < x_56)) { - } else { - break; - } - float x_196 = x_7.x_GLF_uniform_float_values[1].el; - a = x_196; - float x_198 = tint_symbol.y; - float x_200 = x_7.x_GLF_uniform_float_values[1].el; - if ((x_198 > x_200)) { - break; - } - { - int x_57 = i_10; - i_10 = (x_57 + 1); - } - continue; - } - } - { - int x_59 = i_9; - i_9 = (x_59 + 1); - } - continue; - } - } - { - int x_61 = i_8; - i_8 = (x_61 + 1); - } - continue; - } - } - { - int x_63 = i_7; - i_7 = (x_63 + 1); - } - continue; - } - } - { - int x_65 = i_6; - i_6 = (x_65 + 1); - } - continue; - } - } - { - int x_67 = i_5; - i_5 = (x_67 + 1); - } - continue; - } - } - { - int x_69 = i_4; - i_4 = (x_69 + 1); - } - continue; - } - } - { - int x_71 = i_3; - i_3 = (x_71 + 1); - } - continue; - } - } - { - int x_73 = i_2; - i_2 = (x_73 + 1); - } - continue; - } - } - { - int x_75 = i_1; - i_1 = (x_75 + 1); - } - continue; - } - } - float x_204 = b; - b = (x_204 + 1.0f); - { - int x_77 = i; - i = (x_77 + 1); - } - continue; - } - } - float x_206 = b; - float x_207 = a; - float x_208 = a; - float x_209 = b; - x_GLF_color = vec4(x_206, x_207, x_208, x_209); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5f2b35b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 values = vec4(0.0f); - vec4 r = vec4(0.0f); - bool x_85 = false; - bool x_86 = false; - bool x_101 = false; - bool x_102 = false; - bool x_117 = false; - bool x_118 = false; - a = 1006648320u; - values = unpackUnorm4x8(a); - r = vec4(x_8.x_GLF_uniform_float_values[3].el, (x_8.x_GLF_uniform_float_values[1].el / x_8.x_GLF_uniform_float_values[0].el), (x_8.x_GLF_uniform_float_values[3].el / x_8.x_GLF_uniform_float_values[0].el), (x_8.x_GLF_uniform_float_values[1].el / x_8.x_GLF_uniform_float_values[0].el)); - float v = abs((values[x_10.x_GLF_uniform_int_values[0].el] - r[x_10.x_GLF_uniform_int_values[0].el])); - bool x_70 = (v < x_8.x_GLF_uniform_float_values[2].el); - x_86 = x_70; - if (x_70) { - float v_1 = abs((values[x_10.x_GLF_uniform_int_values[1].el] - r[x_10.x_GLF_uniform_int_values[1].el])); - x_85 = (v_1 < x_8.x_GLF_uniform_float_values[2].el); - x_86 = x_85; - } - x_102 = x_86; - if (x_86) { - float v_2 = abs((values[x_10.x_GLF_uniform_int_values[3].el] - r[x_10.x_GLF_uniform_int_values[3].el])); - x_101 = (v_2 < x_8.x_GLF_uniform_float_values[2].el); - x_102 = x_101; - } - x_118 = x_102; - if (x_102) { - float v_3 = abs((values[x_10.x_GLF_uniform_int_values[2].el] - r[x_10.x_GLF_uniform_int_values[2].el])); - x_117 = (v_3 < x_8.x_GLF_uniform_float_values[2].el); - x_118 = x_117; - } - if (x_118) { - float v_4 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_5 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_6 = float(x_10.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f738233..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,118 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_8; -uniform buf1 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - uint a = 0u; - vec4 values = vec4(0.0f); - vec4 r = vec4(0.0f); - bool x_85 = false; - bool x_101 = false; - bool x_117 = false; - bool x_86_phi = false; - bool x_102_phi = false; - bool x_118_phi = false; - a = 1006648320u; - uint x_38 = a; - values = unpackUnorm4x8(x_38); - float x_41 = x_8.x_GLF_uniform_float_values[3].el; - float x_43 = x_8.x_GLF_uniform_float_values[1].el; - float x_45 = x_8.x_GLF_uniform_float_values[0].el; - float x_48 = x_8.x_GLF_uniform_float_values[3].el; - float x_50 = x_8.x_GLF_uniform_float_values[0].el; - float x_53 = x_8.x_GLF_uniform_float_values[1].el; - float x_55 = x_8.x_GLF_uniform_float_values[0].el; - r = vec4(x_41, (x_43 / x_45), (x_48 / x_50), (x_53 / x_55)); - int x_59 = x_10.x_GLF_uniform_int_values[0].el; - float x_61 = values[x_59]; - int x_63 = x_10.x_GLF_uniform_int_values[0].el; - float x_65 = r[x_63]; - float x_69 = x_8.x_GLF_uniform_float_values[2].el; - bool x_70 = (abs((x_61 - x_65)) < x_69); - x_86_phi = x_70; - if (x_70) { - int x_74 = x_10.x_GLF_uniform_int_values[1].el; - float x_76 = values[x_74]; - int x_78 = x_10.x_GLF_uniform_int_values[1].el; - float x_80 = r[x_78]; - float x_84 = x_8.x_GLF_uniform_float_values[2].el; - x_85 = (abs((x_76 - x_80)) < x_84); - x_86_phi = x_85; - } - bool x_86 = x_86_phi; - x_102_phi = x_86; - if (x_86) { - int x_90 = x_10.x_GLF_uniform_int_values[3].el; - float x_92 = values[x_90]; - int x_94 = x_10.x_GLF_uniform_int_values[3].el; - float x_96 = r[x_94]; - float x_100 = x_8.x_GLF_uniform_float_values[2].el; - x_101 = (abs((x_92 - x_96)) < x_100); - x_102_phi = x_101; - } - bool x_102 = x_102_phi; - x_118_phi = x_102; - if (x_102) { - int x_106 = x_10.x_GLF_uniform_int_values[2].el; - float x_108 = values[x_106]; - int x_110 = x_10.x_GLF_uniform_int_values[2].el; - float x_112 = r[x_110]; - float x_116 = x_8.x_GLF_uniform_float_values[2].el; - x_117 = (abs((x_108 - x_112)) < x_116); - x_118_phi = x_117; - } - bool x_118 = x_118_phi; - if (x_118) { - int x_123 = x_10.x_GLF_uniform_int_values[1].el; - int x_126 = x_10.x_GLF_uniform_int_values[0].el; - int x_129 = x_10.x_GLF_uniform_int_values[0].el; - int x_132 = x_10.x_GLF_uniform_int_values[1].el; - float v = float(x_123); - float v_1 = float(x_126); - float v_2 = float(x_129); - x_GLF_color = vec4(v, v_1, v_2, float(x_132)); - } else { - int x_136 = x_10.x_GLF_uniform_int_values[0].el; - float x_137 = float(x_136); - x_GLF_color = vec4(x_137, x_137, x_137, x_137); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index a61565d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,48 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_i1_(inout int x) { - if ((x_7.one == 1)) { - int x_39 = x; - return x_39; - } - int x_41 = x_7.one; - return x_41; -} -void main_1() { - int param = 0; - param = -1; - int x_28 = func_i1_(param); - if ((x_28 <= 0)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2da758a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_i1_(inout int x) { - int x_35 = x_7.one; - if ((x_35 == 1)) { - int x_39 = x; - return x_39; - } - int x_41 = x_7.one; - return x_41; -} -void main_1() { - int param = 0; - param = -1; - int x_28 = func_i1_(param); - if ((x_28 <= 0)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0bfb1af..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,86 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_9; -bool continue_execution = true; -void main_1() { - int i = 0; - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - if ((tint_symbol.y < x_9.x_GLF_uniform_float_values[0].el)) { - if ((tint_symbol.x < x_9.x_GLF_uniform_float_values[0].el)) { - return; - } - if ((x_9.x_GLF_uniform_float_values[1].el > x_9.x_GLF_uniform_float_values[1].el)) { - return; - } - continue_execution = false; - } - if ((x_9.x_GLF_uniform_float_values[1].el > x_9.x_GLF_uniform_float_values[0].el)) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - break; - } - if ((x_9.x_GLF_uniform_float_values[0].el < 0.0f)) { - continue_execution = false; - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index abdd454..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,105 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -uniform buf1 x_9; -bool continue_execution = true; -void main_1() { - int i = 0; - int x_37 = x_6.x_GLF_uniform_int_values[1].el; - float x_38 = float(x_37); - x_GLF_color = vec4(x_38, x_38, x_38, x_38); - int x_41 = x_6.x_GLF_uniform_int_values[1].el; - i = x_41; - { - while(true) { - int x_46 = i; - int x_48 = x_6.x_GLF_uniform_int_values[2].el; - if ((x_46 < x_48)) { - } else { - break; - } - float x_52 = tint_symbol.y; - float x_54 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_52 < x_54)) { - float x_59 = tint_symbol.x; - float x_61 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_59 < x_61)) { - return; - } - float x_66 = x_9.x_GLF_uniform_float_values[1].el; - float x_68 = x_9.x_GLF_uniform_float_values[1].el; - if ((x_66 > x_68)) { - return; - } - continue_execution = false; - } - float x_73 = x_9.x_GLF_uniform_float_values[1].el; - float x_75 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_73 > x_75)) { - int x_80 = x_6.x_GLF_uniform_int_values[0].el; - int x_83 = x_6.x_GLF_uniform_int_values[1].el; - int x_86 = x_6.x_GLF_uniform_int_values[1].el; - int x_89 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_80); - float v_1 = float(x_83); - float v_2 = float(x_86); - x_GLF_color = vec4(v, v_1, v_2, float(x_89)); - break; - } - float x_93 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_93 < 0.0f)) { - continue_execution = false; - } - { - int x_97 = i; - i = (x_97 + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c1bd379..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - int zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf2 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - bool x_48 = false; - bool x_49 = false; - f = pow(-(x_6.x_GLF_uniform_float_values[1].el), 1.17520117759704589844f); - bool x_40 = (f == x_6.x_GLF_uniform_float_values[0].el); - x_49 = x_40; - if (!(x_40)) { - x_48 = (x_8.zero == x_10.x_GLF_uniform_int_values[0].el); - x_49 = x_48; - } - if (x_49) { - float v = float(x_10.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_10.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 632cf30..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,80 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - int zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf2 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - bool x_48 = false; - bool x_49_phi = false; - float x_33 = x_6.x_GLF_uniform_float_values[1].el; - f = pow(-(x_33), 1.17520117759704589844f); - float x_37 = f; - float x_39 = x_6.x_GLF_uniform_float_values[0].el; - bool x_40 = (x_37 == x_39); - x_49_phi = x_40; - if (!(x_40)) { - int x_45 = x_8.zero; - int x_47 = x_10.x_GLF_uniform_int_values[0].el; - x_48 = (x_45 == x_47); - x_49_phi = x_48; - } - bool x_49 = x_49_phi; - if (x_49) { - int x_54 = x_10.x_GLF_uniform_int_values[1].el; - int x_57 = x_10.x_GLF_uniform_int_values[0].el; - int x_60 = x_10.x_GLF_uniform_int_values[0].el; - int x_63 = x_10.x_GLF_uniform_int_values[1].el; - float v = float(x_54); - float v_1 = float(x_57); - float v_2 = float(x_60); - x_GLF_color = vec4(v, v_1, v_2, float(x_63)); - } else { - int x_67 = x_10.x_GLF_uniform_int_values[0].el; - float x_68 = float(x_67); - x_GLF_color = vec4(x_68, x_68, x_68, x_68); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f68935e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,69 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct S { - int x; - int y; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void func_struct_S_i1_i11_(inout S arg) { - arg.y = 1; -} -void main_1() { - float a = 0.0f; - S b[2] = S[2](S(0, 0), S(0, 0)); - S param = S(0, 0); - a = 5.0f; - { - while(true) { - int x_43 = x_10.one; - b[x_43].x = 1; - if ((b[1].x == 1)) { - if ((x_10.one == 1)) { - break; - } - param = b[1]; - func_struct_S_i1_i11_(param); - b[1] = param; - a = float(b[1].y); - } - a = 0.0f; - { - if (true) { break; } - } - continue; - } - } - if ((a == 5.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:13: 'float' : type requires declaration of default precision qualifier -ERROR: 0:13: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 6bc5b15..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct S { - int x; - int y; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -void func_struct_S_i1_i11_(inout S arg) { - arg.y = 1; -} -void main_1() { - float a = 0.0f; - S b[2] = S[2](S(0, 0), S(0, 0)); - S param = S(0, 0); - a = 5.0f; - { - while(true) { - int x_43 = x_10.one; - b[x_43].x = 1; - int x_46 = b[1].x; - if ((x_46 == 1)) { - int x_51 = x_10.one; - if ((x_51 == 1)) { - break; - } - S x_56 = b[1]; - param = x_56; - func_struct_S_i1_i11_(param); - S x_58 = param; - b[1] = x_58; - int x_61 = b[1].y; - a = float(x_61); - } - a = 0.0f; - { - if (true) { break; } - } - continue; - } - } - float x_63 = a; - if ((x_63 == 5.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:13: 'float' : type requires declaration of default precision qualifier -ERROR: 0:13: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3eb169a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_v1_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -uniform buf0 x_9; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_v1 = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int i = 0; - int j = 0; - i = x_7.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_7.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((x_9.x_GLF_uniform_float_values[0].el > x_9.x_GLF_uniform_float_values[1].el)) { - continue_execution = false; - } - j = x_7.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((j < x_7.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((tint_symbol.x < x_9.x_GLF_uniform_float_values[0].el)) { - continue_execution = false; - } - float v = float(x_7.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_7.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[1].el); - x_GLF_v1 = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[2].el)); - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_v1); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1fe2308..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,106 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[2]; -}; - -struct main_out { - vec4 x_GLF_v1_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_7; -uniform buf0 x_9; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_v1 = vec4(0.0f); -bool continue_execution = true; -void main_1() { - int i = 0; - int j = 0; - int x_36 = x_7.x_GLF_uniform_int_values[1].el; - i = x_36; - { - while(true) { - int x_41 = i; - int x_43 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_41 < x_43)) { - } else { - break; - } - float x_47 = x_9.x_GLF_uniform_float_values[0].el; - float x_49 = x_9.x_GLF_uniform_float_values[1].el; - if ((x_47 > x_49)) { - continue_execution = false; - } - int x_54 = x_7.x_GLF_uniform_int_values[1].el; - j = x_54; - { - while(true) { - int x_59 = j; - int x_61 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_59 < x_61)) { - } else { - break; - } - float x_65 = tint_symbol.x; - float x_67 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_65 < x_67)) { - continue_execution = false; - } - int x_72 = x_7.x_GLF_uniform_int_values[2].el; - int x_75 = x_7.x_GLF_uniform_int_values[1].el; - int x_78 = x_7.x_GLF_uniform_int_values[1].el; - int x_81 = x_7.x_GLF_uniform_int_values[2].el; - float v = float(x_72); - float v_1 = float(x_75); - float v_2 = float(x_78); - x_GLF_v1 = vec4(v, v_1, v_2, float(x_81)); - { - int x_84 = j; - j = (x_84 + 1); - } - continue; - } - } - { - int x_86 = i; - i = (x_86 + 1); - } - continue; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v_3 = main_out(x_GLF_v1); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index dcf804d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,54 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -void main_1() { - float v = float(x_5.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_5.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el)); - if ((x_5.x_GLF_uniform_int_values[1].el > x_5.x_GLF_uniform_int_values[0].el)) { - { - while(true) { - x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el)); - { - int x_50 = x_5.x_GLF_uniform_int_values[1].el; - int x_52 = x_5.x_GLF_uniform_int_values[0].el; - if (!((x_50 > x_52))) { break; } - } - continue; - } - } - return; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b6df2f1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,62 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -void main_1() { - int x_22 = x_5.x_GLF_uniform_int_values[0].el; - int x_25 = x_5.x_GLF_uniform_int_values[1].el; - int x_28 = x_5.x_GLF_uniform_int_values[1].el; - int x_31 = x_5.x_GLF_uniform_int_values[0].el; - float v = float(x_22); - float v_1 = float(x_25); - float v_2 = float(x_28); - x_GLF_color = vec4(v, v_1, v_2, float(x_31)); - int x_35 = x_5.x_GLF_uniform_int_values[1].el; - int x_37 = x_5.x_GLF_uniform_int_values[0].el; - if ((x_35 > x_37)) { - { - while(true) { - int x_46 = x_5.x_GLF_uniform_int_values[0].el; - float x_47 = float(x_46); - x_GLF_color = vec4(x_47, x_47, x_47, x_47); - { - int x_50 = x_5.x_GLF_uniform_int_values[1].el; - int x_52 = x_5.x_GLF_uniform_int_values[0].el; - if (!((x_50 > x_52))) { break; } - } - continue; - } - } - return; - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index fcb48ca..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,74 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_9; -uniform buf2 x_11; -void main_1() { - int i = 0; - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - i = x_7.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_7.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - if ((i != x_7.x_GLF_uniform_int_values[1].el)) { - return; - } - { - i = (i + 1); - } - continue; - } - } - if ((tint_symbol.y < x_9.x_GLF_uniform_float_values[0].el)) { - return; - } - x_GLF_color = vec4(1.0f, 1.0f, 1.0f, x_11.injectionSwitch.y); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 7863211..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,83 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct buf2 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_7; -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_9; -uniform buf2 x_11; -void main_1() { - int i = 0; - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - int x_42 = x_7.x_GLF_uniform_int_values[1].el; - i = x_42; - { - while(true) { - int x_47 = i; - int x_49 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_47 < x_49)) { - } else { - break; - } - int x_52 = i; - int x_54 = x_7.x_GLF_uniform_int_values[1].el; - if ((x_52 != x_54)) { - return; - } - { - int x_58 = i; - i = (x_58 + 1); - } - continue; - } - } - float x_61 = tint_symbol.y; - float x_63 = x_9.x_GLF_uniform_float_values[0].el; - if ((x_61 < x_63)) { - return; - } - float x_68 = x_11.injectionSwitch.y; - x_GLF_color = vec4(1.0f, 1.0f, 1.0f, x_68); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 766b4dd..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_11; -vec2 func_() { - vec2 v = vec2(0.0f); - int a = 0; - vec2 indexable[3] = vec2[3](vec2(0.0f), vec2(0.0f), vec2(0.0f)); - v[1u] = x_7.x_GLF_uniform_float_values[0].el; - a = 2; - int x_77 = a; - vec2 v_1 = vec2(x_7.x_GLF_uniform_float_values[1].el); - vec2 v_2 = vec2(x_7.x_GLF_uniform_float_values[1].el); - indexable = vec2[3](v_1, v_2, v); - vec2 x_79 = indexable[x_77]; - return x_79; -} -void main_1() { - vec2 x_40 = func_(); - if ((x_40[1u] == x_7.x_GLF_uniform_float_values[0].el)) { - float v_3 = float(x_11.x_GLF_uniform_int_values[0].el); - float v_4 = float(x_11.x_GLF_uniform_int_values[1].el); - float v_5 = float(x_11.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_3, v_4, v_5, float(x_11.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c1bec17..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_11; -vec2 func_() { - vec2 v = vec2(0.0f); - int a = 0; - vec2 indexable[3] = vec2[3](vec2(0.0f), vec2(0.0f), vec2(0.0f)); - float x_67 = x_7.x_GLF_uniform_float_values[0].el; - v[1u] = x_67; - a = 2; - float x_70 = x_7.x_GLF_uniform_float_values[1].el; - float x_73 = x_7.x_GLF_uniform_float_values[1].el; - vec2 x_75 = v; - int x_77 = a; - vec2 v_1 = vec2(x_70, x_70); - indexable = vec2[3](v_1, vec2(x_73, x_73), x_75); - vec2 x_79 = indexable[x_77]; - return x_79; -} -void main_1() { - vec2 x_40 = func_(); - float x_43 = x_7.x_GLF_uniform_float_values[0].el; - if ((x_40[1u] == x_43)) { - int x_49 = x_11.x_GLF_uniform_int_values[0].el; - int x_52 = x_11.x_GLF_uniform_int_values[1].el; - int x_55 = x_11.x_GLF_uniform_int_values[1].el; - int x_58 = x_11.x_GLF_uniform_int_values[0].el; - float v_2 = float(x_49); - float v_3 = float(x_52); - float v_4 = float(x_55); - x_GLF_color = vec4(v_2, v_3, v_4, float(x_58)); - } else { - int x_62 = x_11.x_GLF_uniform_int_values[1].el; - float x_63 = float(x_62); - x_GLF_color = vec4(x_63, x_63, x_63, x_63); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d70a51e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,208 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[7]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[2] = float[2](0.0f, 0.0f); - int a = 0; - int b = 0; - int c = 0; - int d = 0; - int e = 0; - int f = 0; - int g = 0; - int h = 0; - int i = 0; - int j = 0; - bool x_215 = false; - bool x_216 = false; - int x_20 = x_6.x_GLF_uniform_int_values[1].el; - sums[x_20] = x_8.x_GLF_uniform_float_values[0].el; - int x_22 = x_6.x_GLF_uniform_int_values[2].el; - sums[x_22] = x_8.x_GLF_uniform_float_values[0].el; - a = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((a < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - b = x_6.x_GLF_uniform_int_values[5].el; - { - while(true) { - if ((b < x_6.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - c = x_6.x_GLF_uniform_int_values[6].el; - { - while(true) { - if ((c <= x_6.x_GLF_uniform_int_values[4].el)) { - } else { - break; - } - d = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((d < x_6.x_GLF_uniform_int_values[6].el)) { - } else { - break; - } - e = x_6.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((e <= x_6.x_GLF_uniform_int_values[4].el)) { - } else { - break; - } - f = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((f < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - g = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((g < x_6.x_GLF_uniform_int_values[6].el)) { - } else { - break; - } - h = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((h < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[4].el)) { - } else { - break; - } - j = x_6.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((j > x_6.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - int x_53 = a; - sums[x_53] = (sums[a] + x_8.x_GLF_uniform_float_values[2].el); - { - j = (j - 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - { - h = (h + 1); - } - continue; - } - } - { - g = (g + 1); - } - continue; - } - } - { - f = (f + 1); - } - continue; - } - } - { - e = (e + 1); - } - continue; - } - } - { - d = (d + 1); - } - continue; - } - } - { - c = (c + 1); - } - continue; - } - } - { - b = (b + 1); - } - continue; - } - } - { - a = (a + 1); - } - continue; - } - } - bool x_207 = (sums[x_6.x_GLF_uniform_int_values[1].el] == x_8.x_GLF_uniform_float_values[1].el); - x_216 = x_207; - if (x_207) { - x_215 = (sums[x_6.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_float_values[1].el); - x_216 = x_215; - } - if (x_216) { - float v = float(x_6.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el)); - } else { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 0d5485a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,265 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[7]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float sums[2] = float[2](0.0f, 0.0f); - int a = 0; - int b = 0; - int c = 0; - int d = 0; - int e = 0; - int f = 0; - int g = 0; - int h = 0; - int i = 0; - int j = 0; - bool x_215 = false; - bool x_216_phi = false; - int x_20 = x_6.x_GLF_uniform_int_values[1].el; - float x_110 = x_8.x_GLF_uniform_float_values[0].el; - sums[x_20] = x_110; - int x_22 = x_6.x_GLF_uniform_int_values[2].el; - float x_114 = x_8.x_GLF_uniform_float_values[0].el; - sums[x_22] = x_114; - int x_23 = x_6.x_GLF_uniform_int_values[1].el; - a = x_23; - { - while(true) { - int x_24 = a; - int x_25 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_24 < x_25)) { - } else { - break; - } - int x_26 = x_6.x_GLF_uniform_int_values[5].el; - b = x_26; - { - while(true) { - int x_27 = b; - int x_28 = x_6.x_GLF_uniform_int_values[3].el; - if ((x_27 < x_28)) { - } else { - break; - } - int x_29 = x_6.x_GLF_uniform_int_values[6].el; - c = x_29; - { - while(true) { - int x_30 = c; - int x_31 = x_6.x_GLF_uniform_int_values[4].el; - if ((x_30 <= x_31)) { - } else { - break; - } - int x_32 = x_6.x_GLF_uniform_int_values[1].el; - d = x_32; - { - while(true) { - int x_33 = d; - int x_34 = x_6.x_GLF_uniform_int_values[6].el; - if ((x_33 < x_34)) { - } else { - break; - } - int x_35 = x_6.x_GLF_uniform_int_values[0].el; - e = x_35; - { - while(true) { - int x_36 = e; - int x_37 = x_6.x_GLF_uniform_int_values[4].el; - if ((x_36 <= x_37)) { - } else { - break; - } - int x_38 = x_6.x_GLF_uniform_int_values[1].el; - f = x_38; - { - while(true) { - int x_39 = f; - int x_40 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_39 < x_40)) { - } else { - break; - } - int x_41 = x_6.x_GLF_uniform_int_values[1].el; - g = x_41; - { - while(true) { - int x_42 = g; - int x_43 = x_6.x_GLF_uniform_int_values[6].el; - if ((x_42 < x_43)) { - } else { - break; - } - int x_44 = x_6.x_GLF_uniform_int_values[1].el; - h = x_44; - { - while(true) { - int x_45 = h; - int x_46 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_45 < x_46)) { - } else { - break; - } - int x_47 = x_6.x_GLF_uniform_int_values[1].el; - i = x_47; - { - while(true) { - int x_48 = i; - int x_49 = x_6.x_GLF_uniform_int_values[4].el; - if ((x_48 < x_49)) { - } else { - break; - } - int x_50 = x_6.x_GLF_uniform_int_values[0].el; - j = x_50; - { - while(true) { - int x_51 = j; - int x_52 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_51 > x_52)) { - } else { - break; - } - int x_53 = a; - float x_197 = x_8.x_GLF_uniform_float_values[2].el; - float x_199 = sums[x_53]; - sums[x_53] = (x_199 + x_197); - { - int x_54 = j; - j = (x_54 - 1); - } - continue; - } - } - { - int x_56 = i; - i = (x_56 + 1); - } - continue; - } - } - { - int x_58 = h; - h = (x_58 + 1); - } - continue; - } - } - { - int x_60 = g; - g = (x_60 + 1); - } - continue; - } - } - { - int x_62 = f; - f = (x_62 + 1); - } - continue; - } - } - { - int x_64 = e; - e = (x_64 + 1); - } - continue; - } - } - { - int x_66 = d; - d = (x_66 + 1); - } - continue; - } - } - { - int x_68 = c; - c = (x_68 + 1); - } - continue; - } - } - { - int x_70 = b; - b = (x_70 + 1); - } - continue; - } - } - { - int x_72 = a; - a = (x_72 + 1); - } - continue; - } - } - int x_74 = x_6.x_GLF_uniform_int_values[1].el; - float x_204 = sums[x_74]; - float x_206 = x_8.x_GLF_uniform_float_values[1].el; - bool x_207 = (x_204 == x_206); - x_216_phi = x_207; - if (x_207) { - int x_75 = x_6.x_GLF_uniform_int_values[2].el; - float x_212 = sums[x_75]; - float x_214 = x_8.x_GLF_uniform_float_values[1].el; - x_215 = (x_212 == x_214); - x_216_phi = x_215; - } - bool x_216 = x_216_phi; - if (x_216) { - int x_76 = x_6.x_GLF_uniform_int_values[2].el; - int x_77 = x_6.x_GLF_uniform_int_values[1].el; - int x_78 = x_6.x_GLF_uniform_int_values[1].el; - int x_79 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_76); - float v_1 = float(x_77); - float v_2 = float(x_78); - x_GLF_color = vec4(v, v_1, v_2, float(x_79)); - } else { - int x_80 = x_6.x_GLF_uniform_int_values[1].el; - float x_230 = float(x_80); - x_GLF_color = vec4(x_230, x_230, x_230, x_230); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 104549e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,189 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i0 = 0; - int i1 = 0; - int i2 = 0; - int i3 = 0; - int i4 = 0; - int i5 = 0; - int i6 = 0; - int i7 = 0; - int i8_1 = 0; - int i9 = 0; - a = 0; - i0 = 0; - { - while(true) { - if ((i0 < x_7.one)) { - } else { - break; - } - i1 = 0; - { - while(true) { - if ((i1 < x_7.one)) { - } else { - break; - } - i2 = 0; - { - while(true) { - if ((i2 < x_7.one)) { - } else { - break; - } - i3 = 0; - { - while(true) { - if ((i3 < (x_7.one + 2))) { - } else { - break; - } - i4 = 0; - { - while(true) { - if ((i4 < x_7.one)) { - } else { - break; - } - i5 = 0; - { - while(true) { - if ((i5 < x_7.one)) { - } else { - break; - } - { - while(true) { - if ((x_7.one > 0)) { - } else { - break; - } - i6 = 0; - { - while(true) { - if ((i6 < x_7.one)) { - } else { - break; - } - i7 = 0; - { - while(true) { - if ((i7 < x_7.one)) { - } else { - break; - } - i8_1 = 0; - { - while(true) { - if ((i8_1 < x_7.one)) { - } else { - break; - } - i9 = 0; - { - while(true) { - if ((i9 < x_7.one)) { - } else { - break; - } - a = (a + 1); - { - i9 = (i9 + 1); - } - continue; - } - } - { - i8_1 = (i8_1 + 1); - } - continue; - } - } - { - i7 = (i7 + 1); - } - continue; - } - } - { - i6 = (i6 + 1); - } - continue; - } - } - break; - } - } - { - i5 = (i5 + 1); - } - continue; - } - } - { - i4 = (i4 + 1); - } - continue; - } - } - { - i3 = (i3 + 1); - } - continue; - } - } - { - i2 = (i2 + 1); - } - continue; - } - } - { - i1 = (i1 + 1); - } - continue; - } - } - { - i0 = (i0 + 1); - } - continue; - } - } - if ((a == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e85a2a6..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,222 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i0 = 0; - int i1 = 0; - int i2 = 0; - int i3 = 0; - int i4 = 0; - int i5 = 0; - int i6 = 0; - int i7 = 0; - int i8_1 = 0; - int i9 = 0; - a = 0; - i0 = 0; - { - while(true) { - int x_40 = i0; - int x_42 = x_7.one; - if ((x_40 < x_42)) { - } else { - break; - } - i1 = 0; - { - while(true) { - int x_49 = i1; - int x_51 = x_7.one; - if ((x_49 < x_51)) { - } else { - break; - } - i2 = 0; - { - while(true) { - int x_58 = i2; - int x_60 = x_7.one; - if ((x_58 < x_60)) { - } else { - break; - } - i3 = 0; - { - while(true) { - int x_67 = i3; - int x_69 = x_7.one; - if ((x_67 < (x_69 + 2))) { - } else { - break; - } - i4 = 0; - { - while(true) { - int x_77 = i4; - int x_79 = x_7.one; - if ((x_77 < x_79)) { - } else { - break; - } - i5 = 0; - { - while(true) { - int x_86 = i5; - int x_88 = x_7.one; - if ((x_86 < x_88)) { - } else { - break; - } - { - while(true) { - int x_96 = x_7.one; - if ((x_96 > 0)) { - } else { - break; - } - i6 = 0; - { - while(true) { - int x_103 = i6; - int x_105 = x_7.one; - if ((x_103 < x_105)) { - } else { - break; - } - i7 = 0; - { - while(true) { - int x_112 = i7; - int x_114 = x_7.one; - if ((x_112 < x_114)) { - } else { - break; - } - i8_1 = 0; - { - while(true) { - int x_121 = i8_1; - int x_123 = x_7.one; - if ((x_121 < x_123)) { - } else { - break; - } - i9 = 0; - { - while(true) { - int x_130 = i9; - int x_132 = x_7.one; - if ((x_130 < x_132)) { - } else { - break; - } - int x_135 = a; - a = (x_135 + 1); - { - int x_137 = i9; - i9 = (x_137 + 1); - } - continue; - } - } - { - int x_139 = i8_1; - i8_1 = (x_139 + 1); - } - continue; - } - } - { - int x_141 = i7; - i7 = (x_141 + 1); - } - continue; - } - } - { - int x_143 = i6; - i6 = (x_143 + 1); - } - continue; - } - } - break; - } - } - { - int x_145 = i5; - i5 = (x_145 + 1); - } - continue; - } - } - { - int x_147 = i4; - i4 = (x_147 + 1); - } - continue; - } - } - { - int x_149 = i3; - i3 = (x_149 + 1); - } - continue; - } - } - { - int x_151 = i2; - i2 = (x_151 + 1); - } - continue; - } - } - { - int x_153 = i1; - i1 = (x_153 + 1); - } - continue; - } - } - { - int x_155 = i0; - i0 = (x_155 + 1); - } - continue; - } - } - int x_157 = a; - if ((x_157 == 3)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index dc42b48..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,44 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - vec4 v = vec4(0.0f); - float v_1 = float(x_5.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_5.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_5.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_5.x_GLF_uniform_int_values[0].el)); - v = x_GLF_color; - x_GLF_color = vec4(0.0f); - x_GLF_color = v; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1cc55ee..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - vec4 v = vec4(0.0f); - int x_25 = x_5.x_GLF_uniform_int_values[0].el; - int x_28 = x_5.x_GLF_uniform_int_values[1].el; - int x_31 = x_5.x_GLF_uniform_int_values[1].el; - int x_34 = x_5.x_GLF_uniform_int_values[0].el; - float v_1 = float(x_25); - float v_2 = float(x_28); - float v_3 = float(x_31); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_34)); - vec4 x_37 = x_GLF_color; - v = x_37; - x_GLF_color = vec4(0.0f); - vec4 x_38 = v; - x_GLF_color = x_38; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 437a6b7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int c = 0; - int i = 0; - c = x_6.x_GLF_uniform_int_values[2].el; - i = x_6.x_GLF_uniform_int_values[2].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - c = ~(i); - c = min(max(c, 0), 3); - { - i = (i + 1); - } - continue; - } - } - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - if ((c == x_6.x_GLF_uniform_int_values[1].el)) { - float v = float(x_6.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2ec6c59..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,76 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int c = 0; - int i = 0; - int x_27 = x_6.x_GLF_uniform_int_values[2].el; - c = x_27; - int x_29 = x_6.x_GLF_uniform_int_values[2].el; - i = x_29; - { - while(true) { - int x_34 = i; - int x_36 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_34 < x_36)) { - } else { - break; - } - int x_39 = i; - c = ~(x_39); - int x_41 = c; - c = min(max(x_41, 0), 3); - { - int x_43 = i; - i = (x_43 + 1); - } - continue; - } - } - int x_46 = x_6.x_GLF_uniform_int_values[1].el; - float x_47 = float(x_46); - x_GLF_color = vec4(x_47, x_47, x_47, x_47); - int x_49 = c; - int x_51 = x_6.x_GLF_uniform_int_values[1].el; - if ((x_49 == x_51)) { - int x_56 = x_6.x_GLF_uniform_int_values[2].el; - int x_59 = x_6.x_GLF_uniform_int_values[1].el; - int x_62 = x_6.x_GLF_uniform_int_values[1].el; - int x_65 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_56); - float v_1 = float(x_59); - float v_2 = float(x_62); - x_GLF_color = vec4(v, v_1, v_2, float(x_65)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 33ec202..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,53 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_7; -void main_1() { - if ((x_5.v1.x < x_5.v1.y)) { - float v = float(x_7.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_7.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[0].el)); - if ((x_5.v1.x > x_5.v1.y)) { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el)); - } - return; - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2391f36..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,65 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_5; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_7; -void main_1() { - float x_29 = x_5.v1.x; - float x_31 = x_5.v1.y; - if ((x_29 < x_31)) { - int x_37 = x_7.x_GLF_uniform_int_values[0].el; - int x_40 = x_7.x_GLF_uniform_int_values[1].el; - int x_43 = x_7.x_GLF_uniform_int_values[1].el; - int x_46 = x_7.x_GLF_uniform_int_values[0].el; - float v = float(x_37); - float v_1 = float(x_40); - float v_2 = float(x_43); - x_GLF_color = vec4(v, v_1, v_2, float(x_46)); - float x_50 = x_5.v1.x; - float x_52 = x_5.v1.y; - if ((x_50 > x_52)) { - int x_57 = x_7.x_GLF_uniform_int_values[0].el; - float x_58 = float(x_57); - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - } - return; - } else { - int x_61 = x_7.x_GLF_uniform_int_values[1].el; - float x_62 = float(x_61); - x_GLF_color = vec4(x_62, x_62, x_62, x_62); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index ea9cf52..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,46 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool x_29 = false; - bool x_30 = false; - x_GLF_color = vec4(0.0f); - bool x_24 = (x_5.one < 0.0f); - x_30 = x_24; - if (x_24) { - x_29 = (x_5.one < 0.0f); - x_30 = x_29; - } - if (x_30) { - x_GLF_color = vec4(1.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 89869c1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,49 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_5; -void main_1() { - bool x_29 = false; - bool x_30_phi = false; - x_GLF_color = vec4(0.0f); - float x_23 = x_5.one; - bool x_24 = (x_23 < 0.0f); - x_30_phi = x_24; - if (x_24) { - float x_28 = x_5.one; - x_29 = (x_28 < 0.0f); - x_30_phi = x_29; - } - bool x_30 = x_30_phi; - if (x_30) { - x_GLF_color = vec4(1.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 1ffb718..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,88 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct S { - int arr[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -int func_struct_S_i1_2_1_i1_(inout S s, inout int x) { - s.arr[1] = (x + 1); - if ((s.arr[x_9.one] == x)) { - return -1; - } - int x_21 = x; - return x_21; -} -void main_1() { - int a = 0; - int i = 0; - int j = 0; - S s_1 = S(int[2](0, 0)); - S param = S(int[2](0, 0)); - int param_1 = 0; - a = 0; - i = 0; - { - while(true) { - if ((i < (2 + x_9.one))) { - } else { - break; - } - j = 0; - { - while(true) { - if ((j < (3 + x_9.one))) { - } else { - break; - } - int x_28 = i; - int x_29 = j; - param = s_1; - param_1 = (x_28 + x_29); - int x_31 = func_struct_S_i1_2_1_i1_(param, param_1); - a = (a + x_31); - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - if ((a == 30)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d582fc1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,101 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct S { - int arr[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -int func_struct_S_i1_2_1_i1_(inout S s, inout int x) { - int x_16 = x; - s.arr[1] = (x_16 + 1); - int x_18 = x_9.one; - int x_19 = s.arr[x_18]; - int x_20 = x; - if ((x_19 == x_20)) { - return -1; - } - int x_21 = x; - return x_21; -} -void main_1() { - int a = 0; - int i = 0; - int j = 0; - S s_1 = S(int[2](0, 0)); - S param = S(int[2](0, 0)); - int param_1 = 0; - a = 0; - i = 0; - { - while(true) { - int x_22 = i; - int x_23 = x_9.one; - if ((x_22 < (2 + x_23))) { - } else { - break; - } - j = 0; - { - while(true) { - int x_25 = j; - int x_26 = x_9.one; - if ((x_25 < (3 + x_26))) { - } else { - break; - } - int x_28 = i; - int x_29 = j; - S x_79 = s_1; - param = x_79; - param_1 = (x_28 + x_29); - int x_31 = func_struct_S_i1_2_1_i1_(param, param_1); - int x_32 = a; - a = (x_32 + x_31); - { - int x_34 = j; - j = (x_34 + 1); - } - continue; - } - } - { - int x_36 = i; - i = (x_36 + 1); - } - continue; - } - } - int x_38 = a; - if ((x_38 == 30)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9935b02..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct buf1 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -uniform buf1 x_9; -void main_1() { - int i = 0; - vec4 v = vec4(0.0f); - x_GLF_color = vec4(0.0f); - i = 0; - { - while(true) { - if ((i < x_6.one)) { - } else { - break; - } - { - while(true) { - if ((x_6.one == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } - { - if (true) { break; } - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - v[1u] = float(x_9.zero); - x_GLF_color[1u] = v.y; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 0797c79..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,72 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct buf1 { - int zero; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -uniform buf1 x_9; -void main_1() { - int i = 0; - vec4 v = vec4(0.0f); - x_GLF_color = vec4(0.0f); - i = 0; - { - while(true) { - int x_38 = i; - int x_40 = x_6.one; - if ((x_38 < x_40)) { - } else { - break; - } - { - while(true) { - int x_48 = x_6.one; - if ((x_48 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } - { - if (true) { break; } - } - continue; - } - } - { - int x_52 = i; - i = (x_52 + 1); - } - continue; - } - } - int x_55 = x_9.zero; - v[1u] = float(x_55); - float x_59 = v.y; - x_GLF_color[1u] = x_59; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0c2edf0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - ivec4 sequence; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - ivec4 a = ivec4(0); - int i = 0; - int sum = 0; - a = ivec4(0); - i = 0; - { - while(true) { - if ((i < (x_7.sequence.w + 1))) { - } else { - break; - } - int v = i; - if ((x_7.sequence[min(max(i, x_7.sequence.x), v)] == 1)) { - int x_57 = i; - a[x_57] = 5; - } else { - int x_59 = i; - a[x_59] = i; - } - { - i = (i + 1); - } - continue; - } - } - sum = (((a.x + a.y) + a.z) + a.w); - if ((sum == 10)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index a039460..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,75 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - ivec4 sequence; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - ivec4 a = ivec4(0); - int i = 0; - int sum = 0; - a = ivec4(0); - i = 0; - { - while(true) { - int x_40 = i; - int x_42 = x_7.sequence.w; - if ((x_40 < (x_42 + 1))) { - } else { - break; - } - int x_46 = i; - int x_48 = x_7.sequence.x; - int x_49 = i; - int x_52 = x_7.sequence[min(max(x_46, x_48), x_49)]; - if ((x_52 == 1)) { - int x_57 = i; - a[x_57] = 5; - } else { - int x_59 = i; - int x_60 = i; - a[x_59] = x_60; - } - { - int x_62 = i; - i = (x_62 + 1); - } - continue; - } - } - int x_65 = a.x; - int x_67 = a.y; - int x_70 = a.z; - int x_73 = a.w; - sum = (((x_65 + x_67) + x_70) + x_73); - int x_75 = sum; - if ((x_75 == 10)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3baca57..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int v = x_6.x_GLF_uniform_int_values[0].el; - a = max(v, max(x_6.x_GLF_uniform_int_values[0].el, 1)); - if ((a == x_6.x_GLF_uniform_int_values[0].el)) { - float v_1 = float(a); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(a)); - } else { - x_GLF_color = vec4(float(a)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 23e75c8..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int x_24 = x_6.x_GLF_uniform_int_values[0].el; - int x_26 = x_6.x_GLF_uniform_int_values[0].el; - a = max(x_24, max(x_26, 1)); - int x_29 = a; - int x_31 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_29 == x_31)) { - int x_36 = a; - int x_39 = x_6.x_GLF_uniform_int_values[1].el; - int x_42 = x_6.x_GLF_uniform_int_values[1].el; - int x_44 = a; - float v = float(x_36); - float v_1 = float(x_39); - float v_2 = float(x_42); - x_GLF_color = vec4(v, v_1, v_2, float(x_44)); - } else { - int x_47 = a; - float x_48 = float(x_47); - x_GLF_color = vec4(x_48, x_48, x_48, x_48); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 4ece761..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - a = x_6.x_GLF_uniform_int_values[1].el; - i = -(x_6.x_GLF_uniform_int_values[0].el); - { - while(true) { - if (((i | x_6.x_GLF_uniform_int_values[0].el) < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - a = (i * x_6.x_GLF_uniform_int_values[0].el); - { - i = (i + 1); - } - continue; - } - } - if ((a == -(x_6.x_GLF_uniform_int_values[0].el))) { - float v = float(x_6.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(a)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 4828671..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,77 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int i = 0; - int x_25 = x_6.x_GLF_uniform_int_values[1].el; - a = x_25; - int x_27 = x_6.x_GLF_uniform_int_values[0].el; - i = -(x_27); - { - while(true) { - int x_33 = i; - int x_35 = x_6.x_GLF_uniform_int_values[0].el; - int x_38 = x_6.x_GLF_uniform_int_values[0].el; - if (((x_33 | x_35) < x_38)) { - } else { - break; - } - int x_41 = i; - int x_43 = x_6.x_GLF_uniform_int_values[0].el; - a = (x_41 * x_43); - { - int x_45 = i; - i = (x_45 + 1); - } - continue; - } - } - int x_47 = a; - int x_49 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_47 == -(x_49))) { - int x_56 = x_6.x_GLF_uniform_int_values[0].el; - int x_59 = x_6.x_GLF_uniform_int_values[1].el; - int x_62 = x_6.x_GLF_uniform_int_values[1].el; - int x_65 = x_6.x_GLF_uniform_int_values[0].el; - float v = float(x_56); - float v_1 = float(x_59); - float v_2 = float(x_62); - x_GLF_color = vec4(v, v_1, v_2, float(x_65)); - } else { - int x_68 = a; - float x_69 = float(x_68); - x_GLF_color = vec4(x_69, x_69, x_69, x_69); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 9d43cf9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - f = ldexp(x_6.three, 0); - if ((f == 3.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 006398f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,41 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float f = 0.0f; - float x_25 = x_6.three; - f = ldexp(x_25, 0); - float x_27 = f; - if ((x_27 == 3.0f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e81ffde..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,88 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int A[4] = int[4](0, 0, 0, 0); - bool x_77 = false; - bool x_78 = false; - bool x_87 = false; - bool x_88 = false; - bool x_97 = false; - bool x_98 = false; - i = x_6.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[4].el)) { - } else { - break; - } - int x_43 = i; - A[x_43] = x_6.x_GLF_uniform_int_values[0].el; - int v = max((2 * i), (2 * x_6.x_GLF_uniform_int_values[3].el)); - if ((v == x_6.x_GLF_uniform_int_values[1].el)) { - int x_58 = i; - A[x_58] = 1; - } - { - i = (i + 1); - } - continue; - } - } - bool x_68 = (A[x_6.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_int_values[3].el); - x_78 = x_68; - if (x_68) { - x_77 = (A[x_6.x_GLF_uniform_int_values[3].el] == x_6.x_GLF_uniform_int_values[3].el); - x_78 = x_77; - } - x_88 = x_78; - if (x_78) { - x_87 = (A[x_6.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_int_values[0].el); - x_88 = x_87; - } - x_98 = x_88; - if (x_88) { - x_97 = (A[x_6.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_int_values[0].el); - x_98 = x_97; - } - if (x_98) { - float v_1 = float(x_6.x_GLF_uniform_int_values[3].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[3].el)); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2589d77..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,114 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int A[4] = int[4](0, 0, 0, 0); - bool x_77 = false; - bool x_87 = false; - bool x_97 = false; - bool x_78_phi = false; - bool x_88_phi = false; - bool x_98_phi = false; - int x_33 = x_6.x_GLF_uniform_int_values[0].el; - i = x_33; - { - while(true) { - int x_38 = i; - int x_40 = x_6.x_GLF_uniform_int_values[4].el; - if ((x_38 < x_40)) { - } else { - break; - } - int x_43 = i; - int x_45 = x_6.x_GLF_uniform_int_values[0].el; - A[x_43] = x_45; - int x_47 = i; - int x_50 = x_6.x_GLF_uniform_int_values[3].el; - int x_54 = x_6.x_GLF_uniform_int_values[1].el; - if ((max((2 * x_47), (2 * x_50)) == x_54)) { - int x_58 = i; - A[x_58] = 1; - } - { - int x_60 = i; - i = (x_60 + 1); - } - continue; - } - } - int x_63 = x_6.x_GLF_uniform_int_values[0].el; - int x_65 = A[x_63]; - int x_67 = x_6.x_GLF_uniform_int_values[3].el; - bool x_68 = (x_65 == x_67); - x_78_phi = x_68; - if (x_68) { - int x_72 = x_6.x_GLF_uniform_int_values[3].el; - int x_74 = A[x_72]; - int x_76 = x_6.x_GLF_uniform_int_values[3].el; - x_77 = (x_74 == x_76); - x_78_phi = x_77; - } - bool x_78 = x_78_phi; - x_88_phi = x_78; - if (x_78) { - int x_82 = x_6.x_GLF_uniform_int_values[1].el; - int x_84 = A[x_82]; - int x_86 = x_6.x_GLF_uniform_int_values[0].el; - x_87 = (x_84 == x_86); - x_88_phi = x_87; - } - bool x_88 = x_88_phi; - x_98_phi = x_88; - if (x_88) { - int x_92 = x_6.x_GLF_uniform_int_values[2].el; - int x_94 = A[x_92]; - int x_96 = x_6.x_GLF_uniform_int_values[0].el; - x_97 = (x_94 == x_96); - x_98_phi = x_97; - } - bool x_98 = x_98_phi; - if (x_98) { - int x_103 = x_6.x_GLF_uniform_int_values[3].el; - int x_106 = x_6.x_GLF_uniform_int_values[0].el; - int x_109 = x_6.x_GLF_uniform_int_values[0].el; - int x_112 = x_6.x_GLF_uniform_int_values[3].el; - float v = float(x_103); - float v_1 = float(x_106); - float v_2 = float(x_109); - x_GLF_color = vec4(v, v_1, v_2, float(x_112)); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b114721..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,56 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - float x_30 = x_6.x_GLF_uniform_float_values[0].el; - a = (x_30 - (1.0f * floor((x_30 / 1.0f)))); - if ((a == x_6.x_GLF_uniform_float_values[0].el)) { - float v = float(x_8.x_GLF_uniform_int_values[0].el); - float v_1 = a; - float v_2 = a; - x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(a); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index b56ffb3..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_8; -void main_1() { - float a = 0.0f; - float x_30 = x_6.x_GLF_uniform_float_values[0].el; - a = (x_30 - (1.0f * floor((x_30 / 1.0f)))); - float x_32 = a; - float x_34 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_32 == x_34)) { - int x_40 = x_8.x_GLF_uniform_int_values[0].el; - float x_42 = a; - float x_43 = a; - int x_45 = x_8.x_GLF_uniform_int_values[0].el; - float v = float(x_40); - x_GLF_color = vec4(v, x_42, x_43, float(x_45)); - } else { - float x_48 = a; - x_GLF_color = vec4(x_48, x_48, x_48, x_48); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 13caa40..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,46 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v = vec4(0.0f); - vec4 res = vec4(0.0f); - v = vec4(8.3999996185302734375f, -864.66497802734375f, 945.41998291015625f, 1.0f); - float x_31 = x_7.one; - vec4 v_1 = vec4(x_31, 0.0f, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, x_31, 0.0f, 0.0f); - vec4 v_3 = vec4(0.0f, 0.0f, x_31, 0.0f); - mat4 v_4 = mat4(v_1, v_2, v_3, vec4(0.0f, 0.0f, 0.0f, x_31)); - res = (v_4 * v); - if ((distance(v, res) < 0.00999999977648258209f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c8a4370..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,48 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - float one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 v = vec4(0.0f); - vec4 res = vec4(0.0f); - v = vec4(8.3999996185302734375f, -864.66497802734375f, 945.41998291015625f, 1.0f); - float x_31 = x_7.one; - vec4 x_37 = v; - vec4 v_1 = vec4(x_31, 0.0f, 0.0f, 0.0f); - vec4 v_2 = vec4(0.0f, x_31, 0.0f, 0.0f); - vec4 v_3 = vec4(0.0f, 0.0f, x_31, 0.0f); - res = (mat4(v_1, v_2, v_3, vec4(0.0f, 0.0f, 0.0f, x_31)) * x_37); - vec4 x_39 = v; - vec4 x_40 = res; - if ((distance(x_39, x_40) < 0.00999999977648258209f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl deleted file mode 100644 index 0439b55..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_36 = false; - bool x_37 = false; - bool x_30 = (x_6.three > 1); - x_37 = x_30; - if (x_30) { - x_36 = !((tint_symbol.y < -5.0f)); - x_37 = x_36; - } - if (x_37) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl deleted file mode 100644 index 4d30c64..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int three; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_36 = false; - bool x_37_phi = false; - int x_29 = x_6.three; - bool x_30 = (x_29 > 1); - x_37_phi = x_30; - if (x_30) { - float x_34 = tint_symbol.y; - x_36 = !((x_34 < -5.0f)); - x_37_phi = x_36; - } - bool x_37 = x_37_phi; - if (x_37) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl deleted file mode 100644 index 4788b68..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,45 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_31 = false; - bool x_32 = false; - bool x_26 = true; - x_32 = x_26; - if (!(x_26)) { - x_31 = (x_5.one == 1); - x_32 = x_31; - } - if (x_32) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl deleted file mode 100644 index 9398b66..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,47 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - bool x_31 = false; - bool x_32_phi = false; - bool x_26 = true; - x_32_phi = x_26; - if (!(x_26)) { - int x_6 = x_5.one; - x_31 = (x_6 == 1); - x_32_phi = x_31; - } - bool x_32 = x_32_phi; - if (x_32) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 2b6f287..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,80 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -int f1_vf2_(inout vec2 v1) { - bool x_99 = false; - bool x_100 = false; - bool x_92 = (v1.x == x_7.x_GLF_uniform_float_values[0].el); - x_100 = x_92; - if (x_92) { - x_99 = (v1.y == x_7.x_GLF_uniform_float_values[1].el); - x_100 = x_99; - } - if (x_100) { - int x_104 = x_9.x_GLF_uniform_int_values[1].el; - return x_104; - } - int x_106 = x_9.x_GLF_uniform_int_values[0].el; - return x_106; -} -void main_1() { - mat2 m1 = mat2(vec2(0.0f), vec2(0.0f)); - mat2 m2 = mat2(vec2(0.0f), vec2(0.0f)); - vec2 v1_1 = vec2(0.0f); - int a = 0; - vec2 param = vec2(0.0f); - vec2 v = vec2(x_7.x_GLF_uniform_float_values[0].el, -(x_7.x_GLF_uniform_float_values[1].el)); - float v_1 = x_7.x_GLF_uniform_float_values[1].el; - m1 = mat2(v, vec2(v_1, sin(x_7.x_GLF_uniform_float_values[1].el))); - m2 = (m1 * m1); - vec2 v_2 = vec2(x_7.x_GLF_uniform_float_values[0].el); - v1_1 = (v_2 * m2); - param = v1_1; - int x_66 = f1_vf2_(param); - a = x_66; - if ((a == x_9.x_GLF_uniform_int_values[1].el)) { - x_GLF_color = vec4(x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[1].el, x_7.x_GLF_uniform_float_values[1].el, x_7.x_GLF_uniform_float_values[0].el); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 8b1cf09..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,100 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_9; -vec4 x_GLF_color = vec4(0.0f); -int f1_vf2_(inout vec2 v1) { - bool x_99 = false; - bool x_100_phi = false; - float x_89 = v1.x; - float x_91 = x_7.x_GLF_uniform_float_values[0].el; - bool x_92 = (x_89 == x_91); - x_100_phi = x_92; - if (x_92) { - float x_96 = v1.y; - float x_98 = x_7.x_GLF_uniform_float_values[1].el; - x_99 = (x_96 == x_98); - x_100_phi = x_99; - } - bool x_100 = x_100_phi; - if (x_100) { - int x_104 = x_9.x_GLF_uniform_int_values[1].el; - return x_104; - } - int x_106 = x_9.x_GLF_uniform_int_values[0].el; - return x_106; -} -void main_1() { - mat2 m1 = mat2(vec2(0.0f), vec2(0.0f)); - mat2 m2 = mat2(vec2(0.0f), vec2(0.0f)); - vec2 v1_1 = vec2(0.0f); - int a = 0; - vec2 param = vec2(0.0f); - float x_45 = x_7.x_GLF_uniform_float_values[0].el; - float x_47 = x_7.x_GLF_uniform_float_values[1].el; - float x_50 = x_7.x_GLF_uniform_float_values[1].el; - float x_52 = x_7.x_GLF_uniform_float_values[1].el; - vec2 v = vec2(x_45, -(x_47)); - m1 = mat2(v, vec2(x_50, sin(x_52))); - mat2 x_57 = m1; - mat2 x_58 = m1; - m2 = (x_57 * x_58); - float x_61 = x_7.x_GLF_uniform_float_values[0].el; - mat2 x_63 = m2; - v1_1 = (vec2(x_61, x_61) * x_63); - vec2 x_65 = v1_1; - param = x_65; - int x_66 = f1_vf2_(param); - a = x_66; - int x_67 = a; - int x_69 = x_9.x_GLF_uniform_int_values[1].el; - if ((x_67 == x_69)) { - float x_75 = x_7.x_GLF_uniform_float_values[0].el; - float x_77 = x_7.x_GLF_uniform_float_values[1].el; - float x_79 = x_7.x_GLF_uniform_float_values[1].el; - float x_81 = x_7.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_75, x_77, x_79, x_81); - } else { - int x_84 = x_9.x_GLF_uniform_int_values[1].el; - float x_85 = float(x_84); - x_GLF_color = vec4(x_85, x_85, x_85, x_85); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index d642d52..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,68 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - ivec2 v2 = ivec2(0); - vec2 v3 = vec2(0.0f); - bool x_66 = false; - bool x_67 = false; - v1 = sinh(vec2(x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[3].el)); - v2 = ivec2(x_9.x_GLF_uniform_int_values[0].el, -3000); - v3 = ldexp(v1, v2); - x_GLF_color = vec4(v3.y); - bool x_59 = (v3.x > x_6.x_GLF_uniform_float_values[0].el); - x_67 = x_59; - if (x_59) { - x_66 = (v3.x < x_6.x_GLF_uniform_float_values[1].el); - x_67 = x_66; - } - if (x_67) { - float v = float(x_9.x_GLF_uniform_int_values[0].el); - float v_1 = float(x_9.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 123c96f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,85 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[4]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - ivec2 v2 = ivec2(0); - vec2 v3 = vec2(0.0f); - bool x_66 = false; - bool x_67_phi = false; - float x_41 = x_6.x_GLF_uniform_float_values[2].el; - float x_43 = x_6.x_GLF_uniform_float_values[3].el; - v1 = sinh(vec2(x_41, x_43)); - int x_47 = x_9.x_GLF_uniform_int_values[0].el; - v2 = ivec2(x_47, -3000); - vec2 x_49 = v1; - ivec2 x_50 = v2; - v3 = ldexp(x_49, x_50); - float x_53 = v3.y; - x_GLF_color = vec4(x_53, x_53, x_53, x_53); - float x_56 = v3.x; - float x_58 = x_6.x_GLF_uniform_float_values[0].el; - bool x_59 = (x_56 > x_58); - x_67_phi = x_59; - if (x_59) { - float x_63 = v3.x; - float x_65 = x_6.x_GLF_uniform_float_values[1].el; - x_66 = (x_63 < x_65); - x_67_phi = x_66; - } - bool x_67 = x_67_phi; - if (x_67) { - int x_72 = x_9.x_GLF_uniform_int_values[0].el; - int x_75 = x_9.x_GLF_uniform_int_values[1].el; - int x_78 = x_9.x_GLF_uniform_int_values[1].el; - int x_81 = x_9.x_GLF_uniform_int_values[0].el; - float v = float(x_72); - float v_1 = float(x_75); - float v_2 = float(x_78); - x_GLF_color = vec4(v, v_1, v_2, float(x_81)); - } else { - int x_85 = x_9.x_GLF_uniform_int_values[1].el; - float x_86 = float(x_85); - x_GLF_color = vec4(x_86, x_86, x_86, x_86); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c3a1318..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,32 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - vec2 v2 = vec2(0.0f); - v1 = vec2(1.0f, -1.0f); - v2 = step(vec2(0.40000000596046447754f), sinh(v1)); - x_GLF_color = vec4(v2.x, v2.y, v2.y, v2.x); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 8a35d33..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v1 = vec2(0.0f); - vec2 v2 = vec2(0.0f); - v1 = vec2(1.0f, -1.0f); - vec2 x_22 = v1; - v2 = step(vec2(0.40000000596046447754f), sinh(x_22)); - float x_27 = v2.x; - float x_29 = v2.y; - float x_31 = v2.y; - float x_33 = v2.x; - x_GLF_color = vec4(x_27, x_29, x_31, x_33); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c492913..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,63 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct buf2 { - vec2 resolution; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf2 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_10; -void main_1() { - float f = 0.0f; - float v = (x_6.x_GLF_uniform_float_values[1].el * x_8.resolution.x); - float v_1 = x_6.x_GLF_uniform_float_values[2].el; - float v_2 = (v + (v_1 * round(x_8.resolution.x))); - f = (v_2 + x_8.resolution.y); - if ((f == x_6.x_GLF_uniform_float_values[0].el)) { - float v_3 = float(x_10.x_GLF_uniform_int_values[0].el); - float v_4 = float(x_10.x_GLF_uniform_int_values[1].el); - float v_5 = float(x_10.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v_3, v_4, v_5, float(x_10.x_GLF_uniform_int_values[0].el)); - } else { - x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e8caf2e..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,73 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct buf2 { - vec2 resolution; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf2 x_8; -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_10; -void main_1() { - float f = 0.0f; - float x_37 = x_6.x_GLF_uniform_float_values[1].el; - float x_39 = x_8.resolution.x; - float x_42 = x_6.x_GLF_uniform_float_values[2].el; - float x_44 = x_8.resolution.x; - float x_49 = x_8.resolution.y; - f = (((x_37 * x_39) + (x_42 * round(x_44))) + x_49); - float x_51 = f; - float x_53 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_51 == x_53)) { - int x_59 = x_10.x_GLF_uniform_int_values[0].el; - int x_62 = x_10.x_GLF_uniform_int_values[1].el; - int x_65 = x_10.x_GLF_uniform_int_values[1].el; - int x_68 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_59); - float v_1 = float(x_62); - float v_2 = float(x_65); - x_GLF_color = vec4(v, v_1, v_2, float(x_68)); - } else { - int x_72 = x_10.x_GLF_uniform_int_values[1].el; - float x_73 = float(x_72); - x_GLF_color = vec4(x_73, x_73, x_73, x_73); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 5a6ed83..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,111 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 color = vec4(0.0f); - int i = 0; - int j = 0; - int k = 0; - color = vec4(1.0f); - i = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_7.x_GLF_uniform_int_values[1].el)) { - } else { - break; - } - int x_47 = i; - switch(x_47) { - case 2: - { - int x_83 = i; - color[x_83] = x_11.x_GLF_uniform_float_values[0].el; - break; - } - case 1: - { - j = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i > i)) { - } else { - break; - } - k = x_7.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((k < i)) { - } else { - break; - } - int x_71 = k; - color[x_71] = x_11.x_GLF_uniform_float_values[0].el; - { - k = (k + 1); - } - continue; - } - } - { - j = (j + 1); - } - continue; - } - } - int x_79 = i; - color[x_79] = x_11.x_GLF_uniform_float_values[0].el; - break; - } - default: - { - break; - } - } - { - i = (i + 1); - } - continue; - } - } - x_GLF_color = color; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 02fd492..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,127 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct strided_arr_1 { - float el; -}; - -struct buf1 { - strided_arr_1 x_GLF_uniform_float_values[1]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -uniform buf1 x_11; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec4 color = vec4(0.0f); - int i = 0; - int j = 0; - int k = 0; - color = vec4(1.0f); - int x_37 = x_7.x_GLF_uniform_int_values[0].el; - i = x_37; - { - while(true) { - int x_42 = i; - int x_44 = x_7.x_GLF_uniform_int_values[1].el; - if ((x_42 < x_44)) { - } else { - break; - } - int x_47 = i; - switch(x_47) { - case 2: - { - int x_83 = i; - float x_85 = x_11.x_GLF_uniform_float_values[0].el; - color[x_83] = x_85; - break; - } - case 1: - { - int x_52 = x_7.x_GLF_uniform_int_values[0].el; - j = x_52; - { - while(true) { - int x_57 = i; - int x_58 = i; - if ((x_57 > x_58)) { - } else { - break; - } - int x_62 = x_7.x_GLF_uniform_int_values[0].el; - k = x_62; - { - while(true) { - int x_67 = k; - int x_68 = i; - if ((x_67 < x_68)) { - } else { - break; - } - int x_71 = k; - float x_73 = x_11.x_GLF_uniform_float_values[0].el; - color[x_71] = x_73; - { - int x_75 = k; - k = (x_75 + 1); - } - continue; - } - } - { - int x_77 = j; - j = (x_77 + 1); - } - continue; - } - } - int x_79 = i; - float x_81 = x_11.x_GLF_uniform_float_values[0].el; - color[x_79] = x_81; - break; - } - default: - { - break; - } - } - { - int x_87 = i; - i = (x_87 + 1); - } - continue; - } - } - vec4 x_89 = color; - x_GLF_color = x_89; -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0ef0134..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,97 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - float zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -uniform buf2 x_7; -uniform buf0 x_10; -void main_1() { - int i = 0; - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[0].el); - if ((x_7.zero > x_5.x_GLF_uniform_float_values[0].el)) { - { - while(true) { - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el); - { - if (false) { break; } - } - continue; - } - } - } else { - { - while(true) { - { - while(true) { - if (true) { - } else { - break; - } - i = x_10.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_10.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[1].el); - { - i = (i + 1); - } - continue; - } - } - break; - } - } - { - float x_82 = x_7.zero; - float x_84 = x_5.x_GLF_uniform_float_values[0].el; - if (!((x_82 > x_84))) { break; } - } - continue; - } - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index a59eb4a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,109 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[2]; -}; - -struct buf2 { - float zero; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[2]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf1 x_5; -uniform buf2 x_7; -uniform buf0 x_10; -void main_1() { - int i = 0; - float x_38 = x_5.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_38, x_38, x_38, x_38); - float x_41 = x_7.zero; - float x_43 = x_5.x_GLF_uniform_float_values[0].el; - if ((x_41 > x_43)) { - { - while(true) { - float x_53 = x_5.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_53, x_53, x_53, x_53); - { - if (false) { break; } - } - continue; - } - } - } else { - { - while(true) { - { - while(true) { - if (true) { - } else { - break; - } - int x_13 = x_10.x_GLF_uniform_int_values[1].el; - i = x_13; - { - while(true) { - int x_14 = i; - int x_15 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_14 < x_15)) { - } else { - break; - } - float x_73 = x_5.x_GLF_uniform_float_values[1].el; - float x_75 = x_5.x_GLF_uniform_float_values[0].el; - float x_77 = x_5.x_GLF_uniform_float_values[0].el; - float x_79 = x_5.x_GLF_uniform_float_values[1].el; - x_GLF_color = vec4(x_73, x_75, x_77, x_79); - { - int x_16 = i; - i = (x_16 + 1); - } - continue; - } - } - break; - } - } - { - float x_82 = x_7.zero; - float x_84 = x_5.x_GLF_uniform_float_values[0].el; - if (!((x_82 > x_84))) { break; } - } - continue; - } - } - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 76b6ac7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,189 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf1 { - vec2 v1; -}; - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[5]; -}; - -struct S { - int data; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_8; -uniform buf0 x_10; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void func_struct_S_i11_(inout S s) { - { - while(true) { - float x_174 = x_8.v1.x; - float x_176 = x_8.v1.y; - if ((x_174 > x_176)) { - } else { - break; - } - return; - } - } - int x_180 = x_10.x_GLF_uniform_int_values[0].el; - s.data = x_180; -} -void main_1() { - int i = 0; - S arr[3] = S[3](S(0), S(0), S(0)); - int i_1 = 0; - S param = S(0); - int j = 0; - bool x_136 = false; - bool x_146 = false; - bool x_137_phi = false; - bool x_147_phi = false; - int x_46 = x_10.x_GLF_uniform_int_values[2].el; - i = x_46; - { - while(true) { - int x_51 = i; - int x_53 = x_10.x_GLF_uniform_int_values[1].el; - if ((x_51 < x_53)) { - } else { - break; - } - int x_56 = i; - int x_57 = i; - arr[x_56].data = x_57; - { - int x_59 = i; - i = (x_59 + 1); - } - continue; - } - } - int x_62 = x_10.x_GLF_uniform_int_values[2].el; - i_1 = x_62; - { - while(true) { - int x_67 = i_1; - int x_69 = x_10.x_GLF_uniform_int_values[1].el; - if ((x_67 < x_69)) { - } else { - break; - } - float x_73 = x_8.v1.x; - float x_75 = x_8.v1.y; - if ((x_73 > x_75)) { - break; - } - int x_79 = i_1; - int x_81 = arr[x_79].data; - int x_83 = x_10.x_GLF_uniform_int_values[0].el; - if ((x_81 == x_83)) { - int x_88 = i_1; - int x_91 = x_10.x_GLF_uniform_int_values[3].el; - arr[min(max(x_88, 0), 3)].data = x_91; - S x_94 = arr[2]; - param = x_94; - func_struct_S_i11_(param); - S x_96 = param; - arr[2] = x_96; - } else { - int x_99 = x_10.x_GLF_uniform_int_values[2].el; - j = x_99; - { - while(true) { - int x_104 = j; - int x_106 = x_10.x_GLF_uniform_int_values[1].el; - if ((x_104 < x_106)) { - } else { - break; - } - int x_109 = j; - int x_111 = arr[x_109].data; - int x_113 = x_10.x_GLF_uniform_int_values[4].el; - if ((x_111 > x_113)) { - continue_execution = false; - } - { - int x_117 = j; - j = (x_117 + 1); - } - continue; - } - } - } - { - int x_119 = i_1; - i_1 = (x_119 + 1); - } - continue; - } - } - int x_122 = x_10.x_GLF_uniform_int_values[2].el; - int x_124 = arr[x_122].data; - int x_126 = x_10.x_GLF_uniform_int_values[2].el; - bool x_127 = (x_124 == x_126); - x_137_phi = x_127; - if (x_127) { - int x_131 = x_10.x_GLF_uniform_int_values[0].el; - int x_133 = arr[x_131].data; - int x_135 = x_10.x_GLF_uniform_int_values[3].el; - x_136 = (x_133 == x_135); - x_137_phi = x_136; - } - bool x_137 = x_137_phi; - x_147_phi = x_137; - if (x_137) { - int x_141 = x_10.x_GLF_uniform_int_values[3].el; - int x_143 = arr[x_141].data; - int x_145 = x_10.x_GLF_uniform_int_values[0].el; - x_146 = (x_143 == x_145); - x_147_phi = x_146; - } - bool x_147 = x_147_phi; - if (x_147) { - int x_152 = x_10.x_GLF_uniform_int_values[0].el; - int x_155 = x_10.x_GLF_uniform_int_values[2].el; - int x_158 = x_10.x_GLF_uniform_int_values[2].el; - int x_161 = x_10.x_GLF_uniform_int_values[0].el; - float v = float(x_152); - float v_1 = float(x_155); - float v_2 = float(x_158); - x_GLF_color = vec4(v, v_1, v_2, float(x_161)); - } else { - int x_165 = x_10.x_GLF_uniform_int_values[2].el; - float x_166 = float(x_165); - x_GLF_color = vec4(x_166, x_166, x_166, x_166); - } -} -main_out main() { - main_1(); - main_out v_3 = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v_3; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 533ea3c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,42 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - vec4 x_24 = vec4(0.0f); - x_GLF_color = vec4(0.0f); - if ((x_6.one == 0)) { - return; - } - x_24 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -vec4 func_() { - return vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 344d5b4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,43 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int one; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_6; -void main_1() { - vec4 x_24 = vec4(0.0f); - x_GLF_color = vec4(0.0f); - int x_26 = x_6.one; - if ((x_26 == 0)) { - return; - } - x_24 = vec4(1.0f, 0.0f, 0.0f, 1.0f); - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -vec4 func_() { - return vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7c89c3c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,57 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct buf1 { - vec2 v1; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2 m24 = mat2(vec2(0.0f), vec2(0.0f)); - float a = 0.0f; - vec2 v2 = vec2(0.0f); - vec2 v3 = vec2(0.0f); - vec2 v = vec2(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el); - m24 = mat2(v, vec2((x_8.v1.x * 1.0f), x_6.x_GLF_uniform_float_values[0].el)); - a = m24[0u].x; - v2 = vec2(1.0f); - vec2 v_1 = v2; - v3 = reflect(v_1, vec2(a, 1.0f)); - x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, v3.x, v3.y, x_6.x_GLF_uniform_float_values[0].el); - if ((x_8.v1.y == x_6.x_GLF_uniform_float_values[0].el)) { - x_GLF_color = vec4(x_GLF_color.x, vec2(0.0f), x_GLF_color.w); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 1bcdf93..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,70 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_float_values[1]; -}; - -struct buf1 { - vec2 v1; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -uniform buf1 x_8; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - mat2 m24 = mat2(vec2(0.0f), vec2(0.0f)); - float a = 0.0f; - vec2 v2 = vec2(0.0f); - vec2 v3 = vec2(0.0f); - float x_40 = x_6.x_GLF_uniform_float_values[0].el; - float x_42 = x_6.x_GLF_uniform_float_values[0].el; - float x_44 = x_8.v1.x; - float x_47 = x_6.x_GLF_uniform_float_values[0].el; - vec2 v = vec2(x_40, x_42); - m24 = mat2(v, vec2((x_44 * 1.0f), x_47)); - mat2 x_51 = m24; - a = x_51[0u][0u]; - v2 = vec2(1.0f); - vec2 x_53 = v2; - float x_54 = a; - vec2 x_55 = vec2(x_54, 1.0f); - v3 = reflect(x_53, x_55); - float x_58 = x_6.x_GLF_uniform_float_values[0].el; - vec2 x_59 = v3; - float x_61 = x_6.x_GLF_uniform_float_values[0].el; - x_GLF_color = vec4(x_58, x_59[0u], x_59[1u], x_61); - float x_66 = x_8.v1.y; - float x_68 = x_6.x_GLF_uniform_float_values[0].el; - if ((x_66 == x_68)) { - vec4 x_73 = x_GLF_color; - x_GLF_color = vec4(x_73[0u], 0.0f, 0.0f, x_73[3u]); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c8cf793..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,89 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct S { - int data; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void func_struct_S_i11_i1_(inout S s, inout int x) { - if ((x_9.x_GLF_uniform_int_values[1].el == x_9.x_GLF_uniform_int_values[0].el)) { - return; - } - s.data = x; -} -void main_1() { - int i = 0; - S arr[10] = S[10](S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0)); - int index = 0; - S param = S(0); - int param_1 = 0; - S param_2 = S(0); - int param_3 = 0; - i = 0; - { - while(true) { - if ((i < 10)) { - } else { - break; - } - int x_46 = i; - arr[x_46].data = 0; - { - i = (i + 1); - } - continue; - } - } - if ((x_9.x_GLF_uniform_int_values[1].el == x_9.x_GLF_uniform_int_values[0].el)) { - int x_58 = index; - param = arr[index]; - param_1 = index; - func_struct_S_i11_i1_(param, param_1); - arr[x_58] = param; - } else { - int x_66 = x_9.x_GLF_uniform_int_values[0].el; - param_2 = arr[x_66]; - param_3 = x_9.x_GLF_uniform_int_values[1].el; - func_struct_S_i11_i1_(param_2, param_3); - arr[x_66] = param_2; - } - if ((arr[x_9.x_GLF_uniform_int_values[0].el].data == x_9.x_GLF_uniform_int_values[1].el)) { - float v = float(x_9.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 08b4c67..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,111 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct S { - int data; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void func_struct_S_i11_i1_(inout S s, inout int x) { - int x_103 = x_9.x_GLF_uniform_int_values[1].el; - int x_105 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_103 == x_105)) { - return; - } - int x_109 = x; - s.data = x_109; -} -void main_1() { - int i = 0; - S arr[10] = S[10](S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0)); - int index = 0; - S param = S(0); - int param_1 = 0; - S param_2 = S(0); - int param_3 = 0; - i = 0; - { - while(true) { - int x_43 = i; - if ((x_43 < 10)) { - } else { - break; - } - int x_46 = i; - arr[x_46].data = 0; - { - int x_48 = i; - i = (x_48 + 1); - } - continue; - } - } - int x_51 = x_9.x_GLF_uniform_int_values[1].el; - int x_53 = x_9.x_GLF_uniform_int_values[0].el; - if ((x_51 == x_53)) { - int x_58 = index; - S x_60 = arr[x_58]; - param = x_60; - int x_61 = index; - param_1 = x_61; - func_struct_S_i11_i1_(param, param_1); - S x_63 = param; - arr[x_58] = x_63; - } else { - int x_66 = x_9.x_GLF_uniform_int_values[0].el; - S x_68 = arr[x_66]; - param_2 = x_68; - int x_70 = x_9.x_GLF_uniform_int_values[1].el; - param_3 = x_70; - func_struct_S_i11_i1_(param_2, param_3); - S x_72 = param_2; - arr[x_66] = x_72; - } - int x_75 = x_9.x_GLF_uniform_int_values[0].el; - int x_77 = arr[x_75].data; - int x_79 = x_9.x_GLF_uniform_int_values[1].el; - if ((x_77 == x_79)) { - int x_85 = x_9.x_GLF_uniform_int_values[1].el; - int x_88 = x_9.x_GLF_uniform_int_values[0].el; - int x_91 = x_9.x_GLF_uniform_int_values[0].el; - int x_94 = x_9.x_GLF_uniform_int_values[1].el; - float v = float(x_85); - float v_1 = float(x_88); - float v_2 = float(x_91); - x_GLF_color = vec4(v, v_1, v_2, float(x_94)); - } else { - int x_98 = x_9.x_GLF_uniform_int_values[0].el; - float x_99 = float(x_98); - x_GLF_color = vec4(x_99, x_99, x_99, x_99); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:16: 'float' : type requires declaration of default precision qualifier -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index c4b8665..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,62 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int A[2] = int[2](0, 0); - int a = 0; - i = x_6.x_GLF_uniform_int_values[1].el; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[0].el)) { - } else { - break; - } - int x_40 = i; - A[x_40] = i; - { - i = (i + 1); - } - continue; - } - } - a = min(~(A[x_6.x_GLF_uniform_int_values[1].el]), ~(A[x_6.x_GLF_uniform_int_values[2].el])); - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el)); - if ((a == -(x_6.x_GLF_uniform_int_values[0].el))) { - float v = float(x_6.x_GLF_uniform_int_values[2].el); - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[1].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 4267d13..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,79 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[3]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int i = 0; - int A[2] = int[2](0, 0); - int a = 0; - int x_30 = x_6.x_GLF_uniform_int_values[1].el; - i = x_30; - { - while(true) { - int x_35 = i; - int x_37 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_35 < x_37)) { - } else { - break; - } - int x_40 = i; - int x_41 = i; - A[x_40] = x_41; - { - int x_43 = i; - i = (x_43 + 1); - } - continue; - } - } - int x_46 = x_6.x_GLF_uniform_int_values[1].el; - int x_48 = A[x_46]; - int x_51 = x_6.x_GLF_uniform_int_values[2].el; - int x_53 = A[x_51]; - a = min(~(x_48), ~(x_53)); - int x_57 = x_6.x_GLF_uniform_int_values[1].el; - float x_58 = float(x_57); - x_GLF_color = vec4(x_58, x_58, x_58, x_58); - int x_60 = a; - int x_62 = x_6.x_GLF_uniform_int_values[0].el; - if ((x_60 == -(x_62))) { - int x_68 = x_6.x_GLF_uniform_int_values[2].el; - int x_71 = x_6.x_GLF_uniform_int_values[1].el; - int x_74 = x_6.x_GLF_uniform_int_values[1].el; - int x_77 = x_6.x_GLF_uniform_int_values[2].el; - float v = float(x_68); - float v_1 = float(x_71); - float v_2 = float(x_74); - x_GLF_color = vec4(v, v_1, v_2, float(x_77)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3b50b7f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,54 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_7; -void main_1() { - int a = 0; - int i = 0; - a = 0; - i = 0; - { - while(true) { - if ((i < 2)) { - } else { - break; - } - a = ((i | -2) - 1); - { - i = (i + 1); - } - continue; - } - } - if ((a == -2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index e662707..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,58 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - int two; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -uniform buf0 x_7; -void main_1() { - int a = 0; - int i = 0; - a = 0; - i = 0; - { - while(true) { - int x_30 = i; - if ((x_30 < 2)) { - } else { - break; - } - int x_33 = i; - a = ((x_33 | -2) - 1); - { - int x_36 = i; - i = (x_36 + 1); - } - continue; - } - } - int x_38 = a; - if ((x_38 == -2)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:8: 'float' : type requires declaration of default precision qualifier -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b4c7f03..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int sum = 0; - int i = 0; - a = 65536; - sum = x_7.x_GLF_uniform_int_values[0].el; - if ((1 == x_7.x_GLF_uniform_int_values[1].el)) { - a = (a - 1); - } - i = 0; - { - while(true) { - if ((i < a)) { - } else { - break; - } - sum = (sum + i); - { - i = (i + x_7.x_GLF_uniform_int_values[2].el); - } - continue; - } - } - if ((sum == x_7.x_GLF_uniform_int_values[3].el)) { - float v = float(x_7.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_7.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_7.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index f4d3545..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,83 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int a = 0; - int sum = 0; - int i = 0; - a = 65536; - int x_29 = x_7.x_GLF_uniform_int_values[0].el; - sum = x_29; - int x_31 = x_7.x_GLF_uniform_int_values[1].el; - if ((1 == x_31)) { - int x_35 = a; - a = (x_35 - 1); - } - i = 0; - { - while(true) { - int x_41 = i; - int x_42 = a; - if ((x_41 < x_42)) { - } else { - break; - } - int x_45 = i; - int x_46 = sum; - sum = (x_46 + x_45); - { - int x_49 = x_7.x_GLF_uniform_int_values[2].el; - int x_50 = i; - i = (x_50 + x_49); - } - continue; - } - } - int x_52 = sum; - int x_54 = x_7.x_GLF_uniform_int_values[3].el; - if ((x_52 == x_54)) { - int x_60 = x_7.x_GLF_uniform_int_values[1].el; - int x_63 = x_7.x_GLF_uniform_int_values[0].el; - int x_66 = x_7.x_GLF_uniform_int_values[0].el; - int x_69 = x_7.x_GLF_uniform_int_values[1].el; - float v = float(x_60); - float v_1 = float(x_63); - float v_2 = float(x_66); - x_GLF_color = vec4(v, v_1, v_2, float(x_69)); - } else { - int x_73 = x_7.x_GLF_uniform_int_values[0].el; - float x_74 = float(x_73); - x_GLF_color = vec4(x_74, x_74, x_74, x_74); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6533e23..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,139 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[16]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int r[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i = 0; - int data[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int x_46 = x_6.x_GLF_uniform_int_values[0].el; - r[x_46] = x_6.x_GLF_uniform_int_values[0].el; - int x_51 = x_6.x_GLF_uniform_int_values[1].el; - r[x_51] = x_6.x_GLF_uniform_int_values[1].el; - int x_56 = x_6.x_GLF_uniform_int_values[2].el; - r[x_56] = x_6.x_GLF_uniform_int_values[2].el; - int x_61 = x_6.x_GLF_uniform_int_values[3].el; - r[x_61] = x_6.x_GLF_uniform_int_values[3].el; - int x_66 = x_6.x_GLF_uniform_int_values[4].el; - r[x_66] = x_6.x_GLF_uniform_int_values[4].el; - int x_71 = x_6.x_GLF_uniform_int_values[5].el; - r[x_71] = -(x_6.x_GLF_uniform_int_values[1].el); - int x_77 = x_6.x_GLF_uniform_int_values[8].el; - r[x_77] = -(x_6.x_GLF_uniform_int_values[1].el); - int x_83 = x_6.x_GLF_uniform_int_values[9].el; - r[x_83] = -(x_6.x_GLF_uniform_int_values[1].el); - int x_89 = x_6.x_GLF_uniform_int_values[10].el; - r[x_89] = -(x_6.x_GLF_uniform_int_values[1].el); - int x_95 = x_6.x_GLF_uniform_int_values[11].el; - r[x_95] = -(x_6.x_GLF_uniform_int_values[1].el); - int x_101 = x_6.x_GLF_uniform_int_values[6].el; - r[x_101] = -(x_6.x_GLF_uniform_int_values[2].el); - int x_107 = x_6.x_GLF_uniform_int_values[12].el; - r[x_107] = -(x_6.x_GLF_uniform_int_values[2].el); - int x_113 = x_6.x_GLF_uniform_int_values[13].el; - r[x_113] = -(x_6.x_GLF_uniform_int_values[2].el); - int x_119 = x_6.x_GLF_uniform_int_values[14].el; - r[x_119] = -(x_6.x_GLF_uniform_int_values[2].el); - int x_125 = x_6.x_GLF_uniform_int_values[15].el; - r[x_125] = -(x_6.x_GLF_uniform_int_values[2].el); - i = 0; - { - while(true) { - if ((i < x_6.x_GLF_uniform_int_values[5].el)) { - } else { - break; - } - int x_139 = i; - int v = x_6.x_GLF_uniform_int_values[1].el; - data[x_139] = ~(min(max(~(i), ~(i)), v)); - { - i = (i + 1); - } - continue; - } - } - i_1 = x_6.x_GLF_uniform_int_values[5].el; - { - while(true) { - if ((i_1 < x_6.x_GLF_uniform_int_values[6].el)) { - } else { - break; - } - int x_162 = i_1; - data[x_162] = ~(min(max(~(i_1), 0), 1)); - { - i_1 = (i_1 + 1); - } - continue; - } - } - i_2 = x_6.x_GLF_uniform_int_values[6].el; - { - while(true) { - if ((i_2 < x_6.x_GLF_uniform_int_values[7].el)) { - } else { - break; - } - int x_181 = i_2; - data[x_181] = ~(min(max(i_2, 0), 1)); - { - i_2 = (i_2 + 1); - } - continue; - } - } - i_3 = x_6.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i_3 < x_6.x_GLF_uniform_int_values[7].el)) { - } else { - break; - } - if ((data[i_3] != r[i_3])) { - x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el)); - return; - } - { - i_3 = (i_3 + 1); - } - continue; - } - } - float v_1 = float(x_6.x_GLF_uniform_int_values[1].el); - float v_2 = float(x_6.x_GLF_uniform_int_values[0].el); - float v_3 = float(x_6.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[1].el)); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 7b8286d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,183 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[16]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int r[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i = 0; - int data[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - int i_1 = 0; - int i_2 = 0; - int i_3 = 0; - int x_46 = x_6.x_GLF_uniform_int_values[0].el; - int x_48 = x_6.x_GLF_uniform_int_values[0].el; - r[x_46] = x_48; - int x_51 = x_6.x_GLF_uniform_int_values[1].el; - int x_53 = x_6.x_GLF_uniform_int_values[1].el; - r[x_51] = x_53; - int x_56 = x_6.x_GLF_uniform_int_values[2].el; - int x_58 = x_6.x_GLF_uniform_int_values[2].el; - r[x_56] = x_58; - int x_61 = x_6.x_GLF_uniform_int_values[3].el; - int x_63 = x_6.x_GLF_uniform_int_values[3].el; - r[x_61] = x_63; - int x_66 = x_6.x_GLF_uniform_int_values[4].el; - int x_68 = x_6.x_GLF_uniform_int_values[4].el; - r[x_66] = x_68; - int x_71 = x_6.x_GLF_uniform_int_values[5].el; - int x_73 = x_6.x_GLF_uniform_int_values[1].el; - r[x_71] = -(x_73); - int x_77 = x_6.x_GLF_uniform_int_values[8].el; - int x_79 = x_6.x_GLF_uniform_int_values[1].el; - r[x_77] = -(x_79); - int x_83 = x_6.x_GLF_uniform_int_values[9].el; - int x_85 = x_6.x_GLF_uniform_int_values[1].el; - r[x_83] = -(x_85); - int x_89 = x_6.x_GLF_uniform_int_values[10].el; - int x_91 = x_6.x_GLF_uniform_int_values[1].el; - r[x_89] = -(x_91); - int x_95 = x_6.x_GLF_uniform_int_values[11].el; - int x_97 = x_6.x_GLF_uniform_int_values[1].el; - r[x_95] = -(x_97); - int x_101 = x_6.x_GLF_uniform_int_values[6].el; - int x_103 = x_6.x_GLF_uniform_int_values[2].el; - r[x_101] = -(x_103); - int x_107 = x_6.x_GLF_uniform_int_values[12].el; - int x_109 = x_6.x_GLF_uniform_int_values[2].el; - r[x_107] = -(x_109); - int x_113 = x_6.x_GLF_uniform_int_values[13].el; - int x_115 = x_6.x_GLF_uniform_int_values[2].el; - r[x_113] = -(x_115); - int x_119 = x_6.x_GLF_uniform_int_values[14].el; - int x_121 = x_6.x_GLF_uniform_int_values[2].el; - r[x_119] = -(x_121); - int x_125 = x_6.x_GLF_uniform_int_values[15].el; - int x_127 = x_6.x_GLF_uniform_int_values[2].el; - r[x_125] = -(x_127); - i = 0; - { - while(true) { - int x_134 = i; - int x_136 = x_6.x_GLF_uniform_int_values[5].el; - if ((x_134 < x_136)) { - } else { - break; - } - int x_139 = i; - int x_140 = i; - int x_142 = i; - int x_145 = x_6.x_GLF_uniform_int_values[1].el; - data[x_139] = ~(min(max(~(x_140), ~(x_142)), x_145)); - { - int x_149 = i; - i = (x_149 + 1); - } - continue; - } - } - int x_152 = x_6.x_GLF_uniform_int_values[5].el; - i_1 = x_152; - { - while(true) { - int x_157 = i_1; - int x_159 = x_6.x_GLF_uniform_int_values[6].el; - if ((x_157 < x_159)) { - } else { - break; - } - int x_162 = i_1; - int x_163 = i_1; - data[x_162] = ~(min(max(~(x_163), 0), 1)); - { - int x_168 = i_1; - i_1 = (x_168 + 1); - } - continue; - } - } - int x_171 = x_6.x_GLF_uniform_int_values[6].el; - i_2 = x_171; - { - while(true) { - int x_176 = i_2; - int x_178 = x_6.x_GLF_uniform_int_values[7].el; - if ((x_176 < x_178)) { - } else { - break; - } - int x_181 = i_2; - int x_182 = i_2; - data[x_181] = ~(min(max(x_182, 0), 1)); - { - int x_186 = i_2; - i_2 = (x_186 + 1); - } - continue; - } - } - int x_189 = x_6.x_GLF_uniform_int_values[0].el; - i_3 = x_189; - { - while(true) { - int x_194 = i_3; - int x_196 = x_6.x_GLF_uniform_int_values[7].el; - if ((x_194 < x_196)) { - } else { - break; - } - int x_199 = i_3; - int x_201 = data[x_199]; - int x_202 = i_3; - int x_204 = r[x_202]; - if ((x_201 != x_204)) { - int x_209 = x_6.x_GLF_uniform_int_values[0].el; - float x_210 = float(x_209); - x_GLF_color = vec4(x_210, x_210, x_210, x_210); - return; - } - { - int x_212 = i_3; - i_3 = (x_212 + 1); - } - continue; - } - } - int x_215 = x_6.x_GLF_uniform_int_values[1].el; - int x_218 = x_6.x_GLF_uniform_int_values[0].el; - int x_221 = x_6.x_GLF_uniform_int_values[0].el; - int x_224 = x_6.x_GLF_uniform_int_values[1].el; - float v = float(x_215); - float v_1 = float(x_218); - float v_2 = float(x_221); - x_GLF_color = vec4(v, v_1, v_2, float(x_224)); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:12: 'float' : type requires declaration of default precision qualifier -ERROR: 0:12: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 94e328b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,37 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 a = vec2(0.0f); - vec2 b = vec2(0.0f); - a = vec2(1.0f); - a[0u] = (a.x + 0.5f); - b = fract(a); - if ((b.x == 0.5f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 313db5b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,40 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 a = vec2(0.0f); - vec2 b = vec2(0.0f); - a = vec2(1.0f); - float x_25 = a.x; - a[0u] = (x_25 + 0.5f); - vec2 x_28 = a; - b = fract(x_28); - float x_31 = b.x; - if ((x_31 == 0.5f)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f6c5345..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,34 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - v = vec2(0.62581348419189453125f, 13.4269504547119140625f); - if ((v.x < v.y)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 072a65b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,36 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - vec2 v = vec2(0.0f); - v = vec2(0.62581348419189453125f, 13.4269504547119140625f); - float x_27 = v.x; - float x_29 = v.y; - if ((x_27 < x_29)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(0.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index e3e7e5a..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,117 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float A[2] = float[2](0.0f, 0.0f); - int i = 0; - int j = 0; - bool x_101 = false; - bool x_102 = false; - A[0] = x_6.x_GLF_uniform_float_values[1].el; - A[1] = x_6.x_GLF_uniform_float_values[1].el; - i = x_9.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((i < x_9.x_GLF_uniform_int_values[3].el)) { - } else { - break; - } - j = x_9.x_GLF_uniform_int_values[0].el; - { - while(true) { - if ((j < x_9.x_GLF_uniform_int_values[2].el)) { - } else { - break; - } - int x_66 = j; - switch(x_66) { - case 1: - { - int x_78 = i; - A[x_78] = x_6.x_GLF_uniform_float_values[0].el; - break; - } - case 0: - { - if (((-2147483647 - 1) < i)) { - { - j = (j + 1); - } - continue; - } - int x_74 = i; - A[x_74] = x_6.x_GLF_uniform_float_values[2].el; - break; - } - default: - { - break; - } - } - { - j = (j + 1); - } - continue; - } - } - { - i = (i + 1); - } - continue; - } - } - bool x_92 = (A[x_9.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_float_values[0].el); - x_102 = x_92; - if (x_92) { - x_101 = (A[x_9.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_float_values[0].el); - x_102 = x_101; - } - if (x_102) { - float v = float(x_9.x_GLF_uniform_int_values[1].el); - float v_1 = float(x_9.x_GLF_uniform_int_values[0].el); - float v_2 = float(x_9.x_GLF_uniform_int_values[0].el); - x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[1].el)); - } else { - x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el)); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c996091..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,144 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - float el; -}; - -struct buf1 { - strided_arr x_GLF_uniform_float_values[3]; -}; - -struct strided_arr_1 { - int el; -}; - -struct buf0 { - strided_arr_1 x_GLF_uniform_int_values[4]; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf1 x_6; -uniform buf0 x_9; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - float A[2] = float[2](0.0f, 0.0f); - int i = 0; - int j = 0; - bool x_101 = false; - bool x_102_phi = false; - float x_39 = x_6.x_GLF_uniform_float_values[1].el; - A[0] = x_39; - float x_42 = x_6.x_GLF_uniform_float_values[1].el; - A[1] = x_42; - int x_45 = x_9.x_GLF_uniform_int_values[0].el; - i = x_45; - { - while(true) { - int x_50 = i; - int x_52 = x_9.x_GLF_uniform_int_values[3].el; - if ((x_50 < x_52)) { - } else { - break; - } - int x_56 = x_9.x_GLF_uniform_int_values[0].el; - j = x_56; - { - while(true) { - int x_61 = j; - int x_63 = x_9.x_GLF_uniform_int_values[2].el; - if ((x_61 < x_63)) { - } else { - break; - } - int x_66 = j; - switch(x_66) { - case 1: - { - int x_78 = i; - float x_80 = x_6.x_GLF_uniform_float_values[0].el; - A[x_78] = x_80; - break; - } - case 0: - { - int x_70 = i; - if (((-2147483647 - 1) < x_70)) { - { - int x_82 = j; - j = (x_82 + 1); - } - continue; - } - int x_74 = i; - float x_76 = x_6.x_GLF_uniform_float_values[2].el; - A[x_74] = x_76; - break; - } - default: - { - break; - } - } - { - int x_82 = j; - j = (x_82 + 1); - } - continue; - } - } - { - int x_84 = i; - i = (x_84 + 1); - } - continue; - } - } - int x_87 = x_9.x_GLF_uniform_int_values[0].el; - float x_89 = A[x_87]; - float x_91 = x_6.x_GLF_uniform_float_values[0].el; - bool x_92 = (x_89 == x_91); - x_102_phi = x_92; - if (x_92) { - int x_96 = x_9.x_GLF_uniform_int_values[1].el; - float x_98 = A[x_96]; - float x_100 = x_6.x_GLF_uniform_float_values[0].el; - x_101 = (x_98 == x_100); - x_102_phi = x_101; - } - bool x_102 = x_102_phi; - if (x_102) { - int x_107 = x_9.x_GLF_uniform_int_values[1].el; - int x_110 = x_9.x_GLF_uniform_int_values[0].el; - int x_113 = x_9.x_GLF_uniform_int_values[0].el; - int x_116 = x_9.x_GLF_uniform_int_values[1].el; - float v = float(x_107); - float v_1 = float(x_110); - float v_2 = float(x_113); - x_GLF_color = vec4(v, v_1, v_2, float(x_116)); - } else { - int x_120 = x_9.x_GLF_uniform_int_values[1].el; - float x_121 = float(x_120); - x_GLF_color = vec4(x_121, x_121, x_121, x_121); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index c657afd..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,78 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct strided_arr { - int el; -}; - -struct buf0 { - strided_arr x_GLF_uniform_int_values[2]; -}; - -struct S { - int a; - int b; - int c; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - S A[2] = S[2](S(0, 0, 0), S(0, 0, 0)); - int x_29 = x_7.x_GLF_uniform_int_values[1].el; - int x_31 = x_7.x_GLF_uniform_int_values[1].el; - int x_33 = x_7.x_GLF_uniform_int_values[1].el; - int x_35 = x_7.x_GLF_uniform_int_values[1].el; - A[x_29] = S(x_31, x_33, x_35); - int x_39 = x_7.x_GLF_uniform_int_values[0].el; - int x_41 = x_7.x_GLF_uniform_int_values[1].el; - int x_43 = x_7.x_GLF_uniform_int_values[1].el; - int x_45 = x_7.x_GLF_uniform_int_values[1].el; - A[x_39] = S(x_41, x_43, x_45); - int x_49 = x_7.x_GLF_uniform_int_values[1].el; - int x_51 = A[x_49].b; - int x_53 = x_7.x_GLF_uniform_int_values[1].el; - if ((x_51 == x_53)) { - int x_58 = x_7.x_GLF_uniform_int_values[1].el; - int x_61 = x_7.x_GLF_uniform_int_values[0].el; - A[min(max(x_58, 1), 2)].b = x_61; - } - int x_64 = x_7.x_GLF_uniform_int_values[0].el; - int x_66 = A[x_64].b; - int x_68 = x_7.x_GLF_uniform_int_values[0].el; - if ((x_66 == x_68)) { - int x_74 = x_7.x_GLF_uniform_int_values[0].el; - int x_77 = x_7.x_GLF_uniform_int_values[1].el; - int x_80 = x_7.x_GLF_uniform_int_values[1].el; - int x_83 = x_7.x_GLF_uniform_int_values[0].el; - float v = float(x_74); - float v_1 = float(x_77); - float v_2 = float(x_80); - x_GLF_color = vec4(v, v_1, v_2, float(x_83)); - } else { - int x_87 = x_7.x_GLF_uniform_int_values[0].el; - float x_88 = float(x_87); - x_GLF_color = vec4(x_88, x_88, x_88, x_88); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:18: 'float' : type requires declaration of default precision qualifier -ERROR: 0:18: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b8cf2ba..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,94 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void x_51() { - continue_execution = false; -} -void main_1() { - { - while(true) { - bool x_30 = false; - bool x_31 = false; - x_30 = false; - { - while(true) { - { - while(true) { - vec4 x_52 = vec4(0.0f); - vec4 x_54 = vec4(0.0f); - vec4 x_55 = vec4(0.0f); - float x_36 = x_5.injectionSwitch.y; - x_31 = x_30; - if ((x_36 > 0.0f)) { - } else { - break; - } - { - while(true) { - float x_46 = x_5.injectionSwitch.x; - if ((x_46 > 0.0f)) { - x_51(); - x_52 = vec4(0.0f); - x_55 = x_52; - break; - } - x_54 = (vec4(1.0f, 0.0f, 0.0f, 1.0f) + vec4(x_46)); - x_55 = x_54; - break; - } - } - x_GLF_color = x_55; - x_31 = true; - break; - } - } - if (x_31) { - break; - } else { - { - x_30 = x_31; - } - continue; - } - /* unreachable */ - } - } - if (x_31) { - break; - } - break; - } - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 654231c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,95 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_5; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void x_51() { - continue_execution = false; -} -void main_1() { - { - while(true) { - bool x_31 = false; - bool x_30_phi = false; - x_30_phi = false; - { - while(true) { - bool x_31_phi = false; - bool x_30 = x_30_phi; - { - while(true) { - vec4 x_52 = vec4(0.0f); - vec4 x_54 = vec4(0.0f); - vec4 x_55_phi = vec4(0.0f); - float x_36 = x_5.injectionSwitch.y; - x_31_phi = x_30; - if ((x_36 > 0.0f)) { - } else { - break; - } - { - while(true) { - float x_46 = x_5.injectionSwitch.x; - if ((x_46 > 0.0f)) { - x_51(); - } - x_54 = (vec4(1.0f, 0.0f, 0.0f, 1.0f) + vec4(x_46, x_46, x_46, x_46)); - x_55_phi = x_54; - break; - } - } - vec4 x_55 = x_55_phi; - x_GLF_color = x_55; - x_31_phi = true; - break; - } - } - x_31 = x_31_phi; - if (x_31) { - break; - } else { - { - x_30_phi = x_31; - } - continue; - } - /* unreachable */ - } - } - if (x_31) { - break; - } - break; - } - } -} -main_out main() { - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 0a57615..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,71 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - { - while(true) { - bool x_46 = false; - { - while(true) { - if ((tint_symbol.x < 0.0f)) { - if ((1.0f > x_6.injectionSwitch.y)) { - continue_execution = false; - } else { - { - x_46 = false; - if (true) { break; } - } - continue; - } - { - x_46 = false; - if (true) { break; } - } - continue; - } - x_46 = true; - break; - } - } - if (x_46) { - break; - } - break; - } - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 70c81ed..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,69 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -uniform buf0 x_6; -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - { - while(true) { - bool x_46_phi = false; - { - while(true) { - float x_37 = tint_symbol.x; - if ((x_37 < 0.0f)) { - float x_42 = x_6.injectionSwitch.y; - if ((1.0f > x_42)) { - continue_execution = false; - } else { - { - x_46_phi = false; - if (true) { break; } - } - continue; - } - } - x_46_phi = true; - break; - } - } - bool x_46 = x_46_phi; - if (x_46) { - break; - } - break; - } - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index b401a9b..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,55 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); - int i = 0; - data = float[10](0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f, 0.5f, 0.60000002384185791016f, 0.69999998807907104492f, 0.80000001192092895508f, 0.89999997615814208984f, 1.0f); - i = 0; - { - while(true) { - if ((i < 10)) { - } else { - break; - } - if ((tint_symbol.x < 0.0f)) { - continue_execution = false; - } - data[0] = data[i]; - { - i = (i + 1); - } - continue; - } - } - x_GLF_color = vec4(data[0], 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 760dcb1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,61 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void main_1() { - float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); - int i = 0; - data = float[10](0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f, 0.5f, 0.60000002384185791016f, 0.69999998807907104492f, 0.80000001192092895508f, 0.89999997615814208984f, 1.0f); - i = 0; - { - while(true) { - int x_7 = i; - if ((x_7 < 10)) { - } else { - break; - } - float x_50 = tint_symbol.x; - if ((x_50 < 0.0f)) { - continue_execution = false; - } - int x_8 = i; - float x_55 = data[x_8]; - data[0] = x_55; - { - int x_9 = i; - i = (x_9 + 1); - } - continue; - } - } - float x_58 = data[0]; - x_GLF_color = vec4(x_58, 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index f803dc0..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,65 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void f_() { - { - while(true) { - if ((1.0f > x_7.injectionSwitch.y)) { - if ((tint_symbol.y < 0.0f)) { - { - if (true) { break; } - } - continue; - } else { - { - if (true) { break; } - } - continue; - } - } - continue_execution = false; - { - if (true) { break; } - } - continue; - } - } -} -void main_1() { - f_(); - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3971532..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,67 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void f_() { - { - while(true) { - float x_35 = x_7.injectionSwitch.y; - if ((1.0f > x_35)) { - float x_40 = tint_symbol.y; - if ((x_40 < 0.0f)) { - { - if (true) { break; } - } - continue; - } else { - { - if (true) { break; } - } - continue; - } - } - continue_execution = false; - { - if (true) { break; } - } - continue; - } - } -} -void main_1() { - f_(); - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 3e2c7ca..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,74 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void x_47() { - continue_execution = false; -} -void main_1() { - { - while(true) { - int x_30 = 0; - bool x_48 = false; - x_30 = 0; - { - while(true) { - int x_31 = 0; - x_48 = false; - if ((x_30 < 10)) { - } else { - break; - } - if ((tint_symbol.y < 0.0f)) { - if ((tint_symbol.x < 0.0f)) { - x_48 = false; - break; - } else { - { - x_31 = (x_30 + 1); - x_30 = x_31; - } - continue; - } - } - x_47(); - x_48 = true; - break; - } - } - if (x_48) { - break; - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - break; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index ab7c56d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,81 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -bool continue_execution = true; -void x_47() { - continue_execution = false; -} -void main_1() { - { - while(true) { - int x_30_phi = 0; - bool x_48_phi = false; - x_30_phi = 0; - { - while(true) { - int x_31 = 0; - int x_30 = x_30_phi; - x_48_phi = false; - if ((x_30 < 10)) { - } else { - break; - } - float x_37 = tint_symbol.y; - if ((x_37 < 0.0f)) { - float x_42 = tint_symbol.x; - if ((x_42 < 0.0f)) { - x_48_phi = false; - break; - } else { - { - x_31 = (x_30 + 1); - x_30_phi = x_31; - } - continue; - } - } - x_47(); - { - x_31 = (x_30 + 1); - x_30_phi = x_31; - } - continue; - } - } - bool x_48 = x_48_phi; - if (x_48) { - break; - } - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - break; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - main_out v = main_out(x_GLF_color); - if (!(continue_execution)) { - discard; - } - return v; -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index bfcf4eb..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,66 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 f_() { - int iteration = 0; - int k = 0; - iteration = 0; - k = 0; - { - while(true) { - if ((k < 100)) { - } else { - break; - } - iteration = (iteration + 1); - { - k = (k + 1); - } - continue; - } - } - if ((iteration < 100)) { - int x_13 = iteration; - int x_15 = iteration; - float v = float((x_13 - 1)); - return vec3(1.0f, v, float((x_15 - 1))); - } else { - { - while(true) { - { - while(true) { - return vec3(1.0f, 0.0f, 0.0f); - } - } - /* unreachable */ - } - } - } - /* unreachable */ -} -void main_1() { - vec3 x_35 = f_(); - x_GLF_color = vec4(x_35[0u], x_35[1u], x_35[2u], 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 2caaea4..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,70 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 f_() { - int iteration = 0; - int k = 0; - iteration = 0; - k = 0; - { - while(true) { - int x_7 = k; - if ((x_7 < 100)) { - } else { - break; - } - int x_8 = iteration; - iteration = (x_8 + 1); - { - int x_10 = k; - k = (x_10 + 1); - } - continue; - } - } - int x_12 = iteration; - if ((x_12 < 100)) { - int x_13 = iteration; - int x_15 = iteration; - float v = float((x_13 - 1)); - return vec3(1.0f, v, float((x_15 - 1))); - } else { - { - while(true) { - { - while(true) { - return vec3(1.0f, 0.0f, 0.0f); - } - } - /* unreachable */ - } - } - } - /* unreachable */ -} -void main_1() { - vec3 x_35 = f_(); - x_GLF_color = vec4(x_35[0u], x_35[1u], x_35[2u], 1.0f); -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 7fad993..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,76 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int loop_count = 0; - int x_38 = 0; - loop_count = 0; - x_38 = 0; - { - while(true) { - int x_45 = 0; - int x_39 = 0; - int x_43 = (x_38 + 1); - loop_count = x_43; - x_45 = x_43; - { - while(true) { - x_39 = (x_45 + 1); - loop_count = x_39; - if ((x_7.injectionSwitch.x < x_7.injectionSwitch.y)) { - return 1; - } - if ((x_7.injectionSwitch.x < x_7.injectionSwitch.y)) { - break; - } - { - x_45 = x_39; - if (!((x_39 < 100))) { break; } - } - continue; - } - } - { - x_38 = x_39; - if (!((x_39 < 100))) { break; } - } - continue; - } - } - return 0; -} -void main_1() { - int x_31 = func_(); - if ((x_31 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 77d4b3f..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,82 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 x_GLF_color = vec4(0.0f); -int func_() { - int loop_count = 0; - int x_38_phi = 0; - loop_count = 0; - x_38_phi = 0; - { - while(true) { - int x_39 = 0; - int x_45_phi = 0; - int x_38 = x_38_phi; - int x_43 = (x_38 + 1); - loop_count = x_43; - x_45_phi = x_43; - { - while(true) { - int x_45 = x_45_phi; - x_39 = (x_45 + 1); - loop_count = x_39; - float x_50 = x_7.injectionSwitch.x; - float x_52 = x_7.injectionSwitch.y; - if ((x_50 < x_52)) { - return 1; - } - float x_57 = x_7.injectionSwitch.x; - float x_59 = x_7.injectionSwitch.y; - if ((x_57 < x_59)) { - break; - } - { - x_45_phi = x_39; - if (!((x_39 < 100))) { break; } - } - continue; - } - } - { - x_38_phi = x_39; - if (!((x_39 < 100))) { break; } - } - continue; - } - } - return 0; -} -void main_1() { - int x_31 = func_(); - if ((x_31 == 1)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 03b051d..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,44 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec4 tint_symbol = vec4(0.0f); -void main_1() { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - if (true) { - if ((tint_symbol.x < 0.0f)) { - { - while(true) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - { - float x_32 = tint_symbol.x; - if (!((x_32 < 0.0f))) { break; } - } - continue; - } - } - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d0cfbde..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,45 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec4 tint_symbol = vec4(0.0f); -void main_1() { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - if (true) { - float x_23 = tint_symbol.x; - if ((x_23 < 0.0f)) { - { - while(true) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - { - float x_32 = tint_symbol.x; - if (!((x_32 < 0.0f))) { break; } - } - continue; - } - } - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 6149317..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,90 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int loop_count = 0; - loop_count = 0; - bool x_36 = (x_7.injectionSwitch.x > x_7.injectionSwitch.y); - if (x_36) { - return; - } - bool x_41 = (tint_symbol.x < 0.0f); - { - while(true) { - if ((loop_count < 100)) { - } else { - break; - } - if (x_36) { - break; - } - if (x_36) { - x_GLF_color = vec4(1.0f); - } else { - if (x_41) { - return; - } - } - if (x_36) { - x_GLF_color = vec4(1.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } - if (x_36) { - return; - } - if (x_41) { - { - while(true) { - if ((loop_count < 100)) { - } else { - break; - } - { - loop_count = (loop_count + 1); - } - continue; - } - } - } - { - loop_count = (loop_count + 1); - } - continue; - } - } - if ((loop_count >= 100)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index d3446e9..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,98 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct buf0 { - vec2 injectionSwitch; -}; - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -uniform buf0 x_7; -vec4 tint_symbol = vec4(0.0f); -vec4 x_GLF_color = vec4(0.0f); -void main_1() { - int loop_count = 0; - loop_count = 0; - float x_33 = x_7.injectionSwitch.x; - float x_35 = x_7.injectionSwitch.y; - bool x_36 = (x_33 > x_35); - if (x_36) { - return; - } - float x_40 = tint_symbol.x; - bool x_41 = (x_40 < 0.0f); - { - while(true) { - int x_43 = loop_count; - if ((x_43 < 100)) { - } else { - break; - } - if (x_36) { - break; - } - if (x_36) { - x_GLF_color = vec4(1.0f); - } else { - if (x_41) { - return; - } - } - if (x_36) { - x_GLF_color = vec4(1.0f); - } else { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } - if (x_36) { - return; - } - if (x_41) { - { - while(true) { - int x_63 = loop_count; - if ((x_63 < 100)) { - } else { - break; - } - { - int x_67 = loop_count; - loop_count = (x_67 + 1); - } - continue; - } - } - } - { - int x_69 = loop_count; - loop_count = (x_69 + 1); - } - continue; - } - } - int x_71 = loop_count; - if ((x_71 >= 100)) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - } else { - x_GLF_color = vec4(1.0f); - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 16afca7..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,48 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 color_1; -}; -precision highp float; -precision highp int; - - -vec4 color = vec4(0.0f); -vec3 drawShape_vf2_(inout vec2 pos) { - bool c3 = false; - bool x_35 = false; - bool x_33 = (pos.y < 1.0f); - c3 = x_33; - x_35 = x_33; - { - while(true) { - if (x_35) { - } else { - break; - } - return vec3(1.0f); - } - } - return vec3(1.0f); -} -void main_1() { - vec2 param = vec2(0.0f); - param = vec2(1.0f); - vec3 x_29 = drawShape_vf2_(param); - color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl deleted file mode 100644 index 3c7226c..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 color_1; -}; -precision highp float; -precision highp int; - - -vec4 color = vec4(0.0f); -vec3 drawShape_vf2_(inout vec2 pos) { - bool c3 = false; - bool x_35_phi = false; - float x_32 = pos.y; - bool x_33 = (x_32 < 1.0f); - c3 = x_33; - x_35_phi = x_33; - { - while(true) { - bool x_35 = x_35_phi; - if (x_35) { - } else { - break; - } - return vec3(1.0f); - } - } - return vec3(1.0f); -} -void main_1() { - vec2 param = vec2(0.0f); - param = vec2(1.0f); - vec3 x_29 = drawShape_vf2_(param); - color = vec4(1.0f, 0.0f, 0.0f, 1.0f); -} -main_out main() { - main_1(); - return main_out(color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl deleted file mode 100644 index c628cd2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,43 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 mand_() { - { - while(true) { - return vec3(1.0f); - } - } - /* unreachable */ -} -void main_1() { - vec3 x_17 = mand_(); - { - while(true) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - return; - } - } - /* unreachable */ -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl deleted file mode 100644 index c628cd2..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl +++ /dev/null
@@ -1,43 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec3 mand_() { - { - while(true) { - return vec3(1.0f); - } - } - /* unreachable */ -} -void main_1() { - vec3 x_17 = mand_(); - { - while(true) { - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - return; - } - } - /* unreachable */ -} -main_out main() { - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : type requires declaration of default precision qualifier -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - - -tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl deleted file mode 100644 index 8b0e0e1..0000000 --- a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl +++ /dev/null
@@ -1,50 +0,0 @@ -SKIP: FAILED - -#version 310 es - -struct main_out { - vec4 x_GLF_color_1; -}; -precision highp float; -precision highp int; - - -vec4 x_GLF_color = vec4(0.0f); -vec4 tint_symbol = vec4(0.0f); -void main_1() { - int i = 0; - x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f); - i = 1; - { - while(true) { - if ((i < 2)) { - } else { - break; - } - if ((tint_symbol.y < 0.0f)) { - if ((tint_symbol.x < 0.0f)) { - x_GLF_color = vec4(226.6959991455078125f, 1.0f, 1.0f, 1.0f); - } - { - i = (i + 1); - } - continue; - } - return; - } - } -} -main_out main(vec4 tint_symbol_2) { - tint_symbol = tint_symbol_2; - main_1(); - return main_out(x_GLF_color); -} -error: Error parsing GLSL shader: -ERROR: 0:4: 'float' : typ