diff --git a/test/tint/benchmark/particles.wgsl.expected.glsl b/test/tint/benchmark/particles.wgsl.expected.glsl index 1e8d94b624..1f06dce321 100644 --- a/test/tint/benchmark/particles.wgsl.expected.glsl +++ b/test/tint/benchmark/particles.wgsl.expected.glsl @@ -7,12 +7,16 @@ layout(location = 1) in vec4 color_1; layout(location = 2) in vec2 quad_pos_1; layout(location = 0) out vec4 color_2; layout(location = 1) out vec2 quad_pos_2; -layout(binding = 0, std140) uniform RenderParams_ubo { +struct RenderParams { mat4 modelViewProjectionMatrix; vec3 right; uint pad; vec3 up; uint pad_1; +}; + +layout(binding = 0, std140) uniform render_params_block_ubo { + RenderParams inner; } render_params; struct VertexInput { @@ -44,10 +48,10 @@ struct UBO { }; VertexOutput vs_main(VertexInput tint_symbol) { - vec3 quad_pos = (mat2x3(render_params.right, render_params.up) * tint_symbol.quad_pos); + vec3 quad_pos = (mat2x3(render_params.inner.right, render_params.inner.up) * tint_symbol.quad_pos); vec3 position = (tint_symbol.position + (quad_pos * 0.01f)); VertexOutput tint_symbol_1 = VertexOutput(vec4(0.0f, 0.0f, 0.0f, 0.0f), vec4(0.0f, 0.0f, 0.0f, 0.0f), vec2(0.0f, 0.0f)); - tint_symbol_1.position = (render_params.modelViewProjectionMatrix * vec4(position, 1.0f)); + tint_symbol_1.position = (render_params.inner.modelViewProjectionMatrix * vec4(position, 1.0f)); tint_symbol_1.color = tint_symbol.color; tint_symbol_1.quad_pos = tint_symbol.quad_pos; return tint_symbol_1; @@ -143,6 +147,14 @@ struct VertexOutput { vec2 quad_pos; }; +struct SimulationParams { + float deltaTime; + uint pad; + uint pad_1; + uint pad_2; + vec4 seed; +}; + struct Particle { vec3 position; float lifetime; @@ -151,12 +163,8 @@ struct Particle { uint pad_3; }; -layout(binding = 0, std140) uniform SimulationParams_ubo { - float deltaTime; - uint pad; - uint pad_1; - uint pad_2; - vec4 seed; +layout(binding = 0, std140) uniform sim_params_block_ubo { + SimulationParams inner; } sim_params; layout(binding = 1, std430) buffer Particles_ssbo { @@ -167,20 +175,27 @@ struct UBO { uint width; }; -uniform highp sampler2D tint_symbol_6; +void assign_and_preserve_padding_data_particles_X(uint dest[1], Particle value) { + data.particles[dest[0]].position = value.position; + data.particles[dest[0]].lifetime = value.lifetime; + data.particles[dest[0]].color = value.color; + data.particles[dest[0]].velocity = value.velocity; +} + +uniform highp sampler2D tint_symbol_2_1; void simulate(uvec3 GlobalInvocationID) { - rand_seed = ((sim_params.seed.xy + vec2(GlobalInvocationID.xy)) * sim_params.seed.zw); + rand_seed = ((sim_params.inner.seed.xy + vec2(GlobalInvocationID.xy)) * sim_params.inner.seed.zw); uint idx = GlobalInvocationID.x; Particle particle = data.particles[idx]; - particle.velocity.z = (particle.velocity.z - (sim_params.deltaTime * 0.5f)); - particle.position = (particle.position + (sim_params.deltaTime * particle.velocity)); - particle.lifetime = (particle.lifetime - sim_params.deltaTime); + particle.velocity.z = (particle.velocity.z - (sim_params.inner.deltaTime * 0.5f)); + particle.position = (particle.position + (sim_params.inner.deltaTime * particle.velocity)); + particle.lifetime = (particle.lifetime - sim_params.inner.deltaTime); particle.color.a = smoothstep(0.0f, 0.5f, particle.lifetime); if ((particle.lifetime < 0.0f)) { uvec2 coord = uvec2(0u); { - for(uint level = (uint(textureQueryLevels(tint_symbol_6)) - 1u); (level > 0u); level = (level - 1u)) { - vec4 probabilites = texelFetch(tint_symbol_6, ivec2(coord), int(level)); + for(uint level = (uint(textureQueryLevels(tint_symbol_2_1)) - 1u); (level > 0u); level = (level - 1u)) { + vec4 probabilites = texelFetch(tint_symbol_2_1, ivec2(coord), int(level)); float tint_symbol_5 = rand(); vec4 value = vec4(tint_symbol_5); bvec4 mask = bvec4(uvec4(greaterThanEqual(value, vec4(0.0f, probabilites.xyz))) & uvec4(lessThan(value, probabilites))); @@ -189,19 +204,20 @@ void simulate(uvec3 GlobalInvocationID) { coord.y = (coord.y + (any(mask.zw) ? 1u : 0u)); } } - vec2 uv = (vec2(coord) / vec2(uvec2(textureSize(tint_symbol_6, 0)))); + vec2 uv = (vec2(coord) / vec2(uvec2(textureSize(tint_symbol_2_1, 0)))); particle.position = vec3((((uv - 0.5f) * 3.0f) * vec2(1.0f, -1.0f)), 0.0f); - particle.color = texelFetch(tint_symbol_6, ivec2(coord), 0); + particle.color = texelFetch(tint_symbol_2_1, ivec2(coord), 0); + float tint_symbol = rand(); + particle.velocity.x = ((tint_symbol - 0.5f) * 0.100000001f); float tint_symbol_1 = rand(); - particle.velocity.x = ((tint_symbol_1 - 0.5f) * 0.100000001f); - float tint_symbol_2 = rand(); - particle.velocity.y = ((tint_symbol_2 - 0.5f) * 0.100000001f); + particle.velocity.y = ((tint_symbol_1 - 0.5f) * 0.100000001f); float tint_symbol_3 = rand(); particle.velocity.z = (tint_symbol_3 * 0.300000012f); float tint_symbol_4 = rand(); particle.lifetime = (0.5f + (tint_symbol_4 * 2.0f)); } - data.particles[idx] = particle; + uint tint_symbol_6[1] = uint[1](idx); + assign_and_preserve_padding_data_particles_X(tint_symbol_6, particle); } layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in; @@ -210,8 +226,8 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:64: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:64: '' : compilation terminated +ERROR: 0:75: 'textureQueryLevels' : no matching overloaded function found +ERROR: 0:75: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -248,11 +264,15 @@ struct Particle { vec3 velocity; }; -layout(binding = 3, std140) uniform UBO_ubo { +struct UBO { uint width; uint pad; uint pad_1; uint pad_2; +}; + +layout(binding = 3, std140) uniform ubo_block_ubo { + UBO inner; } ubo; layout(binding = 4, std430) buffer Buffer_ssbo { @@ -265,7 +285,7 @@ layout(binding = 5, std430) buffer Buffer_ssbo_1 { uniform highp sampler2D tex_in_1; void import_level(uvec3 coord) { - uint offset = (coord.x + (coord.y * ubo.width)); + uint offset = (coord.x + (coord.y * ubo.inner.width)); buf_out.weights[offset] = texelFetch(tex_in_1, ivec2(coord.xy), 0).w; } @@ -306,11 +326,15 @@ struct Particle { vec3 velocity; }; -layout(binding = 3, std140) uniform UBO_ubo { +struct UBO { uint width; uint pad; uint pad_1; uint pad_2; +}; + +layout(binding = 3, std140) uniform ubo_block_ubo { + UBO inner; } ubo; layout(binding = 4, std430) buffer Buffer_ssbo { @@ -324,15 +348,15 @@ layout(binding = 5, std430) buffer Buffer_ssbo_1 { layout(rgba8) uniform highp writeonly image2D tex_out; void export_level(uvec3 coord) { if (all(lessThan(coord.xy, uvec2(uvec2(imageSize(tex_out)))))) { - uint dst_offset = (coord.x + (coord.y * ubo.width)); - uint src_offset = ((coord.x * 2u) + ((coord.y * 2u) * ubo.width)); - float a = buf_in.weights[(src_offset + 0u)]; + uint dst_offset = (coord.x + (coord.y * ubo.inner.width)); + uint src_offset = ((coord.x * 2u) + ((coord.y * 2u) * ubo.inner.width)); + float a_1 = buf_in.weights[(src_offset + 0u)]; float b = buf_in.weights[(src_offset + 1u)]; - float c = buf_in.weights[((src_offset + 0u) + ubo.width)]; - float d = buf_in.weights[((src_offset + 1u) + ubo.width)]; - float sum = dot(vec4(a, b, c, d), vec4(1.0f)); + float c = buf_in.weights[((src_offset + 0u) + ubo.inner.width)]; + float d = buf_in.weights[((src_offset + 1u) + ubo.inner.width)]; + float sum = dot(vec4(a_1, b, c, d), vec4(1.0f)); buf_out.weights[dst_offset] = (sum / 4.0f); - vec4 probabilities = (vec4(a, (a + b), ((a + b) + c), sum) / max(sum, 0.0001f)); + vec4 probabilities = (vec4(a_1, (a_1 + b), ((a_1 + b) + c), sum) / max(sum, 0.0001f)); imageStore(tex_out, ivec2(coord.xy), probabilities); } } diff --git a/test/tint/bug/tint/749.spvasm.expected.glsl b/test/tint/bug/tint/749.spvasm.expected.glsl index ffd5710cf4..2c170a6816 100644 --- a/test/tint/bug/tint/749.spvasm.expected.glsl +++ b/test/tint/bug/tint/749.spvasm.expected.glsl @@ -6,6 +6,7 @@ struct QuicksortObject { } struct buf0 { + /* @offset(0) */ resolution : vec2, } diff --git a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.glsl index e7ccd0b498..714eae0da9 100644 --- a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.glsl index bccd8f9506..842c357151 100644 --- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 0.0); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 0.0); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 0.0); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.glsl index 032fe349e3..15d0f891ad 100644 --- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.glsl index e22bd9087e..63508bd259 100644 --- a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.glsl index 4d3f177be9..a998ff3b3a 100644 --- a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 0.0); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 0.0); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 0.0); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 0.0); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.glsl index 32ae8411a5..bce8ff4c12 100644 --- a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.glsl index ba57a13978..01681ea84d 100644 --- a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.glsl index 0ab379a840..482f3798e3 100644 --- a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.glsl index 58ea7cff25..79a9a5028d 100644 --- a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.glsl index b4697afe2d..87c676f99d 100644 --- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.glsl index 09738fab62..5c9ba97935 100644 --- a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.glsl index db135027be..ad11387ca9 100644 --- a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), int(1u)); + vec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.glsl index 40eaec4beb..f720f705b0 100644 --- a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1u)), int(1u)); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1u)), int(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.glsl index f8eed5e615..fd1cea5b2b 100644 --- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(vec3(1.0f), float(1)), 1); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.glsl index c7efa641f0..0d6155feaa 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.glsl index be729a04fa..991d79344d 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.glsl index 221c6b6fa4..8baec25076 100644 --- a/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSample_4703d0() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.glsl index a7f643c445..25e8a68024 100644 --- a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSample_4dd1bf() { - vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))); + vec4 res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1))); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.glsl index ea3660f788..a68ee2477a 100644 --- a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSample_60bf45() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.glsl index 4871559130..db08545ef8 100644 --- a/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSample_7fd8cb() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 0.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 0.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.glsl index 9007344837..daf390f1e6 100644 --- a/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSample_bc7477() { - vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u))); + vec4 res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u))); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.glsl index a3e7932ef8..bdf506dd28 100644 --- a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSample_c2f4e8() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 0.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.glsl index 3338dd1132..c0fd5d16ff 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleBias_c6953d() { - vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.glsl index ae018215aa..50f039d907 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleBias_eed7c4() { - vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.glsl index 623232f71d..978805e51e 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompare_1912e5() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.glsl index 0a1dfc33e0..d5e3a67794 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompare_7b5025() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 1.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.glsl index 870eca9899..051c0c88c0 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompare_a3ca7e() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.glsl index e20d8bfe24..04fc31f69f 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompare_af1051() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 1.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl index 50371428ae..63af8d10dd 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.glsl index 9385379afd..3e367b5168 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + float res = texture(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl index 04915fc22b..8cead6ff5e 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 1.0f), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 1.0f), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 1.0f), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl index b5df2f6e10..217eb75d3f 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 1.0f), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 1.0f), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - float res = textureOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 1.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 1.0f), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.glsl index 0123ec3250..e72a4c4abb 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), vec3(1.0f), vec3(1.0f)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), vec3(1.0f), vec3(1.0f)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), vec3(1.0f), vec3(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.glsl index 43f6aad626..33fc8acbb6 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1)), vec3(1.0f), vec3(1.0f)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1)), vec3(1.0f), vec3(1.0f)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f), vec3(0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(vec3(1.0f), float(1)), vec3(1.0f), vec3(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.glsl index 22a75bfba9..cb8357cc2f 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl index 7d733eec95..257102db65 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl index 377cb1b5e2..b185131ef8 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl index d2d5df84a8..9baf6b8603 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl index 1010584354..adfd9620b3 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl index 6c1e027140..4c73009662 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1)), 0.0f), float(1u), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl index ecf8622b49..9b99c650a0 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl index 8eff1cb1e1..6019b3cdfa 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.glsl index 774f1023a7..598fdcda1a 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.glsl index 278f53a672..ad32382f21 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.glsl index 71141d5d14..3bb1d52013 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), 1.0f); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.glsl index 7c367c4a5b..cc79d0562e 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1)), float(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl index 2e11ac2e62..2989c0ecd4 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1u)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1u)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, 0.0f), float(1u)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), 0.0f), float(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl index db5abed467..b6a33e0250 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1u), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1u), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl index 203b99a78d..22db161474 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1), ivec2(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1), ivec2(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - float res = textureLodOffset(arg_0_arg_1, vec4(0.0f, 0.0f, float(1u), 0.0f), float(1), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(vec2(1.0f), float(1u)), 0.0f), float(1), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.glsl index dd5a84428e..8cf31261ba 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1)); } vec4 vertex_main() { @@ -34,7 +34,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1)); } void fragment_main() { @@ -57,7 +57,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1u)), float(1)); + float res = textureLod(arg_0_arg_1, vec4(vec3(1.0f), float(1u)), float(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.glsl index 855df0f55e..02179c837d 100644 --- a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0), vec4(0.0f)); + imageStore(arg_0, ivec2(1), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0), vec4(0.0f)); + imageStore(arg_0, ivec2(1), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0), vec4(0.0f)); + imageStore(arg_0, ivec2(1), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.glsl index 0951b51ae2..c78f285636 100644 --- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.glsl index 9023bec4ce..874e204330 100644 --- a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.glsl index 7c2a380ada..a93d2032b3 100644 --- a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0), ivec4(0)); + imageStore(arg_0, ivec3(1), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0), ivec4(0)); + imageStore(arg_0, ivec3(1), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0), ivec4(0)); + imageStore(arg_0, ivec3(1), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.glsl index 2aea958a37..2c24579388 100644 --- a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.glsl index f2680141cc..2f68d867f6 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.glsl index b53dc33cc0..a307eae77c 100644 --- a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.glsl index 2564492430..d39c865f02 100644 --- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.glsl index 2500adfc3b..56f90f39d1 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.glsl index a475f2221c..36dda83267 100644 --- a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0), ivec4(0)); + imageStore(arg_0, ivec2(1), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0), ivec4(0)); + imageStore(arg_0, ivec2(1), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0), ivec4(0)); + imageStore(arg_0, ivec2(1), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.glsl index 8f0f990785..ca1c1f1b53 100644 --- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.glsl index 2f70fdd08d..4e8eebd8c1 100644 --- a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.glsl index 1e279f21de..7fca5f4554 100644 --- a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.glsl index 6fe291b0db..567bc86059 100644 --- a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.glsl index b1e3929907..6bdb8e2792 100644 --- a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.glsl index d8e3510475..75e20e291b 100644 --- a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - imageStore(arg_0, ivec2(uvec2(0u)), uvec4(0u)); + imageStore(arg_0, ivec2(uvec2(1u)), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - imageStore(arg_0, ivec2(uvec2(0u)), uvec4(0u)); + imageStore(arg_0, ivec2(uvec2(1u)), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - imageStore(arg_0, ivec2(uvec2(0u)), uvec4(0u)); + imageStore(arg_0, ivec2(uvec2(1u)), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.glsl index 188004640a..5dea1f99ea 100644 --- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.glsl index 161d80f599..8a2245bb92 100644 --- a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, 1u)), uvec4(0u)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), 1u)), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.glsl index f342c66b4b..c8ad73a1c5 100644 --- a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.glsl index 0724c65968..b6962724ef 100644 --- a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - imageStore(arg_0, ivec3(0, 0, int(1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - imageStore(arg_0, ivec3(0, 0, int(1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - imageStore(arg_0, ivec3(0, 0, int(1u)), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.glsl index 8b99c50a31..08c86882ba 100644 --- a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0), uvec4(0u)); + imageStore(arg_0, ivec2(1), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0), uvec4(0u)); + imageStore(arg_0, ivec2(1), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0), uvec4(0u)); + imageStore(arg_0, ivec2(1), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.glsl index 8d8e53ffea..7ea0dcad38 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.glsl index 74eaa9fe1e..af65051373 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.glsl index 812e349afe..b916425afb 100644 --- a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - imageStore(arg_0, ivec2(uvec2(0u)), vec4(0.0f)); + imageStore(arg_0, ivec2(uvec2(1u)), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - imageStore(arg_0, ivec2(uvec2(0u)), vec4(0.0f)); + imageStore(arg_0, ivec2(uvec2(1u)), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - imageStore(arg_0, ivec2(uvec2(0u)), vec4(0.0f)); + imageStore(arg_0, ivec2(uvec2(1u)), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.glsl index 9b394c8552..ca9911c9f6 100644 --- a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.glsl index 12f9790647..572187a7ba 100644 --- a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - imageStore(arg_0, ivec3(0, 0, int(1u)), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - imageStore(arg_0, ivec3(0, 0, int(1u)), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - imageStore(arg_0, ivec3(0, 0, int(1u)), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.glsl index 33a010e985..bf5d1af379 100644 --- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.glsl index b3342f8bda..c3e21ed88b 100644 --- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.glsl index 3feee78575..b6b9982d4b 100644 --- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.glsl index 2a19ced2e1..80ed6ae43f 100644 --- a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.glsl index 2c0a360b1e..c381fc1162 100644 --- a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.glsl index dd1193b1df..3603c31e4e 100644 --- a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.glsl index 793221f829..46975745c0 100644 --- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.glsl index 260128a31f..5d8afd9721 100644 --- a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - imageStore(arg_0, ivec2(uvec2(0u)), ivec4(0)); + imageStore(arg_0, ivec2(uvec2(1u)), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - imageStore(arg_0, ivec2(uvec2(0u)), ivec4(0)); + imageStore(arg_0, ivec2(uvec2(1u)), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - imageStore(arg_0, ivec2(uvec2(0u)), ivec4(0)); + imageStore(arg_0, ivec2(uvec2(1u)), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.glsl index d0953bc52e..b0db4ff3cb 100644 --- a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.glsl index 04b7a84994..ec339e9223 100644 --- a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.glsl index 5662bc9e17..ca4082b76f 100644 --- a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0), uvec4(0u)); + imageStore(arg_0, ivec3(1), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0), uvec4(0u)); + imageStore(arg_0, ivec3(1), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0), uvec4(0u)); + imageStore(arg_0, ivec3(1), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.glsl index cd77fcdbc2..b9541c492e 100644 --- a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.glsl index 1ac7ccd1e8..b45770f458 100644 --- a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.glsl index 892ebeab4c..69290d0f15 100644 --- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.glsl index 9f4f693da6..4e368246ff 100644 --- a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.glsl index fb070a68bb..a75087a7da 100644 --- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), 1), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), 1), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f)); + imageStore(arg_0, ivec3(ivec2(1), 1), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.glsl index ac9e79cd1d..8b958944fa 100644 --- a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { - imageStore(arg_0, int(1u), uvec4(0u)); + imageStore(arg_0, int(1u), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.glsl index 494b6a21d7..c22e0af4f4 100644 --- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0)); + imageStore(arg_0, 1, ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.glsl index 6baa1cd329..f12a334867 100644 --- a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - imageStore(arg_0, ivec3(uvec3(0u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(1u)), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - imageStore(arg_0, ivec3(uvec3(0u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(1u)), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - imageStore(arg_0, ivec3(uvec3(0u)), ivec4(0)); + imageStore(arg_0, ivec3(uvec3(1u)), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.glsl index cff2439450..48d377072a 100644 --- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), 1), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), 1), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), 1), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.glsl index 83e4696907..7b68c04488 100644 --- a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { - imageStore(arg_0, int(1u), ivec4(0)); + imageStore(arg_0, int(1u), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.glsl index abd545778a..40ed60cca5 100644 --- a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - imageStore(arg_0, ivec3(uvec3(0u, 0u, uint(1))), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(uvec2(1u), uint(1))), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.glsl index 1f48bf2605..e12b601b28 100644 --- a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - imageStore(arg_0, ivec3(0, 0, int(1u)), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), uvec4(1u)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - imageStore(arg_0, ivec3(0, 0, int(1u)), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), uvec4(1u)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - imageStore(arg_0, ivec3(0, 0, int(1u)), uvec4(0u)); + imageStore(arg_0, ivec3(ivec2(1), int(1u)), uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.glsl index 9943f8b406..95f750580a 100644 --- a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { - imageStore(arg_0, int(1u), vec4(0.0f)); + imageStore(arg_0, int(1u), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.glsl index b537ea34ff..7d76c5ad6a 100644 --- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f)); + imageStore(arg_0, 1, vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.glsl index b22d59687e..4e2d552899 100644 --- a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0), vec4(0.0f)); + imageStore(arg_0, ivec3(1), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0), vec4(0.0f)); + imageStore(arg_0, ivec3(1), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0), vec4(0.0f)); + imageStore(arg_0, ivec3(1), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.glsl index da09edea21..1b33331762 100644 --- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), 1), ivec4(1)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), 1), ivec4(1)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0)); + imageStore(arg_0, ivec3(ivec2(1), 1), ivec4(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.glsl index 958307856f..7a0cd4d596 100644 --- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } vec4 vertex_main() { @@ -33,7 +33,7 @@ precision mediump float; layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void fragment_main() { @@ -56,7 +56,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u)); + imageStore(arg_0, 1, uvec4(1u)); } void compute_main() { diff --git a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.glsl index 87b611e272..eceabec61a 100644 --- a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - imageStore(arg_0, ivec3(uvec3(0u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(1u)), vec4(1.0f)); } vec4 vertex_main() { @@ -32,7 +32,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - imageStore(arg_0, ivec3(uvec3(0u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(1u)), vec4(1.0f)); } void fragment_main() { @@ -54,7 +54,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - imageStore(arg_0, ivec3(uvec3(0u)), vec4(0.0f)); + imageStore(arg_0, ivec3(uvec3(1u)), vec4(1.0f)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.glsl index ae9e2a01ac..ae4d72daeb 100644 --- a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_04fa78() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.glsl index 864a150164..cd6c7d26ac 100644 --- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_43025d() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.glsl index 17c501c5d1..b897f9e9ba 100644 --- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_751f8a() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.glsl index 57e0d6cf67..7afc09f22b 100644 --- a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_788010() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.glsl index d7fca45845..cbab069dca 100644 --- a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGather_7dd226() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0); } diff --git a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.glsl index 1fa2dffb40..6f9e39d7e4 100644 --- a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_829357() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.glsl index a3c29f8363..97ac25f915 100644 --- a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_8578bc() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.glsl index fed7580e0a..b357ab07d2 100644 --- a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_aaf6bd() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.glsl index 2ef6086e76..77c9caaeb4 100644 --- a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_be276f() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.glsl index a15bb750df..207c4779dc 100644 --- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c0640c() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; ivec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.glsl index 35551c6871..6278040299 100644 --- a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_d4b5c6() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.glsl index 62c83c404b..7ddd1c5e61 100644 --- a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_1_arg_2; void textureGather_d98d59() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; vec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.glsl index a4fd26faef..50bc90cbbf 100644 --- a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_e2acac() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); uint arg_4 = 1u; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), int(1u)); } diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.glsl index 0b0838a02b..db3a370d3e 100644 --- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_f2c6e3() { - vec3 arg_3 = vec3(0.0f); + vec3 arg_3 = vec3(1.0f); int arg_4 = 1; uvec4 res = textureGather(arg_1_arg_2, vec4(arg_3, float(arg_4)), 1); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.glsl index 51c85b2fdb..5840d6011b 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_2e409c() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.glsl index 33e06ee954..d969eebdfa 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureGather(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.glsl index fc371e23c1..3cf870018c 100644 --- a/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.glsl @@ -6,9 +6,9 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSample_4703d0() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.glsl index 8d39802d54..d5232d5761 100644 --- a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSample_4dd1bf() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; vec4 res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3))); } diff --git a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.glsl index bd4eaf2087..c97beb86ec 100644 --- a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.glsl @@ -6,9 +6,9 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSample_60bf45() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.glsl index d95de69acf..83da0bcef1 100644 --- a/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSample_7fd8cb() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0f); } diff --git a/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.glsl index 1354303f9d..d93ec356f3 100644 --- a/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSample_bc7477() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; vec4 res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3))); } diff --git a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.glsl index 31ee71fd05..8252825387 100644 --- a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSample_c2f4e8() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), 0.0f); } diff --git a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.glsl index aeeabb163f..18a388a9c5 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleBias_c6953d() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.glsl index e26885390c..6cc7cbb346 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleBias_eed7c4() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.glsl index 794ee029b0..18aa1a8d79 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompare_1912e5() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.glsl index 1fb97d6c6a..235b30dd88 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.glsl @@ -6,10 +6,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompare_7b5025() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.glsl index f822276b23..b87a8e2b1f 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompare_a3ca7e() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.glsl index 3633f07d0e..57f13c26f9 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.glsl @@ -6,10 +6,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompare_af1051() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void fragment_main() { diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl index dbec8ba1ac..5fb7acf73f 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.glsl index e765407787..ce7a06660b 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleCompareLevel_958c87() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; float res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl index abe4ad64e6..05d1ed334f 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_b6e47c() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl index 75de5c7c32..c2e279e21f 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleCompareLevel_bcb3dd() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; - float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(0)); + float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.glsl index 19810e7be2..baf5196748 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } @@ -38,10 +38,10 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } @@ -65,10 +65,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_bbb58f() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.glsl index 7e0c762254..07d9151cc2 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } @@ -38,10 +38,10 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } @@ -65,10 +65,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; - vec3 arg_4 = vec3(0.0f); - vec3 arg_5 = vec3(0.0f); + vec3 arg_4 = vec3(1.0f); + vec3 arg_5 = vec3(1.0f); vec4 res = textureGrad(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.glsl index 5cff227c6b..0b9c4614e2 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl index 39ada01153..cb9030eac4 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_1b0291() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl index fdc66c1e52..6f374db5cf 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_1bf73e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl index 185c1ae0c5..0e39fc1eea 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_2974eb() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl index eafbee885b..294b600ff7 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36780e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl index 8b7fae432e..b157b7d649 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_36f0d3() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); int arg_3 = 1; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl index 17c62e389f..8b2a128e57 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_3c3442() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl index 1a8bebff41..a01a92bb62 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_615583() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.glsl index 8a2f1a0c23..9ecab6d24d 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_941a53() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.glsl index 3d24c0f9d9..2e205ca681 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_a12142() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; uint arg_4 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.glsl index 4f9d09d646..ed7ade4205 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_aab3b9() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float arg_4 = 1.0f; vec4 res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), arg_4); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.glsl index 03fa0be23d..3741daf237 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ae5e39() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); int arg_3 = 1; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl index feffd84766..54a82463e1 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } @@ -36,7 +36,7 @@ precision mediump float; uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeShadow arg_0_arg_1; void textureSampleLevel_ae92a2() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; float res = textureLod(arg_0_arg_1, vec4(arg_2, 0.0f), float(arg_3)); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl index 3c550b9156..e6e12b393f 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_cdfe0f() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; uint arg_4 = 1u; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl index 3c58f6c87a..61e18914ea 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl @@ -5,10 +5,10 @@ SKIP: FAILED uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } vec4 vertex_main() { @@ -37,10 +37,10 @@ precision mediump float; uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void fragment_main() { @@ -63,10 +63,10 @@ ERROR: 2 compilation errors. No code generated. uniform highp sampler2DArrayShadow arg_0_arg_1; void textureSampleLevel_e6ce9e() { - vec2 arg_2 = vec2(0.0f); + vec2 arg_2 = vec2(1.0f); uint arg_3 = 1u; int arg_4 = 1; - float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(0)); + float res = textureLodOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), float(arg_4), ivec2(1)); } void compute_main() { diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.glsl index e3d2bb2882..e55c383b79 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -37,7 +37,7 @@ precision mediump float; uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); @@ -63,7 +63,7 @@ ERROR: 2 compilation errors. No code generated. uniform highp samplerCubeArrayShadow arg_0_arg_1; void textureSampleLevel_ff11bc() { - vec3 arg_2 = vec3(0.0f); + vec3 arg_2 = vec3(1.0f); uint arg_3 = 1u; int arg_4 = 1; float res = textureLod(arg_0_arg_1, vec4(arg_2, float(arg_3)), float(arg_4)); diff --git a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.glsl index b7cf6cd5b7..77b96857cf 100644 --- a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - ivec2 arg_1 = ivec2(0); - vec4 arg_2 = vec4(0.0f); + ivec2 arg_1 = ivec2(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - ivec2 arg_1 = ivec2(0); - vec4 arg_2 = vec4(0.0f); + ivec2 arg_1 = ivec2(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - ivec2 arg_1 = ivec2(0); - vec4 arg_2 = vec4(0.0f); + ivec2 arg_1 = ivec2(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.glsl index 79c3f3a7d3..bb01c0a8ae 100644 --- a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.glsl index 3a1e8e287a..7ba68db20a 100644 --- a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_1dc954() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.glsl index 8b3dd99ab9..0bd807560c 100644 --- a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - ivec3 arg_1 = ivec3(0); - ivec4 arg_2 = ivec4(0); + ivec3 arg_1 = ivec3(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - ivec3 arg_1 = ivec3(0); - ivec4 arg_2 = ivec4(0); + ivec3 arg_1 = ivec3(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - ivec3 arg_1 = ivec3(0); - ivec4 arg_2 = ivec4(0); + ivec3 arg_1 = ivec3(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.glsl index ea017e259d..0e5b2732f2 100644 --- a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_285218() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.glsl index 199d3fd88d..9ec94ea815 100644 --- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.glsl index cf424c5e71..0b8dd66cc0 100644 --- a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_2d2835() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.glsl index 3d85eaf4f5..90a79951d8 100644 --- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.glsl index 90689a7c8e..ec43125b7b 100644 --- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.glsl index e5e4f60990..4a1906c87b 100644 --- a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - ivec2 arg_1 = ivec2(0); - ivec4 arg_2 = ivec4(0); + ivec2 arg_1 = ivec2(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - ivec2 arg_1 = ivec2(0); - ivec4 arg_2 = ivec4(0); + ivec2 arg_1 = ivec2(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - ivec2 arg_1 = ivec2(0); - ivec4 arg_2 = ivec4(0); + ivec2 arg_1 = ivec2(1); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.glsl index 99b7eef8e6..4e5d74810a 100644 --- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.glsl index 13ee98a290..36538758b2 100644 --- a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3c1937() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.glsl index ca32e2d072..347618a36f 100644 --- a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_3d6f01() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.glsl index 941cf5f386..71958aaedf 100644 --- a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_4c454f() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.glsl index f62af08eb2..3fdf50e2f7 100644 --- a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_4d359d() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.glsl index c8f958ab8b..d72182b52b 100644 --- a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - uvec2 arg_1 = uvec2(0u); - uvec4 arg_2 = uvec4(0u); + uvec2 arg_1 = uvec2(1u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - uvec2 arg_1 = uvec2(0u); - uvec4 arg_2 = uvec4(0u); + uvec2 arg_1 = uvec2(1u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_506a71() { - uvec2 arg_1 = uvec2(0u); - uvec4 arg_2 = uvec4(0u); + uvec2 arg_1 = uvec2(1u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, ivec2(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.glsl index 00c217817c..123a580529 100644 --- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.glsl index cedf8d3b2a..7272afab09 100644 --- a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_5bc4f3() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(uvec3(arg_1, arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.glsl index c117bf52e8..a40a3fadd6 100644 --- a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_602b5a() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.glsl index e18d90045b..3ad8560ac1 100644 --- a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_658a74() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.glsl index 02980deab8..6162fa80f6 100644 --- a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - ivec2 arg_1 = ivec2(0); - uvec4 arg_2 = uvec4(0u); + ivec2 arg_1 = ivec2(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - ivec2 arg_1 = ivec2(0); - uvec4 arg_2 = uvec4(0u); + ivec2 arg_1 = ivec2(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - ivec2 arg_1 = ivec2(0); - uvec4 arg_2 = uvec4(0u); + ivec2 arg_1 = ivec2(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.glsl index 851f0cb487..b1c6052ba2 100644 --- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.glsl index 2fd85dc9f8..1ef7771cc4 100644 --- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.glsl index bbc6fea9fb..e7efc9fd4d 100644 --- a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - uvec2 arg_1 = uvec2(0u); - vec4 arg_2 = vec4(0.0f); + uvec2 arg_1 = uvec2(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - uvec2 arg_1 = uvec2(0u); - vec4 arg_2 = vec4(0.0f); + uvec2 arg_1 = uvec2(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_726472() { - uvec2 arg_1 = uvec2(0u); - vec4 arg_2 = vec4(0.0f); + uvec2 arg_1 = uvec2(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec2(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.glsl index 6ca1d78e53..e76c7ed7ec 100644 --- a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_72fa64() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.glsl index 11b482dc89..12d870783a 100644 --- a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7bb211() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.glsl index 1658f25e1a..6e6aa779a6 100644 --- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.glsl index d44613f744..fef2f65ab4 100644 --- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.glsl index c07a4da762..03366aeec3 100644 --- a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.glsl index 8eff443142..207ca5e803 100644 --- a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_8c76e9() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.glsl index 8de851780b..7cf63cef2f 100644 --- a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_958353() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.glsl index f625148b6d..6493f457f7 100644 --- a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_959d94() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.glsl index 488d24e1cc..f6a0206a73 100644 --- a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.glsl index 7c24593d39..18cc9b68a7 100644 --- a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - uvec2 arg_1 = uvec2(0u); - ivec4 arg_2 = ivec4(0); + uvec2 arg_1 = uvec2(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - uvec2 arg_1 = uvec2(0u); - ivec4 arg_2 = ivec4(0); + uvec2 arg_1 = uvec2(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec2(arg_1), arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_9f5318() { - uvec2 arg_1 = uvec2(0u); - ivec4 arg_2 = ivec4(0); + uvec2 arg_1 = uvec2(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec2(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.glsl index 61ce0ec560..0b9d310b33 100644 --- a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_a4c338() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.glsl index aa2d146671..583ceaeb77 100644 --- a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_a6e78f() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.glsl index 95a8c41a1b..3d1069830b 100644 --- a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - ivec3 arg_1 = ivec3(0); - uvec4 arg_2 = uvec4(0u); + ivec3 arg_1 = ivec3(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - ivec3 arg_1 = ivec3(0); - uvec4 arg_2 = uvec4(0u); + ivec3 arg_1 = ivec3(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - ivec3 arg_1 = ivec3(0); - uvec4 arg_2 = uvec4(0u); + ivec3 arg_1 = ivec3(1); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.glsl index 75601c231e..b4d7af6dcc 100644 --- a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_b70ded() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.glsl index 942bee3f13..794411662a 100644 --- a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_b77161() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.glsl index 276322e6f1..7dabf5be2d 100644 --- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.glsl index 4473606dcd..add07eb5f0 100644 --- a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_c1f29e() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.glsl index 964605ed97..519e05f527 100644 --- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.glsl index dbd3c654d3..ebd121a308 100644 --- a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_d26166() { uint arg_1 = 1u; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.glsl index ca21e8d934..91293953ab 100644 --- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -35,7 +35,7 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } @@ -59,7 +59,7 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { int arg_1 = 1; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.glsl index 106b253398..66589dc9ca 100644 --- a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - uvec3 arg_1 = uvec3(0u); - ivec4 arg_2 = ivec4(0); + uvec3 arg_1 = uvec3(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec3(arg_1), arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - uvec3 arg_1 = uvec3(0u); - ivec4 arg_2 = ivec4(0); + uvec3 arg_1 = uvec3(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec3(arg_1), arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_d82b0a() { - uvec3 arg_1 = uvec3(0u); - ivec4 arg_2 = ivec4(0); + uvec3 arg_1 = uvec3(1u); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, ivec3(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.glsl index 30fc1380d6..af5d0086da 100644 --- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.glsl index e9d84ef8a6..38118643ad 100644 --- a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_de4b94() { uint arg_1 = 1u; - ivec4 arg_2 = ivec4(0); + ivec4 arg_2 = ivec4(1); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.glsl index b348fdecf9..fb3f1ced71 100644 --- a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_dfa9a1() { - uvec2 arg_1 = uvec2(0u); + uvec2 arg_1 = uvec2(1u); int arg_2 = 1; - vec4 arg_3 = vec4(0.0f); + vec4 arg_3 = vec4(1.0f); imageStore(arg_0, ivec3(uvec3(arg_1, uint(arg_2))), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.glsl index f6261574f7..28f9b870e1 100644 --- a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dffb13() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); uint arg_2 = 1u; - uvec4 arg_3 = uvec4(0u); + uvec4 arg_3 = uvec4(1u); imageStore(arg_0, ivec3(arg_1, int(arg_2)), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.glsl index 024a799244..06eff87c57 100644 --- a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_e7c6d8() { uint arg_1 = 1u; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, int(arg_1), arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.glsl index ceee356612..658099b3c2 100644 --- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { int arg_1 = 1; - vec4 arg_2 = vec4(0.0f); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.glsl index bce0c58279..7e4e5ea661 100644 --- a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - ivec3 arg_1 = ivec3(0); - vec4 arg_2 = vec4(0.0f); + ivec3 arg_1 = ivec3(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - ivec3 arg_1 = ivec3(0); - vec4 arg_2 = vec4(0.0f); + ivec3 arg_1 = ivec3(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - ivec3 arg_1 = ivec3(0); - vec4 arg_2 = vec4(0.0f); + ivec3 arg_1 = ivec3(1); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.glsl index 60b3e0b612..5de9e5f61f 100644 --- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.glsl @@ -4,9 +4,9 @@ SKIP: FAILED layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -35,9 +35,9 @@ precision mediump float; layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } @@ -60,9 +60,9 @@ ERROR: 2 compilation errors. No code generated. layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - ivec2 arg_1 = ivec2(0); + ivec2 arg_1 = ivec2(1); int arg_2 = 1; - ivec4 arg_3 = ivec4(0); + ivec4 arg_3 = ivec4(1); imageStore(arg_0, ivec3(arg_1, arg_2), arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.glsl index 9976dc1c49..33b004fcf1 100644 --- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.glsl @@ -5,7 +5,7 @@ SKIP: FAILED layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -36,7 +36,7 @@ precision mediump float; layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } @@ -61,7 +61,7 @@ ERROR: 2 compilation errors. No code generated. layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { int arg_1 = 1; - uvec4 arg_2 = uvec4(0u); + uvec4 arg_2 = uvec4(1u); imageStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.glsl index 5f0b171cce..5229147e89 100644 --- a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.glsl +++ b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.glsl @@ -4,8 +4,8 @@ SKIP: FAILED layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - uvec3 arg_1 = uvec3(0u); - vec4 arg_2 = vec4(0.0f); + uvec3 arg_1 = uvec3(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1), arg_2); } @@ -34,8 +34,8 @@ precision mediump float; layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - uvec3 arg_1 = uvec3(0u); - vec4 arg_2 = vec4(0.0f); + uvec3 arg_1 = uvec3(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1), arg_2); } @@ -58,8 +58,8 @@ ERROR: 2 compilation errors. No code generated. layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_fcbe66() { - uvec3 arg_1 = uvec3(0u); - vec4 arg_2 = vec4(0.0f); + uvec3 arg_1 = uvec3(1u); + vec4 arg_2 = vec4(1.0f); imageStore(arg_0, ivec3(arg_1), arg_2); }