[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/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 cfd1eb2..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..899af2b4 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 133a53b..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..459ed523 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 cfd1eb2..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..899af2b4 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..d72bd16 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 5e07ef5..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..97218d5 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;