diff --git a/src/inspector/inspector.cc b/src/inspector/inspector.cc index 57db7114b6..c897708c7a 100644 --- a/src/inspector/inspector.cc +++ b/src/inspector/inspector.cc @@ -535,6 +535,29 @@ std::vector Inspector::GetSamplerTextureUses( return it->second; } +std::vector Inspector::GetSamplerTextureUses( + const std::string& entry_point, + const sem::BindingPoint& placeholder) { + auto* func = FindEntryPointByName(entry_point); + if (!func) { + return {}; + } + auto* func_sem = program_->Sem().Get(func); + + std::vector new_pairs; + for (auto pair : func_sem->TextureSamplerPairs()) { + auto* texture = pair.first->As(); + auto* sampler = + pair.second ? pair.second->As() : nullptr; + SamplerTexturePair new_pair; + new_pair.sampler_binding_point = + sampler ? sampler->BindingPoint() : placeholder; + new_pair.texture_binding_point = texture->BindingPoint(); + new_pairs.push_back(new_pair); + } + return new_pairs; +} + uint32_t Inspector::GetWorkgroupStorageSize(const std::string& entry_point) { auto* func = FindEntryPointByName(entry_point); if (!func) { diff --git a/src/inspector/inspector.h b/src/inspector/inspector.h index f9ae0212d8..4bfac5191a 100644 --- a/src/inspector/inspector.h +++ b/src/inspector/inspector.h @@ -135,6 +135,15 @@ class Inspector { std::vector GetSamplerTextureUses( const std::string& entry_point); + /// @param entry_point name of the entry point to get information about. + /// @param placeholder the sampler binding point to use for texture-only + /// access (e.g., textureLoad) + /// @returns vector of all of the sampler/texture sampling pairs that are used + /// by that entry point. + std::vector GetSamplerTextureUses( + const std::string& entry_point, + const sem::BindingPoint& placeholder); + /// @param entry_point name of the entry point to get information about. /// @returns the total size in bytes of all Workgroup storage-class storage /// referenced transitively by the entry point. diff --git a/src/resolver/resolver.cc b/src/resolver/resolver.cc index e5924e9561..0bb8670e4b 100644 --- a/src/resolver/resolver.cc +++ b/src/resolver/resolver.cc @@ -1400,12 +1400,14 @@ sem::Call* Resolver::BuiltinCall(const ast::CallExpression* expr, } auto* texture = args[texture_index]->As()->Variable(); - int sampler_index = signature.IndexOf(sem::ParameterUsage::kSampler); - const sem::Variable* sampler = - sampler_index != -1 - ? args[sampler_index]->As()->Variable() - : nullptr; - current_function_->AddTextureSamplerPair(texture, sampler); + if (!texture->Type()->UnwrapRef()->Is()) { + int sampler_index = signature.IndexOf(sem::ParameterUsage::kSampler); + const sem::Variable* sampler = + sampler_index != -1 + ? args[sampler_index]->As()->Variable() + : nullptr; + current_function_->AddTextureSamplerPair(texture, sampler); + } } if (!ValidateBuiltinCall(call)) { diff --git a/src/transform/combine_samplers.cc b/src/transform/combine_samplers.cc index cff99d8e21..5efb357e60 100644 --- a/src/transform/combine_samplers.cc +++ b/src/transform/combine_samplers.cc @@ -39,8 +39,9 @@ bool IsGlobal(const tint::sem::VariablePair& pair) { namespace tint { namespace transform { -CombineSamplers::BindingInfo::BindingInfo(const BindingMap& map) - : binding_map(map) {} +CombineSamplers::BindingInfo::BindingInfo(const BindingMap& map, + const sem::BindingPoint& placeholder) + : binding_map(map), placeholder_binding_point(placeholder) {} CombineSamplers::BindingInfo::BindingInfo(const BindingInfo& other) = default; CombineSamplers::BindingInfo::~BindingInfo() = default; @@ -106,12 +107,12 @@ struct CombineSamplers::State { texture_var->As()->BindingPoint(); bp_pair.sampler_binding_point = sampler_var ? sampler_var->As()->BindingPoint() - : BindingPoint(); + : binding_info->placeholder_binding_point; auto it = binding_info->binding_map.find(bp_pair); if (it != binding_info->binding_map.end()) { name = it->second; } - const ast::Type* type = CreateASTTypeFor(ctx, texture_var->Type()); + const ast::Type* type = CreateCombinedASTTypeFor(texture_var, sampler_var); Symbol symbol = ctx.dst->Symbols().New(name); return ctx.dst->Global(symbol, type, Attributes()); } @@ -128,6 +129,24 @@ struct CombineSamplers::State { return ctx.dst->Global(symbol, type, Attributes()); } + /// Creates ast::Type for a given texture and sampler variable pair. + /// Depth textures with no samplers are turned into the corresponding + /// f32 texture (e.g., texture_depth_2d -> texture_2d). + /// @param texture the texture variable of interest + /// @param sampler the texture variable of interest + /// @returns the newly-created type + const ast::Type* CreateCombinedASTTypeFor(const sem::Variable* texture, + const sem::Variable* sampler) { + const sem::Type* texture_type = texture->Type()->UnwrapRef(); + const sem::DepthTexture* depth = texture_type->As(); + if (depth && !sampler) { + return ctx.dst->create(depth->dim(), + ctx.dst->create()); + } else { + return CreateASTTypeFor(ctx, texture_type); + } + } + /// Performs the transformation void Run() { auto& sem = ctx.src->Sem(); @@ -136,7 +155,8 @@ struct CombineSamplers::State { // by combined samplers. for (auto* var : ctx.src->AST().GlobalVariables()) { auto* type = sem.Get(var->type); - if (type && type->IsAnyOf()) { + if (type && type->IsAnyOf() && + !type->Is()) { ctx.Remove(ctx.src->AST().GlobalDeclarations(), var); } else if (auto binding_point = var->BindingPoint()) { if (binding_point.group->value == 0 && @@ -175,7 +195,8 @@ struct CombineSamplers::State { } else { // Either texture or sampler (or both) is a function parameter; // add a new function parameter to represent the combined sampler. - const ast::Type* type = CreateASTTypeFor(ctx, texture_var->Type()); + const ast::Type* type = + CreateCombinedASTTypeFor(texture_var, sampler_var); const ast::Variable* var = ctx.dst->Param(ctx.dst->Symbols().New(name), type); params.push_back(var); @@ -219,6 +240,11 @@ struct CombineSamplers::State { return nullptr; } const sem::Expression* texture = call->Arguments()[texture_index]; + // We don't want to combine storage textures with anything, since + // they never have associated samplers in GLSL. + if (texture->Type()->UnwrapRef()->Is()) { + return nullptr; + } const sem::Expression* sampler = sampler_index != -1 ? call->Arguments()[sampler_index] : nullptr; auto* texture_var = texture->As()->Variable(); @@ -246,7 +272,14 @@ struct CombineSamplers::State { args.push_back(ctx.Clone(arg)); } } - return ctx.dst->Call(ctx.Clone(expr->target.name), args); + const ast::Expression* value = + ctx.dst->Call(ctx.Clone(expr->target.name), args); + if (builtin->Type() == sem::BuiltinType::kTextureLoad && + texture_var->Type()->UnwrapRef()->Is() && + !call->Stmt()->Declaration()->Is()) { + value = ctx.dst->MemberAccessor(value, "x"); + } + return value; } // Replace all function calls. if (auto* callee = call->Target()->As()) { diff --git a/src/transform/combine_samplers.h b/src/transform/combine_samplers.h index 588fe16267..d6726d9bb1 100644 --- a/src/transform/combine_samplers.h +++ b/src/transform/combine_samplers.h @@ -66,7 +66,8 @@ class CombineSamplers : public Castable { struct BindingInfo : public Castable { /// Constructor /// @param map the map of all (texture, sampler) -> (combined) pairs - explicit BindingInfo(const BindingMap& map); + /// @param placeholder the binding point to use for placeholder samplers. + BindingInfo(const BindingMap& map, const sem::BindingPoint& placeholder); /// Copy constructor /// @param other the other BindingInfo to copy @@ -77,6 +78,9 @@ class CombineSamplers : public Castable { /// A map of bindings from (texture, sampler) -> combined sampler. BindingMap binding_map; + + /// The binding point to use for placeholder samplers. + sem::BindingPoint placeholder_binding_point; }; /// Constructor diff --git a/src/transform/combine_samplers_test.cc b/src/transform/combine_samplers_test.cc index 7d49756e3b..f0c3a33476 100644 --- a/src/transform/combine_samplers_test.cc +++ b/src/transform/combine_samplers_test.cc @@ -30,7 +30,8 @@ TEST_F(CombineSamplersTest, EmptyModule) { auto* expect = ""; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -57,7 +58,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -92,7 +94,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -126,7 +129,8 @@ fn main() -> vec4 { pair.sampler_binding_point.group = 2; pair.sampler_binding_point.binding = 3; map[pair] = "fuzzy"; - data.Add(map); + sem::BindingPoint placeholder{1024, 0}; + data.Add(map, placeholder); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -160,7 +164,8 @@ fn main() -> vec4 { pair.sampler_binding_point.group = 1; pair.sampler_binding_point.binding = 0; map[pair] = "fuzzy"; - data.Add(map); + sem::BindingPoint placeholder{1024, 0}; + data.Add(map, placeholder); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -200,7 +205,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -243,7 +249,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -286,7 +293,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -349,7 +357,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -396,7 +405,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -443,7 +453,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -482,7 +493,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -521,7 +533,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -544,15 +557,67 @@ fn f(t_1 : texture_2d, coords : vec2) -> vec4 { return textureLoad(t_1, coords, 0); } -@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_1 : texture_2d; +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var fred : texture_2d; fn main() -> vec4 { - return f(tex_1, vec2(1, 2)); + return f(fred, vec2(1, 2)); } )"; + sem::BindingPoint placeholder{1024, 0}; + sem::SamplerTexturePair pair; + pair.texture_binding_point.group = 0; + pair.texture_binding_point.binding = 0; + pair.sampler_binding_point.group = placeholder.group; + pair.sampler_binding_point.binding = placeholder.binding; + CombineSamplers::BindingMap map; + map[pair] = "fred"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(map, placeholder); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TextureWithAndWithoutSampler) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_2d; +@group(0) @binding(1) var samp : sampler; + +fn main() -> vec4 { + return textureLoad(tex, vec2(), 0) + + textureSample(tex, samp, vec2()); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var fred : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var barney : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn main() -> vec4 { + return (textureLoad(fred, vec2(), 0) + textureSample(barney, placeholder_sampler, vec2())); +} +)"; + + sem::BindingPoint placeholder{1024, 0}; + sem::BindingPoint tex{0, 0}; + sem::BindingPoint samp{0, 1}; + sem::SamplerTexturePair pair, placeholder_pair; + pair.texture_binding_point.group = tex.group; + pair.texture_binding_point.binding = tex.binding; + pair.sampler_binding_point.group = samp.group; + pair.sampler_binding_point.binding = samp.binding; + placeholder_pair.texture_binding_point.group = tex.group; + placeholder_pair.texture_binding_point.binding = tex.binding; + placeholder_pair.sampler_binding_point.group = placeholder.group; + placeholder_pair.sampler_binding_point.binding = placeholder.binding; + CombineSamplers::BindingMap map; + map[pair] = "barney"; + map[placeholder_pair] = "fred"; + DataMap data; + data.Add(map, placeholder); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -579,7 +644,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -614,7 +680,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); @@ -645,7 +712,8 @@ fn main() -> vec4 { )"; DataMap data; - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); auto got = Run(src, data); EXPECT_EQ(expect, str(got)); diff --git a/src/transform/glsl.cc b/src/transform/glsl.cc index eeedf6ac7a..5c24e3a965 100644 --- a/src/transform/glsl.cc +++ b/src/transform/glsl.cc @@ -75,7 +75,8 @@ Output Glsl::Run(const Program* in, const DataMap& inputs) const { if (auto* binding_info = inputs.Get()) { data.Add(*binding_info); } else { - data.Add(CombineSamplers::BindingMap()); + data.Add(CombineSamplers::BindingMap(), + sem::BindingPoint()); } manager.Add(); if (auto* remappings = inputs.Get()) { diff --git a/src/writer/glsl/generator.cc b/src/writer/glsl/generator.cc index 7cd6d0372a..7e7f832131 100644 --- a/src/writer/glsl/generator.cc +++ b/src/writer/glsl/generator.cc @@ -41,7 +41,8 @@ Result Generate(const Program* program, data.Add(options.binding_points, options.access_controls, options.allow_collisions); - data.Add(options.binding_map); + data.Add( + options.binding_map, options.placeholder_binding_point); data.Add(entry_point); transform::Glsl sanitizer; auto output = sanitizer.Run(program, data); diff --git a/src/writer/glsl/generator.h b/src/writer/glsl/generator.h index b47a5b27a3..ea33060b83 100644 --- a/src/writer/glsl/generator.h +++ b/src/writer/glsl/generator.h @@ -55,6 +55,9 @@ struct Options { /// CombineSamplers transform BindingMap binding_map; + /// The binding point to use for placeholder samplers. + sem::BindingPoint placeholder_binding_point; + /// A map of old binding point to new binding point for the BindingRemapper /// transform std::unordered_map binding_points; diff --git a/src/writer/glsl/generator_impl_builtin_texture_test.cc b/src/writer/glsl/generator_impl_builtin_texture_test.cc index bd6a6a8b5c..8ec2019cdd 100644 --- a/src/writer/glsl/generator_impl_builtin_texture_test.cc +++ b/src/writer/glsl/generator_impl_builtin_texture_test.cc @@ -252,17 +252,17 @@ ExpectedResult expected_texture_overload( case ValidTextureOverload::kLoadMultisampled2dI32: return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoadDepth2dLevelF32: - return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3).x;)"; + return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoadDepth2dArrayLevelF32: - return R"(texelFetch(tint_symbol_2, ivec3(1, 2, 3), 4).x;)"; + return R"(texelFetch(tint_symbol_2, ivec3(1, 2, 3), 4);)"; case ValidTextureOverload::kStoreWO1dRgba32float: - return R"(imageStore(tint_symbol_2, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f));)"; + return R"(imageStore(tint_symbol, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f));)"; case ValidTextureOverload::kStoreWO2dRgba32float: - return R"(imageStore(tint_symbol_2, ivec2(1, 2), vec4(3.0f, 4.0f, 5.0f, 6.0f));)"; + return R"(imageStore(tint_symbol, ivec2(1, 2), vec4(3.0f, 4.0f, 5.0f, 6.0f));)"; case ValidTextureOverload::kStoreWO2dArrayRgba32float: - return R"(imageStore(tint_symbol_2, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; + return R"(imageStore(tint_symbol, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; case ValidTextureOverload::kStoreWO3dRgba32float: - return R"(imageStore(tint_symbol_2, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; + return R"(imageStore(tint_symbol, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; } return ""; } // NOLINT - Ignore the length of this function diff --git a/test/benchmark/particles.wgsl.expected.glsl b/test/benchmark/particles.wgsl.expected.glsl index 1c82e1524d..89d1e67fbe 100644 --- a/test/benchmark/particles.wgsl.expected.glsl +++ b/test/benchmark/particles.wgsl.expected.glsl @@ -321,9 +321,9 @@ layout(binding = 4) buffer Buffer_1 { layout(binding = 5) buffer Buffer_2 { float weights[]; } buf_out; -layout(rgba8) uniform highp writeonly image2D tex_out_1; +layout(rgba8) uniform highp writeonly image2D tex_out; void export_level(uvec3 coord) { - if (all(lessThan(coord.xy, uvec2(imageSize(tex_out_1))))) { + if (all(lessThan(coord.xy, 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_1 = buf_in.weights[(src_offset + 0u)]; @@ -333,7 +333,7 @@ void export_level(uvec3 coord) { float sum = dot(vec4(a_1, b, c, d), vec4(1.0f)); buf_out.weights[dst_offset] = (sum / 4.0f); vec4 probabilities = (vec4(a_1, (a_1 + b), ((a_1 + b) + c), sum) / max(sum, 0.0001f)); - imageStore(tex_out_1, ivec2(coord.xy), probabilities); + imageStore(tex_out, ivec2(coord.xy), probabilities); } } diff --git a/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl b/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl index 71076fbf62..49d6d5cc12 100644 --- a/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl +++ b/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl @@ -107,7 +107,7 @@ struct ShadowProperties { layout(binding = 7) buffer LightShadows_1 { ShadowProperties properties[]; } shadow; -uniform highp sampler2DShadow shadowTexture_1; +uniform highp sampler2D shadowTexture_1; uniform highp sampler2DShadow shadowTexture_shadowSampler; float dirLightVisibility(vec3 worldPos) { diff --git a/test/bug/tint/413.spvasm.expected.glsl b/test/bug/tint/413.spvasm.expected.glsl index 0ad088bad4..65c6e0458d 100644 --- a/test/bug/tint/413.spvasm.expected.glsl +++ b/test/bug/tint/413.spvasm.expected.glsl @@ -1,15 +1,15 @@ #version 310 es precision mediump float; +layout(r32ui) uniform highp writeonly uimage2D Dst; uniform highp usampler2D Src_1; -layout(r32ui) uniform highp writeonly uimage2D Dst_1; void main_1() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); uvec4 x_18 = texelFetch(Src_1, ivec2(0, 0), 0); srcValue = x_18; uint x_22 = srcValue.x; srcValue.x = (x_22 + uint(1)); - imageStore(Dst_1, ivec2(0, 0), srcValue); + imageStore(Dst, ivec2(0, 0), srcValue); return; } diff --git a/test/bug/tint/453.wgsl.expected.glsl b/test/bug/tint/453.wgsl.expected.glsl index 3adda5abc4..ceaa1f7470 100644 --- a/test/bug/tint/453.wgsl.expected.glsl +++ b/test/bug/tint/453.wgsl.expected.glsl @@ -1,15 +1,15 @@ #version 310 es precision mediump float; +layout(r32ui) uniform highp writeonly uimage2D Dst; uniform highp usampler2D Src_1; -layout(r32ui) uniform highp writeonly uimage2D Dst_1; void tint_symbol() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); uvec4 x_22 = texelFetch(Src_1, ivec2(0, 0), 0); srcValue = x_22; uint x_24 = srcValue.x; uint x_25 = (x_24 + 1u); - imageStore(Dst_1, ivec2(0, 0), srcValue.xxxx); + imageStore(Dst, ivec2(0, 0), srcValue.xxxx); return; } diff --git a/test/bug/tint/827.wgsl.expected.glsl b/test/bug/tint/827.wgsl.expected.glsl index f221389985..9933ba5b9d 100644 --- a/test/bug/tint/827.wgsl.expected.glsl +++ b/test/bug/tint/827.wgsl.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -7,7 +5,7 @@ const uint width = 128u; layout(binding = 1) buffer Result_1 { float values[]; } result; -uniform highp sampler2DShadow tex_1; +uniform highp sampler2D tex_1; void tint_symbol(uvec3 GlobalInvocationId) { result.values[((GlobalInvocationId.y * width) + GlobalInvocationId.x)] = texelFetch(tex_1, ivec2(int(GlobalInvocationId.x), int(GlobalInvocationId.y)), 0).x; } @@ -17,10 +15,3 @@ void main() { tint_symbol(gl_GlobalInvocationID); return; } -Error parsing GLSL shader: -ERROR: 0:10: 'texelFetch' : no matching overloaded function found -ERROR: 0:10: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/bug/tint/942.wgsl.expected.glsl b/test/bug/tint/942.wgsl.expected.glsl index 8f85836c87..8e41450b79 100644 --- a/test/bug/tint/942.wgsl.expected.glsl +++ b/test/bug/tint/942.wgsl.expected.glsl @@ -11,6 +11,7 @@ layout(binding = 1) uniform Params_1 { uint blockDim; } params; +layout(rgba8) uniform highp writeonly image2D outputTex; struct Flip { uint value; }; @@ -22,7 +23,6 @@ layout(binding = 3) uniform Flip_1 { shared vec3 tile[4][256]; uniform highp sampler2D inputTex_1; uniform highp sampler2D inputTex_samp; -layout(rgba8) uniform highp writeonly image2D outputTex_1; void tint_symbol(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_invocation_index) { { @@ -75,7 +75,7 @@ void tint_symbol(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_invocati acc = (acc + ((1.0f / float(params.filterDim)) * tile[r][i])); } } - imageStore(outputTex_1, writeIndex, vec4(acc, 1.0f)); + imageStore(outputTex, writeIndex, vec4(acc, 1.0f)); } } } diff --git a/test/builtins/gen/textureDimensions/012b82.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/012b82.wgsl.expected.glsl index 3080952c83..b398f3cb44 100644 --- a/test/builtins/gen/textureDimensions/012b82.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/012b82.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/08753d.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/08753d.wgsl.expected.glsl index 488f0622bc..4628b393e4 100644 --- a/test/builtins/gen/textureDimensions/08753d.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/08753d.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/0c4772.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/0c4772.wgsl.expected.glsl index e75f30fffd..f6e58ee04a 100644 --- a/test/builtins/gen/textureDimensions/0c4772.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/0c4772.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/0cce40.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/0cce40.wgsl.expected.glsl index 1a439b8243..ccbf034ebb 100644 --- a/test/builtins/gen/textureDimensions/0cce40.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/0cce40.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/0cf2ff.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/0cf2ff.wgsl.expected.glsl index dcc64f6994..3813a6fd13 100644 --- a/test/builtins/gen/textureDimensions/0cf2ff.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/0cf2ff.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/0d8b7e.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/0d8b7e.wgsl.expected.glsl index 72fc99040d..d6996efc5d 100644 --- a/test/builtins/gen/textureDimensions/0d8b7e.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/0d8b7e.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/0e32ee.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/0e32ee.wgsl.expected.glsl index 13793968db..eea2fca92e 100644 --- a/test/builtins/gen/textureDimensions/0e32ee.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/0e32ee.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/12c9bb.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/12c9bb.wgsl.expected.glsl index f889637137..d6210f5a26 100644 --- a/test/builtins/gen/textureDimensions/12c9bb.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/12c9bb.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { ivec2 res = textureSize(arg_0_1, 0); } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { ivec2 res = textureSize(arg_0_1, 0); } diff --git a/test/builtins/gen/textureDimensions/147998.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/147998.wgsl.expected.glsl index 0941bf104d..0aea92770e 100644 --- a/test/builtins/gen/textureDimensions/147998.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/147998.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/16036c.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/16036c.wgsl.expected.glsl index be1d72bd8a..17169965a2 100644 --- a/test/builtins/gen/textureDimensions/16036c.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/16036c.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/1b71f0.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/1b71f0.wgsl.expected.glsl index 0f5191c79d..6dceec2cf8 100644 --- a/test/builtins/gen/textureDimensions/1b71f0.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/1b71f0.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/1d6c26.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/1d6c26.wgsl.expected.glsl index f8c0a84ac7..527af3e2af 100644 --- a/test/builtins/gen/textureDimensions/1d6c26.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/1d6c26.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/1e9e39.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/1e9e39.wgsl.expected.glsl index 5a31fac073..77d49fedc9 100644 --- a/test/builtins/gen/textureDimensions/1e9e39.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/1e9e39.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/214dd4.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/214dd4.wgsl.expected.glsl index 811a9b61dd..4af963c3d7 100644 --- a/test/builtins/gen/textureDimensions/214dd4.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/214dd4.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/26ef6c.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/26ef6c.wgsl.expected.glsl index 9203abd200..0828683b46 100644 --- a/test/builtins/gen/textureDimensions/26ef6c.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/26ef6c.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/2ad087.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/2ad087.wgsl.expected.glsl index 1d53576aeb..cbc46bd665 100644 --- a/test/builtins/gen/textureDimensions/2ad087.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/2ad087.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/2f289f.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/2f289f.wgsl.expected.glsl index 908e7360c5..e495dd9957 100644 --- a/test/builtins/gen/textureDimensions/2f289f.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/2f289f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/318ecc.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/318ecc.wgsl.expected.glsl index 9a2ce52f82..6359cdd26b 100644 --- a/test/builtins/gen/textureDimensions/318ecc.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/318ecc.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/340d06.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/340d06.wgsl.expected.glsl index 660137e83d..91ce129b95 100644 --- a/test/builtins/gen/textureDimensions/340d06.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/340d06.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/398e30.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/398e30.wgsl.expected.glsl index 65443cf87d..addff99944 100644 --- a/test/builtins/gen/textureDimensions/398e30.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/398e30.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/3a94ea.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/3a94ea.wgsl.expected.glsl index 45d0c2a7bf..2bfba6f2b0 100644 --- a/test/builtins/gen/textureDimensions/3a94ea.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/3a94ea.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/3aca08.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/3aca08.wgsl.expected.glsl index 2fab51de74..38c917bc5e 100644 --- a/test/builtins/gen/textureDimensions/3aca08.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/3aca08.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/3c5ad8.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/3c5ad8.wgsl.expected.glsl index b8c86eed26..f7625e2a96 100644 --- a/test/builtins/gen/textureDimensions/3c5ad8.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/3c5ad8.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/4267ee.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/4267ee.wgsl.expected.glsl index 7fcb8e4af5..7f165e1c7d 100644 --- a/test/builtins/gen/textureDimensions/4267ee.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/4267ee.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/42d4e6.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/42d4e6.wgsl.expected.glsl index 57f7a5419a..6bf373321b 100644 --- a/test/builtins/gen/textureDimensions/42d4e6.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/42d4e6.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/48cb89.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/48cb89.wgsl.expected.glsl index 0c46823b29..f932637dde 100644 --- a/test/builtins/gen/textureDimensions/48cb89.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/48cb89.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/49d274.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/49d274.wgsl.expected.glsl index 2cd86dd6c1..03fe18e3c2 100644 --- a/test/builtins/gen/textureDimensions/49d274.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/49d274.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/4df9a8.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/4df9a8.wgsl.expected.glsl index 62bbc5af53..97aa2487a3 100644 --- a/test/builtins/gen/textureDimensions/4df9a8.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/4df9a8.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/55b23e.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/55b23e.wgsl.expected.glsl index 658ce33985..ecd32f2cbe 100644 --- a/test/builtins/gen/textureDimensions/55b23e.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/55b23e.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/57da0b.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/57da0b.wgsl.expected.glsl index 29208afaa7..4e2de72993 100644 --- a/test/builtins/gen/textureDimensions/57da0b.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/57da0b.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/57e28f.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/57e28f.wgsl.expected.glsl index d92dc4b81a..14c08b895b 100644 --- a/test/builtins/gen/textureDimensions/57e28f.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/57e28f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { ivec2 res = textureSize(arg_0_1, 0); } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { ivec2 res = textureSize(arg_0_1, 0); } diff --git a/test/builtins/gen/textureDimensions/58a515.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/58a515.wgsl.expected.glsl index 493897378d..dfecef3730 100644 --- a/test/builtins/gen/textureDimensions/58a515.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/58a515.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/5985f3.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/5985f3.wgsl.expected.glsl index 998221a902..3e917913ea 100644 --- a/test/builtins/gen/textureDimensions/5985f3.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/5985f3.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/5caa5e.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/5caa5e.wgsl.expected.glsl index 4c3260a584..ee641ed5e5 100644 --- a/test/builtins/gen/textureDimensions/5caa5e.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/5caa5e.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/5e295d.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/5e295d.wgsl.expected.glsl index f68edd4fc7..de8d76aec5 100644 --- a/test/builtins/gen/textureDimensions/5e295d.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/5e295d.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/60bf54.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/60bf54.wgsl.expected.glsl index ced7196069..bc6c73c3b7 100644 --- a/test/builtins/gen/textureDimensions/60bf54.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/60bf54.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/63f3cf.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/63f3cf.wgsl.expected.glsl index 8db8a7b990..0df26728d3 100644 --- a/test/builtins/gen/textureDimensions/63f3cf.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/63f3cf.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/68105c.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/68105c.wgsl.expected.glsl index e2756f450c..7c4a029a07 100644 --- a/test/builtins/gen/textureDimensions/68105c.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/68105c.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/6adac6.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/6adac6.wgsl.expected.glsl index 3251ad97b5..7504f68a3e 100644 --- a/test/builtins/gen/textureDimensions/6adac6.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/6adac6.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/6f0d79.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/6f0d79.wgsl.expected.glsl index 56e978cdf9..8df1622298 100644 --- a/test/builtins/gen/textureDimensions/6f0d79.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/6f0d79.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/702c53.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/702c53.wgsl.expected.glsl index 50d9fab792..e7ab534f2e 100644 --- a/test/builtins/gen/textureDimensions/702c53.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/702c53.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/72e5d6.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/72e5d6.wgsl.expected.glsl index 9b130c1567..8831c41758 100644 --- a/test/builtins/gen/textureDimensions/72e5d6.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/72e5d6.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { ivec2 res = textureSize(arg_0_1, 0).xy; } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { ivec2 res = textureSize(arg_0_1, 0).xy; } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { ivec2 res = textureSize(arg_0_1, 0).xy; } diff --git a/test/builtins/gen/textureDimensions/7bf826.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/7bf826.wgsl.expected.glsl index 253a19a00a..7e1e045996 100644 --- a/test/builtins/gen/textureDimensions/7bf826.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/7bf826.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { ivec2 res = textureSize(arg_0_1, 0).xy; } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { ivec2 res = textureSize(arg_0_1, 0).xy; } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { ivec2 res = textureSize(arg_0_1, 0).xy; } diff --git a/test/builtins/gen/textureDimensions/7f5c2e.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/7f5c2e.wgsl.expected.glsl index e74df61bac..275c93f649 100644 --- a/test/builtins/gen/textureDimensions/7f5c2e.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/7f5c2e.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/8028f3.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/8028f3.wgsl.expected.glsl index 53570019cc..b87a01aae6 100644 --- a/test/builtins/gen/textureDimensions/8028f3.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/8028f3.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/811679.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/811679.wgsl.expected.glsl index 66721ab16c..ac8f777c25 100644 --- a/test/builtins/gen/textureDimensions/811679.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/811679.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/820596.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/820596.wgsl.expected.glsl index a675697582..03125d599d 100644 --- a/test/builtins/gen/textureDimensions/820596.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/820596.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/83ee5a.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/83ee5a.wgsl.expected.glsl index 630004e6a0..57dc03a053 100644 --- a/test/builtins/gen/textureDimensions/83ee5a.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/83ee5a.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/8fca0f.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/8fca0f.wgsl.expected.glsl index a6c88d7ecd..535df787d8 100644 --- a/test/builtins/gen/textureDimensions/8fca0f.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/8fca0f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/90340b.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/90340b.wgsl.expected.glsl index 860456f2d4..808572398e 100644 --- a/test/builtins/gen/textureDimensions/90340b.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/90340b.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -30,7 +30,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { ivec2 res = textureSize(arg_0_1, 0); } @@ -44,7 +44,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -53,7 +53,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { ivec2 res = textureSize(arg_0_1, 0); } @@ -68,7 +68,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/builtins/gen/textureDimensions/9042ab.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/9042ab.wgsl.expected.glsl index e081a36a9f..7ca3971b8b 100644 --- a/test/builtins/gen/textureDimensions/9042ab.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/9042ab.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/9393b0.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/9393b0.wgsl.expected.glsl index f67bf4f246..e1b42dfa8f 100644 --- a/test/builtins/gen/textureDimensions/9393b0.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/9393b0.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { ivec2 res = textureSize(arg_0_1, 0); } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { ivec2 res = textureSize(arg_0_1, 0); } diff --git a/test/builtins/gen/textureDimensions/939fdb.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/939fdb.wgsl.expected.glsl index 780591a83d..b8fd95b0d4 100644 --- a/test/builtins/gen/textureDimensions/939fdb.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/939fdb.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { ivec2 res = textureSize(arg_0_1, 0); } @@ -37,7 +37,7 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { ivec2 res = textureSize(arg_0_1, 0); } diff --git a/test/builtins/gen/textureDimensions/9abfe5.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/9abfe5.wgsl.expected.glsl index ec95d846e6..7818896f01 100644 --- a/test/builtins/gen/textureDimensions/9abfe5.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/9abfe5.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/9da9e2.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/9da9e2.wgsl.expected.glsl index 003370a6a6..db2591c32c 100644 --- a/test/builtins/gen/textureDimensions/9da9e2.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/9da9e2.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/9eb8d8.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/9eb8d8.wgsl.expected.glsl index 8e51dd9a6b..f3e5342d08 100644 --- a/test/builtins/gen/textureDimensions/9eb8d8.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/9eb8d8.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/a01845.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/a01845.wgsl.expected.glsl index 38d7ddc3f7..2cedd1ee45 100644 --- a/test/builtins/gen/textureDimensions/a01845.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/a01845.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { ivec2 res = textureSize(arg_0_1, 0); } @@ -21,7 +21,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -30,7 +30,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { ivec2 res = textureSize(arg_0_1, 0); } @@ -44,7 +44,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -53,7 +53,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { ivec2 res = textureSize(arg_0_1, 0); } @@ -68,7 +68,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/builtins/gen/textureDimensions/a863f2.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/a863f2.wgsl.expected.glsl index 1138a782f6..92ec47a9f3 100644 --- a/test/builtins/gen/textureDimensions/a863f2.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/a863f2.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/b91240.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/b91240.wgsl.expected.glsl index 69de1f7abb..5e463d050f 100644 --- a/test/builtins/gen/textureDimensions/b91240.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/b91240.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/bb3dde.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/bb3dde.wgsl.expected.glsl index fc54c29c63..ad0aa59215 100644 --- a/test/builtins/gen/textureDimensions/bb3dde.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/bb3dde.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/c30e75.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/c30e75.wgsl.expected.glsl index 06b7e56d45..1e68fcd89c 100644 --- a/test/builtins/gen/textureDimensions/c30e75.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/c30e75.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/c7943d.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/c7943d.wgsl.expected.glsl index 1efc49e475..f1c07a5b59 100644 --- a/test/builtins/gen/textureDimensions/c7943d.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/c7943d.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/cc968c.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/cc968c.wgsl.expected.glsl index ec3883d5b4..be2436f8ef 100644 --- a/test/builtins/gen/textureDimensions/cc968c.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/cc968c.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/cccc8f.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/cccc8f.wgsl.expected.glsl index 34a1f00385..dd69e9bc40 100644 --- a/test/builtins/gen/textureDimensions/cccc8f.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/cccc8f.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/cd76a7.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/cd76a7.wgsl.expected.glsl index a0fc36661f..dd5463bc8f 100644 --- a/test/builtins/gen/textureDimensions/cd76a7.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/cd76a7.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/cdf473.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/cdf473.wgsl.expected.glsl index 553c607c3b..fbf26b436d 100644 --- a/test/builtins/gen/textureDimensions/cdf473.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/cdf473.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/cf7e43.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/cf7e43.wgsl.expected.glsl index 1a2dd2788e..13ac3bed5a 100644 --- a/test/builtins/gen/textureDimensions/cf7e43.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/cf7e43.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/dc2dd0.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/dc2dd0.wgsl.expected.glsl index 303891fb50..32cb91414e 100644 --- a/test/builtins/gen/textureDimensions/dc2dd0.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/dc2dd0.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0_1); + int res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/e9e96c.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/e9e96c.wgsl.expected.glsl index ff80da8d9c..1125475544 100644 --- a/test/builtins/gen/textureDimensions/e9e96c.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/e9e96c.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/f931c7.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/f931c7.wgsl.expected.glsl index a6c0397cb5..3aea52c5e2 100644 --- a/test/builtins/gen/textureDimensions/f931c7.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/f931c7.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0_1); + ivec2 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/fb5670.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/fb5670.wgsl.expected.glsl index 9c6a56b172..5265570862 100644 --- a/test/builtins/gen/textureDimensions/fb5670.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/fb5670.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0_1).xy; + ivec2 res = imageSize(arg_0).xy; } void compute_main() { diff --git a/test/builtins/gen/textureDimensions/fcac78.wgsl.expected.glsl b/test/builtins/gen/textureDimensions/fcac78.wgsl.expected.glsl index 69c5a4d209..f09c5427e5 100644 --- a/test/builtins/gen/textureDimensions/fcac78.wgsl.expected.glsl +++ b/test/builtins/gen/textureDimensions/fcac78.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0_1); + ivec3 res = imageSize(arg_0); } void compute_main() { diff --git a/test/builtins/gen/textureLoad/19cf87.wgsl.expected.glsl b/test/builtins/gen/textureLoad/19cf87.wgsl.expected.glsl index 85672e213b..8e1ff9d6f9 100644 --- a/test/builtins/gen/textureLoad/19cf87.wgsl.expected.glsl +++ b/test/builtins/gen/textureLoad/19cf87.wgsl.expected.glsl @@ -1,9 +1,7 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } @@ -20,17 +18,10 @@ void main() { gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } @@ -43,17 +34,10 @@ void main() { fragment_main(); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } @@ -67,10 +51,3 @@ void main() { compute_main(); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/builtins/gen/textureLoad/9b2667.wgsl.expected.glsl b/test/builtins/gen/textureLoad/9b2667.wgsl.expected.glsl index 486d345148..74b106db6e 100644 --- a/test/builtins/gen/textureLoad/9b2667.wgsl.expected.glsl +++ b/test/builtins/gen/textureLoad/9b2667.wgsl.expected.glsl @@ -1,9 +1,7 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } @@ -20,17 +18,10 @@ void main() { gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } @@ -43,17 +34,10 @@ void main() { fragment_main(); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } @@ -67,10 +51,3 @@ void main() { compute_main(); return; } -Error parsing GLSL shader: -ERROR: 0:6: 'texelFetch' : no matching overloaded function found -ERROR: 0:6: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/builtins/gen/textureNumLayers/058cc3.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/058cc3.wgsl.expected.glsl index 44e5060f8b..211fe20f48 100644 --- a/test/builtins/gen/textureNumLayers/058cc3.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/058cc3.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/09d05d.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/09d05d.wgsl.expected.glsl index c82eb8ec51..7514327cfe 100644 --- a/test/builtins/gen/textureNumLayers/09d05d.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/09d05d.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/13b4ce.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/13b4ce.wgsl.expected.glsl index 21522e6a6b..8f8329321f 100644 --- a/test/builtins/gen/textureNumLayers/13b4ce.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/13b4ce.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/22e53b.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/22e53b.wgsl.expected.glsl index fb99cff77c..2054fd0f20 100644 --- a/test/builtins/gen/textureNumLayers/22e53b.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/22e53b.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/562013.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/562013.wgsl.expected.glsl index 22c897b8c6..7b428214ea 100644 --- a/test/builtins/gen/textureNumLayers/562013.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/562013.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/68a65b.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/68a65b.wgsl.expected.glsl index b069934b93..d1f1df7c7a 100644 --- a/test/builtins/gen/textureNumLayers/68a65b.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/68a65b.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/778bd1.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/778bd1.wgsl.expected.glsl index f555bc15fc..87da8dc4c0 100644 --- a/test/builtins/gen/textureNumLayers/778bd1.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/778bd1.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { int res = textureQueryLevels(arg_0_1);; } @@ -21,7 +21,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -30,7 +30,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { int res = textureQueryLevels(arg_0_1);; } @@ -44,7 +44,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -53,7 +53,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { int res = textureQueryLevels(arg_0_1);; } @@ -68,7 +68,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/builtins/gen/textureNumLayers/7f1937.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/7f1937.wgsl.expected.glsl index cf2a7573c6..bf92d0e11c 100644 --- a/test/builtins/gen/textureNumLayers/7f1937.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/7f1937.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/9700fb.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/9700fb.wgsl.expected.glsl index 9999bb414a..e7716df751 100644 --- a/test/builtins/gen/textureNumLayers/9700fb.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/9700fb.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/a216d2.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/a216d2.wgsl.expected.glsl index ed0195dabc..ef6661f0ba 100644 --- a/test/builtins/gen/textureNumLayers/a216d2.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/a216d2.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl index d936e9669f..42732291c7 100644 --- a/test/builtins/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/d5b228.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/d5b228.wgsl.expected.glsl index 2e32417d8f..73f68d220c 100644 --- a/test/builtins/gen/textureNumLayers/d5b228.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/d5b228.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/e31be1.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/e31be1.wgsl.expected.glsl index 6b42f0eaad..c8ab7f064b 100644 --- a/test/builtins/gen/textureNumLayers/e31be1.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/e31be1.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/e653c0.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/e653c0.wgsl.expected.glsl index 8062850196..a50d766a70 100644 --- a/test/builtins/gen/textureNumLayers/e653c0.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/e653c0.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { int res = textureQueryLevels(arg_0_1);; } @@ -31,7 +31,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { int res = textureQueryLevels(arg_0_1);; } @@ -55,7 +55,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { int res = textureQueryLevels(arg_0_1);; } diff --git a/test/builtins/gen/textureNumLayers/ee942f.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/ee942f.wgsl.expected.glsl index bdf37c8475..5b59b4dcee 100644 --- a/test/builtins/gen/textureNumLayers/ee942f.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/ee942f.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/f33005.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/f33005.wgsl.expected.glsl index 556b4eda08..eb79af8122 100644 --- a/test/builtins/gen/textureNumLayers/f33005.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/f33005.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/fcec98.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/fcec98.wgsl.expected.glsl index 6eae1477c2..4ea4371ada 100644 --- a/test/builtins/gen/textureNumLayers/fcec98.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/fcec98.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLayers/ff5e89.wgsl.expected.glsl b/test/builtins/gen/textureNumLayers/ff5e89.wgsl.expected.glsl index 46a346c4b3..8fb106ebb5 100644 --- a/test/builtins/gen/textureNumLayers/ff5e89.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLayers/ff5e89.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0_1);; + int res = textureQueryLevels(arg_0);; } void compute_main() { diff --git a/test/builtins/gen/textureNumLevels/076cb5.wgsl.expected.glsl b/test/builtins/gen/textureNumLevels/076cb5.wgsl.expected.glsl index f2a54ab652..8277c6d39e 100644 --- a/test/builtins/gen/textureNumLevels/076cb5.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLevels/076cb5.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { int res = textureQueryLevels(arg_0_1);; } @@ -31,7 +31,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { int res = textureQueryLevels(arg_0_1);; } @@ -55,7 +55,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeShadow arg_0_1; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { int res = textureQueryLevels(arg_0_1);; } diff --git a/test/builtins/gen/textureNumLevels/2c3575.wgsl.expected.glsl b/test/builtins/gen/textureNumLevels/2c3575.wgsl.expected.glsl index c7839a2e38..6194cd15dc 100644 --- a/test/builtins/gen/textureNumLevels/2c3575.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLevels/2c3575.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { int res = textureQueryLevels(arg_0_1);; } @@ -21,7 +21,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -30,7 +30,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { int res = textureQueryLevels(arg_0_1);; } @@ -44,7 +44,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -53,7 +53,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow arg_0_1; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { int res = textureQueryLevels(arg_0_1);; } @@ -68,7 +68,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/builtins/gen/textureNumLevels/b1b12b.wgsl.expected.glsl b/test/builtins/gen/textureNumLevels/b1b12b.wgsl.expected.glsl index beca9618dc..cc6f34592d 100644 --- a/test/builtins/gen/textureNumLevels/b1b12b.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLevels/b1b12b.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { int res = textureQueryLevels(arg_0_1);; } @@ -31,7 +31,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { int res = textureQueryLevels(arg_0_1);; } @@ -55,7 +55,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DShadow arg_0_1; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { int res = textureQueryLevels(arg_0_1);; } diff --git a/test/builtins/gen/textureNumLevels/f5828d.wgsl.expected.glsl b/test/builtins/gen/textureNumLevels/f5828d.wgsl.expected.glsl index 79ae984d3c..17944a8589 100644 --- a/test/builtins/gen/textureNumLevels/f5828d.wgsl.expected.glsl +++ b/test/builtins/gen/textureNumLevels/f5828d.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { int res = textureQueryLevels(arg_0_1);; } @@ -31,7 +31,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { int res = textureQueryLevels(arg_0_1);; } @@ -55,7 +55,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow arg_0_1; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { int res = textureQueryLevels(arg_0_1);; } diff --git a/test/builtins/gen/textureStore/05ce15.wgsl.expected.glsl b/test/builtins/gen/textureStore/05ce15.wgsl.expected.glsl index 0ca1141ea7..e761fa1fbe 100644 --- a/test/builtins/gen/textureStore/05ce15.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/05ce15.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/064c7f.wgsl.expected.glsl b/test/builtins/gen/textureStore/064c7f.wgsl.expected.glsl index 4d133a857f..9de3dd3305 100644 --- a/test/builtins/gen/textureStore/064c7f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/064c7f.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/068641.wgsl.expected.glsl b/test/builtins/gen/textureStore/068641.wgsl.expected.glsl index 1340b383b4..5b252d0068 100644 --- a/test/builtins/gen/textureStore/068641.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/068641.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/0af6b5.wgsl.expected.glsl b/test/builtins/gen/textureStore/0af6b5.wgsl.expected.glsl index b79098829f..fc7e462702 100644 --- a/test/builtins/gen/textureStore/0af6b5.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/0af6b5.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/0c3dff.wgsl.expected.glsl b/test/builtins/gen/textureStore/0c3dff.wgsl.expected.glsl index 68e939488a..5075440d27 100644 --- a/test/builtins/gen/textureStore/0c3dff.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/0c3dff.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/102722.wgsl.expected.glsl b/test/builtins/gen/textureStore/102722.wgsl.expected.glsl index 47e6a3e7da..010cc1e400 100644 --- a/test/builtins/gen/textureStore/102722.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/102722.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/1bbd08.wgsl.expected.glsl b/test/builtins/gen/textureStore/1bbd08.wgsl.expected.glsl index 830fb910a7..f287b3bad0 100644 --- a/test/builtins/gen/textureStore/1bbd08.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/1bbd08.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/1c02e7.wgsl.expected.glsl b/test/builtins/gen/textureStore/1c02e7.wgsl.expected.glsl index 2ceb65ed76..c49356bbd7 100644 --- a/test/builtins/gen/textureStore/1c02e7.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/1c02e7.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/22d955.wgsl.expected.glsl b/test/builtins/gen/textureStore/22d955.wgsl.expected.glsl index 83ebec04ba..99b8c670ec 100644 --- a/test/builtins/gen/textureStore/22d955.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/22d955.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/26bf70.wgsl.expected.glsl b/test/builtins/gen/textureStore/26bf70.wgsl.expected.glsl index 41f13195a5..fe46fd4243 100644 --- a/test/builtins/gen/textureStore/26bf70.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/26bf70.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/2796b4.wgsl.expected.glsl b/test/builtins/gen/textureStore/2796b4.wgsl.expected.glsl index c97a566a13..c58558de21 100644 --- a/test/builtins/gen/textureStore/2796b4.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/2796b4.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/2ac6c7.wgsl.expected.glsl b/test/builtins/gen/textureStore/2ac6c7.wgsl.expected.glsl index b550e81af8..b6932ec7df 100644 --- a/test/builtins/gen/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/2ac6c7.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/2eb2a4.wgsl.expected.glsl b/test/builtins/gen/textureStore/2eb2a4.wgsl.expected.glsl index d0eb830215..1d5de9c2c9 100644 --- a/test/builtins/gen/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/2eb2a4.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/2ed2a3.wgsl.expected.glsl b/test/builtins/gen/textureStore/2ed2a3.wgsl.expected.glsl index d5c681c3ff..e2a59ceef8 100644 --- a/test/builtins/gen/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/2ed2a3.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/31745b.wgsl.expected.glsl b/test/builtins/gen/textureStore/31745b.wgsl.expected.glsl index 8ab0724a65..ec65a13a52 100644 --- a/test/builtins/gen/textureStore/31745b.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/31745b.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/32f368.wgsl.expected.glsl b/test/builtins/gen/textureStore/32f368.wgsl.expected.glsl index eb44f0f25c..b870d88762 100644 --- a/test/builtins/gen/textureStore/32f368.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/32f368.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/331aee.wgsl.expected.glsl b/test/builtins/gen/textureStore/331aee.wgsl.expected.glsl index fed483dd50..c72697b8e1 100644 --- a/test/builtins/gen/textureStore/331aee.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/331aee.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/38e8d7.wgsl.expected.glsl b/test/builtins/gen/textureStore/38e8d7.wgsl.expected.glsl index c5ac7b663e..6a7e715f17 100644 --- a/test/builtins/gen/textureStore/38e8d7.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/38e8d7.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/3a52ac.wgsl.expected.glsl b/test/builtins/gen/textureStore/3a52ac.wgsl.expected.glsl index 2e892b4fe5..b0bbeb34b7 100644 --- a/test/builtins/gen/textureStore/3a52ac.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/3a52ac.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/3bb7a1.wgsl.expected.glsl b/test/builtins/gen/textureStore/3bb7a1.wgsl.expected.glsl index fbfe1a99a0..ebb322b91b 100644 --- a/test/builtins/gen/textureStore/3bb7a1.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/3bb7a1.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/3bec15.wgsl.expected.glsl b/test/builtins/gen/textureStore/3bec15.wgsl.expected.glsl index b767a9aef6..510a69b90e 100644 --- a/test/builtins/gen/textureStore/3bec15.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/3bec15.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/441ba8.wgsl.expected.glsl b/test/builtins/gen/textureStore/441ba8.wgsl.expected.glsl index 0d67525b03..093d1e78ce 100644 --- a/test/builtins/gen/textureStore/441ba8.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/441ba8.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/4fc057.wgsl.expected.glsl b/test/builtins/gen/textureStore/4fc057.wgsl.expected.glsl index 345f6851a2..3567c60710 100644 --- a/test/builtins/gen/textureStore/4fc057.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/4fc057.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/5a2f8f.wgsl.expected.glsl b/test/builtins/gen/textureStore/5a2f8f.wgsl.expected.glsl index 6a73b359fd..a8df1a3f79 100644 --- a/test/builtins/gen/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/5a2f8f.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/60975f.wgsl.expected.glsl b/test/builtins/gen/textureStore/60975f.wgsl.expected.glsl index 65ba86ac88..68788fcc51 100644 --- a/test/builtins/gen/textureStore/60975f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/60975f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/682fd6.wgsl.expected.glsl b/test/builtins/gen/textureStore/682fd6.wgsl.expected.glsl index 5b4b7c6a1d..d24e17d359 100644 --- a/test/builtins/gen/textureStore/682fd6.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/682fd6.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/6b75c3.wgsl.expected.glsl b/test/builtins/gen/textureStore/6b75c3.wgsl.expected.glsl index cedcba4025..482d701fe9 100644 --- a/test/builtins/gen/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/6b75c3.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/6b80d2.wgsl.expected.glsl b/test/builtins/gen/textureStore/6b80d2.wgsl.expected.glsl index c338242ff5..6191846392 100644 --- a/test/builtins/gen/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/6b80d2.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/6cff2e.wgsl.expected.glsl b/test/builtins/gen/textureStore/6cff2e.wgsl.expected.glsl index bd2b8bb9c3..c495ac703e 100644 --- a/test/builtins/gen/textureStore/6cff2e.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/6cff2e.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/6da692.wgsl.expected.glsl b/test/builtins/gen/textureStore/6da692.wgsl.expected.glsl index 19eaa4f4ee..a96a9aa5c9 100644 --- a/test/builtins/gen/textureStore/6da692.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/6da692.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/731349.wgsl.expected.glsl b/test/builtins/gen/textureStore/731349.wgsl.expected.glsl index b73e16aa45..b46bfce01d 100644 --- a/test/builtins/gen/textureStore/731349.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/731349.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/752da6.wgsl.expected.glsl b/test/builtins/gen/textureStore/752da6.wgsl.expected.glsl index d0697ba187..81a93b0bb4 100644 --- a/test/builtins/gen/textureStore/752da6.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/752da6.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/77c0ae.wgsl.expected.glsl b/test/builtins/gen/textureStore/77c0ae.wgsl.expected.glsl index e019a3517b..178d2292ff 100644 --- a/test/builtins/gen/textureStore/77c0ae.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/77c0ae.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/7cec8d.wgsl.expected.glsl b/test/builtins/gen/textureStore/7cec8d.wgsl.expected.glsl index e001ffd8d9..7edc2e9098 100644 --- a/test/builtins/gen/textureStore/7cec8d.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/7cec8d.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/7f7fae.wgsl.expected.glsl b/test/builtins/gen/textureStore/7f7fae.wgsl.expected.glsl index b9b560841e..7c9e2c54f1 100644 --- a/test/builtins/gen/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/7f7fae.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8) uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/804942.wgsl.expected.glsl b/test/builtins/gen/textureStore/804942.wgsl.expected.glsl index 7d494d6b9b..81c53d44e1 100644 --- a/test/builtins/gen/textureStore/804942.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/804942.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/805dae.wgsl.expected.glsl b/test/builtins/gen/textureStore/805dae.wgsl.expected.glsl index b13210aeb9..ca08766e41 100644 --- a/test/builtins/gen/textureStore/805dae.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/805dae.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/83bcc1.wgsl.expected.glsl b/test/builtins/gen/textureStore/83bcc1.wgsl.expected.glsl index a31201e17d..8bce545efe 100644 --- a/test/builtins/gen/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/83bcc1.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/872747.wgsl.expected.glsl b/test/builtins/gen/textureStore/872747.wgsl.expected.glsl index 71a5c4134e..0b05efce86 100644 --- a/test/builtins/gen/textureStore/872747.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/872747.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/8e0479.wgsl.expected.glsl b/test/builtins/gen/textureStore/8e0479.wgsl.expected.glsl index f1a9d8b336..ef71d3247a 100644 --- a/test/builtins/gen/textureStore/8e0479.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/8e0479.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/8f71a1.wgsl.expected.glsl b/test/builtins/gen/textureStore/8f71a1.wgsl.expected.glsl index 2861408659..84785e7843 100644 --- a/test/builtins/gen/textureStore/8f71a1.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/8f71a1.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/969534.wgsl.expected.glsl b/test/builtins/gen/textureStore/969534.wgsl.expected.glsl index 3b70dd98bf..0298f445cd 100644 --- a/test/builtins/gen/textureStore/969534.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/969534.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/9a3ecc.wgsl.expected.glsl b/test/builtins/gen/textureStore/9a3ecc.wgsl.expected.glsl index 3f62bee1b5..8822b7922a 100644 --- a/test/builtins/gen/textureStore/9a3ecc.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/9a3ecc.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/9d9cd5.wgsl.expected.glsl b/test/builtins/gen/textureStore/9d9cd5.wgsl.expected.glsl index 6e1b913099..57918268c1 100644 --- a/test/builtins/gen/textureStore/9d9cd5.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/9d9cd5.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/9e3ec5.wgsl.expected.glsl b/test/builtins/gen/textureStore/9e3ec5.wgsl.expected.glsl index 26bea3df8b..34b1685044 100644 --- a/test/builtins/gen/textureStore/9e3ec5.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/9e3ec5.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/ac67aa.wgsl.expected.glsl b/test/builtins/gen/textureStore/ac67aa.wgsl.expected.glsl index c2df5bf258..e29fe608c6 100644 --- a/test/builtins/gen/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/ac67aa.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/b706b1.wgsl.expected.glsl b/test/builtins/gen/textureStore/b706b1.wgsl.expected.glsl index 879b6cc199..f2f9552464 100644 --- a/test/builtins/gen/textureStore/b706b1.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/b706b1.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/bbcb7f.wgsl.expected.glsl b/test/builtins/gen/textureStore/bbcb7f.wgsl.expected.glsl index d7b3b15d4b..431c83324d 100644 --- a/test/builtins/gen/textureStore/bbcb7f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/bbcb7f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/be6e30.wgsl.expected.glsl b/test/builtins/gen/textureStore/be6e30.wgsl.expected.glsl index 63ab0cf37b..90c0b7c442 100644 --- a/test/builtins/gen/textureStore/be6e30.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/be6e30.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/bf775c.wgsl.expected.glsl b/test/builtins/gen/textureStore/bf775c.wgsl.expected.glsl index 2e6251a011..6ced59589b 100644 --- a/test/builtins/gen/textureStore/bf775c.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/bf775c.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/c5af1e.wgsl.expected.glsl b/test/builtins/gen/textureStore/c5af1e.wgsl.expected.glsl index 0515d1bb53..d62dab1d92 100644 --- a/test/builtins/gen/textureStore/c5af1e.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/c5af1e.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/c863be.wgsl.expected.glsl b/test/builtins/gen/textureStore/c863be.wgsl.expected.glsl index d3312abc20..13741d4f0c 100644 --- a/test/builtins/gen/textureStore/c863be.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/c863be.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/d73b5c.wgsl.expected.glsl b/test/builtins/gen/textureStore/d73b5c.wgsl.expected.glsl index c9bc003c7f..0a47dde279 100644 --- a/test/builtins/gen/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/d73b5c.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/dd7d81.wgsl.expected.glsl b/test/builtins/gen/textureStore/dd7d81.wgsl.expected.glsl index d3fd691311..101a03d9ac 100644 --- a/test/builtins/gen/textureStore/dd7d81.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/dd7d81.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/dde364.wgsl.expected.glsl b/test/builtins/gen/textureStore/dde364.wgsl.expected.glsl index c1dc405f3e..a878ba5c4b 100644 --- a/test/builtins/gen/textureStore/dde364.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/dde364.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/e885e8.wgsl.expected.glsl b/test/builtins/gen/textureStore/e885e8.wgsl.expected.glsl index 4201b3c0fd..b77adfc564 100644 --- a/test/builtins/gen/textureStore/e885e8.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/e885e8.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba16f) uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/eb702f.wgsl.expected.glsl b/test/builtins/gen/textureStore/eb702f.wgsl.expected.glsl index 7f1de04655..6ba53e8868 100644 --- a/test/builtins/gen/textureStore/eb702f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/eb702f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/eb78b9.wgsl.expected.glsl b/test/builtins/gen/textureStore/eb78b9.wgsl.expected.glsl index a2a839d13c..d57fcfd150 100644 --- a/test/builtins/gen/textureStore/eb78b9.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/eb78b9.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32i) uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/ee6acc.wgsl.expected.glsl b/test/builtins/gen/textureStore/ee6acc.wgsl.expected.glsl index ca789f325d..8ad1b75797 100644 --- a/test/builtins/gen/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/ee6acc.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/ef9f2f.wgsl.expected.glsl b/test/builtins/gen/textureStore/ef9f2f.wgsl.expected.glsl index 2353ba7204..c04636eb96 100644 --- a/test/builtins/gen/textureStore/ef9f2f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/ef9f2f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(r32ui) uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/f8dead.wgsl.expected.glsl b/test/builtins/gen/textureStore/f8dead.wgsl.expected.glsl index 684867cf84..205cec7b8b 100644 --- a/test/builtins/gen/textureStore/f8dead.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/f8dead.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/f9be83.wgsl.expected.glsl b/test/builtins/gen/textureStore/f9be83.wgsl.expected.glsl index 9b801913fa..b2ea0c7ad6 100644 --- a/test/builtins/gen/textureStore/f9be83.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/f9be83.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -30,9 +30,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -53,9 +53,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/fb9a8f.wgsl.expected.glsl b/test/builtins/gen/textureStore/fb9a8f.wgsl.expected.glsl index bdcf537b0d..0a25bad02b 100644 --- a/test/builtins/gen/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/fb9a8f.wgsl.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } vec4 vertex_main() { @@ -31,9 +31,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void fragment_main() { @@ -55,9 +55,9 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } void compute_main() { diff --git a/test/builtins/gen/textureStore/fbf53f.wgsl.expected.glsl b/test/builtins/gen/textureStore/fbf53f.wgsl.expected.glsl index 3fbbf80325..3eb54d3902 100644 --- a/test/builtins/gen/textureStore/fbf53f.wgsl.expected.glsl +++ b/test/builtins/gen/textureStore/fbf53f.wgsl.expected.glsl @@ -1,9 +1,9 @@ #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } vec4 vertex_main() { @@ -21,9 +21,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void fragment_main() { @@ -37,9 +37,9 @@ void main() { #version 310 es precision mediump float; -layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } void compute_main() { diff --git a/test/types/texture/storage/1d.wgsl.expected.glsl b/test/types/texture/storage/1d.wgsl.expected.glsl index 035eaa1a1d..9b52e0238b 100644 --- a/test/types/texture/storage/1d.wgsl.expected.glsl +++ b/test/types/texture/storage/1d.wgsl.expected.glsl @@ -1,6 +1,24 @@ +SKIP: FAILED + #version 310 es precision mediump float; +layout(rgba8) uniform highp writeonly image1D t_rgba8unorm; +layout(rgba8_snorm) uniform highp writeonly image1D t_rgba8snorm; +layout(rgba8ui) uniform highp writeonly uimage1D t_rgba8uint; +layout(rgba8i) uniform highp writeonly iimage1D t_rgba8sint; +layout(rgba16ui) uniform highp writeonly uimage1D t_rgba16uint; +layout(rgba16i) uniform highp writeonly iimage1D t_rgba16sint; +layout(rgba16f) uniform highp writeonly image1D t_rgba16float; +layout(r32ui) uniform highp writeonly uimage1D t_r32uint; +layout(r32i) uniform highp writeonly iimage1D t_r32sint; +layout(r32f) uniform highp writeonly image1D t_r32float; +layout(rg32ui) uniform highp writeonly uimage1D t_rg32uint; +layout(rg32i) uniform highp writeonly iimage1D t_rg32sint; +layout(rg32f) uniform highp writeonly image1D t_rg32float; +layout(rgba32ui) uniform highp writeonly uimage1D t_rgba32uint; +layout(rgba32i) uniform highp writeonly iimage1D t_rgba32sint; +layout(rgba32f) uniform highp writeonly image1D t_rgba32float; void tint_symbol() { } @@ -9,3 +27,11 @@ void main() { tint_symbol(); return; } +Error parsing GLSL shader: +ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/types/texture/storage/2d.wgsl.expected.glsl b/test/types/texture/storage/2d.wgsl.expected.glsl index 035eaa1a1d..c249c5e33b 100644 --- a/test/types/texture/storage/2d.wgsl.expected.glsl +++ b/test/types/texture/storage/2d.wgsl.expected.glsl @@ -1,6 +1,24 @@ +SKIP: FAILED + #version 310 es precision mediump float; +layout(rgba8) uniform highp writeonly image2D t_rgba8unorm; +layout(rgba8_snorm) uniform highp writeonly image2D t_rgba8snorm; +layout(rgba8ui) uniform highp writeonly uimage2D t_rgba8uint; +layout(rgba8i) uniform highp writeonly iimage2D t_rgba8sint; +layout(rgba16ui) uniform highp writeonly uimage2D t_rgba16uint; +layout(rgba16i) uniform highp writeonly iimage2D t_rgba16sint; +layout(rgba16f) uniform highp writeonly image2D t_rgba16float; +layout(r32ui) uniform highp writeonly uimage2D t_r32uint; +layout(r32i) uniform highp writeonly iimage2D t_r32sint; +layout(r32f) uniform highp writeonly image2D t_r32float; +layout(rg32ui) uniform highp writeonly uimage2D t_rg32uint; +layout(rg32i) uniform highp writeonly iimage2D t_rg32sint; +layout(rg32f) uniform highp writeonly image2D t_rg32float; +layout(rgba32ui) uniform highp writeonly uimage2D t_rgba32uint; +layout(rgba32i) uniform highp writeonly iimage2D t_rgba32sint; +layout(rgba32f) uniform highp writeonly image2D t_rgba32float; void tint_symbol() { } @@ -9,3 +27,10 @@ void main() { tint_symbol(); return; } +Error parsing GLSL shader: +ERROR: 0:14: 'image load-store format' : not supported with this profile: es +ERROR: 0:14: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/types/texture/storage/2d_array.wgsl.expected.glsl b/test/types/texture/storage/2d_array.wgsl.expected.glsl index 035eaa1a1d..3257b6de23 100644 --- a/test/types/texture/storage/2d_array.wgsl.expected.glsl +++ b/test/types/texture/storage/2d_array.wgsl.expected.glsl @@ -1,6 +1,24 @@ +SKIP: FAILED + #version 310 es precision mediump float; +layout(rgba8) uniform highp writeonly image2DArray t_rgba8unorm; +layout(rgba8_snorm) uniform highp writeonly image2DArray t_rgba8snorm; +layout(rgba8ui) uniform highp writeonly uimage2DArray t_rgba8uint; +layout(rgba8i) uniform highp writeonly iimage2DArray t_rgba8sint; +layout(rgba16ui) uniform highp writeonly uimage2DArray t_rgba16uint; +layout(rgba16i) uniform highp writeonly iimage2DArray t_rgba16sint; +layout(rgba16f) uniform highp writeonly image2DArray t_rgba16float; +layout(r32ui) uniform highp writeonly uimage2DArray t_r32uint; +layout(r32i) uniform highp writeonly iimage2DArray t_r32sint; +layout(r32f) uniform highp writeonly image2DArray t_r32float; +layout(rg32ui) uniform highp writeonly uimage2DArray t_rg32uint; +layout(rg32i) uniform highp writeonly iimage2DArray t_rg32sint; +layout(rg32f) uniform highp writeonly image2DArray t_rg32float; +layout(rgba32ui) uniform highp writeonly uimage2DArray t_rgba32uint; +layout(rgba32i) uniform highp writeonly iimage2DArray t_rgba32sint; +layout(rgba32f) uniform highp writeonly image2DArray t_rgba32float; void tint_symbol() { } @@ -9,3 +27,10 @@ void main() { tint_symbol(); return; } +Error parsing GLSL shader: +ERROR: 0:14: 'image load-store format' : not supported with this profile: es +ERROR: 0:14: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/types/texture/storage/3d.wgsl.expected.glsl b/test/types/texture/storage/3d.wgsl.expected.glsl index 035eaa1a1d..aa862314e9 100644 --- a/test/types/texture/storage/3d.wgsl.expected.glsl +++ b/test/types/texture/storage/3d.wgsl.expected.glsl @@ -1,6 +1,24 @@ +SKIP: FAILED + #version 310 es precision mediump float; +layout(rgba8) uniform highp writeonly image3D t_rgba8unorm; +layout(rgba8_snorm) uniform highp writeonly image3D t_rgba8snorm; +layout(rgba8ui) uniform highp writeonly uimage3D t_rgba8uint; +layout(rgba8i) uniform highp writeonly iimage3D t_rgba8sint; +layout(rgba16ui) uniform highp writeonly uimage3D t_rgba16uint; +layout(rgba16i) uniform highp writeonly iimage3D t_rgba16sint; +layout(rgba16f) uniform highp writeonly image3D t_rgba16float; +layout(r32ui) uniform highp writeonly uimage3D t_r32uint; +layout(r32i) uniform highp writeonly iimage3D t_r32sint; +layout(r32f) uniform highp writeonly image3D t_r32float; +layout(rg32ui) uniform highp writeonly uimage3D t_rg32uint; +layout(rg32i) uniform highp writeonly iimage3D t_rg32sint; +layout(rg32f) uniform highp writeonly image3D t_rg32float; +layout(rgba32ui) uniform highp writeonly uimage3D t_rgba32uint; +layout(rgba32i) uniform highp writeonly iimage3D t_rgba32sint; +layout(rgba32f) uniform highp writeonly image3D t_rgba32float; void tint_symbol() { } @@ -9,3 +27,10 @@ void main() { tint_symbol(); return; } +Error parsing GLSL shader: +ERROR: 0:14: 'image load-store format' : not supported with this profile: es +ERROR: 0:14: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl b/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl index e371a239dd..886bf499b4 100644 --- a/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D x_20_1; +layout(r32f) uniform highp writeonly image1D x_20; void main_1() { float float_var = 0.0f; int i1 = 1; @@ -18,7 +18,7 @@ void main_1() { vec2 vf12 = vec2(1.0f, 2.0f); vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); - imageStore(x_20_1, int(u1), vf1234); + imageStore(x_20, int(u1), vf1234); uint x_1000 = 0u; return; } diff --git a/test/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.glsl deleted file mode 100644 index 6a06607ab9..0000000000 --- a/test/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.glsl +++ /dev/null @@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es -precision mediump float; - -uniform highp sampler2DShadow x_20_1; -void main_1() { - float f1 = 1.0f; - vec2 vf12 = vec2(1.0f, 2.0f); - vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); - vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); - int i1 = 1; - ivec2 vi12 = ivec2(1, 2); - ivec3 vi123 = ivec3(1, 2, 3); - ivec4 vi1234 = ivec4(1, 2, 3, 4); - uint u1 = 1u; - uvec2 vu12 = uvec2(1u, 2u); - uvec3 vu123 = uvec3(1u, 2u, 3u); - uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); - ivec2 offsets2d = ivec2(3, 4); - vec4 x_99 = vec4(texelFetch(x_20_1, vi12, 0).x, 0.0f, 0.0f, 0.0f); - return; -} - -void tint_symbol() { - main_1(); -} - -void main() { - tint_symbol(); - return; -} -Error parsing GLSL shader: -ERROR: 0:19: 'texelFetch' : no matching overloaded function found -ERROR: 0:19: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.glsl deleted file mode 100644 index 6a06607ab9..0000000000 --- a/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.glsl +++ /dev/null @@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es -precision mediump float; - -uniform highp sampler2DShadow x_20_1; -void main_1() { - float f1 = 1.0f; - vec2 vf12 = vec2(1.0f, 2.0f); - vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); - vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); - int i1 = 1; - ivec2 vi12 = ivec2(1, 2); - ivec3 vi123 = ivec3(1, 2, 3); - ivec4 vi1234 = ivec4(1, 2, 3, 4); - uint u1 = 1u; - uvec2 vu12 = uvec2(1u, 2u); - uvec3 vu123 = uvec3(1u, 2u, 3u); - uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); - ivec2 offsets2d = ivec2(3, 4); - vec4 x_99 = vec4(texelFetch(x_20_1, vi12, 0).x, 0.0f, 0.0f, 0.0f); - return; -} - -void tint_symbol() { - main_1(); -} - -void main() { - tint_symbol(); - return; -} -Error parsing GLSL shader: -ERROR: 0:19: 'texelFetch' : no matching overloaded function found -ERROR: 0:19: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.glsl deleted file mode 100644 index 92ab94d820..0000000000 --- a/test/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.glsl +++ /dev/null @@ -1,39 +0,0 @@ -SKIP: FAILED - -#version 310 es -precision mediump float; - -uniform highp sampler2DShadow x_20_1; -void main_1() { - float f1 = 1.0f; - vec2 vf12 = vec2(1.0f, 2.0f); - vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); - vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); - int i1 = 1; - ivec2 vi12 = ivec2(1, 2); - ivec3 vi123 = ivec3(1, 2, 3); - ivec4 vi1234 = ivec4(1, 2, 3, 4); - uint u1 = 1u; - uvec2 vu12 = uvec2(1u, 2u); - uvec3 vu123 = uvec3(1u, 2u, 3u); - uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); - ivec2 offsets2d = ivec2(3, 4); - vec4 x_99 = vec4(texelFetch(x_20_1, vi12, 3).x, 0.0f, 0.0f, 0.0f); - return; -} - -void tint_symbol() { - main_1(); -} - -void main() { - tint_symbol(); - return; -} -Error parsing GLSL shader: -ERROR: 0:19: 'texelFetch' : no matching overloaded function found -ERROR: 0:19: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.glsl index bfa9002075..d850b056e6 100644 --- a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DShadow x_20_1; +uniform highp sampler2D x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); diff --git a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.glsl index 0748c128c8..f84f06cf58 100644 --- a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow x_20_1; +uniform highp sampler2DArray x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); diff --git a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.glsl index 6a90652891..44ddcb5980 100644 --- a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeShadow x_20_1; +uniform highp samplerCube x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); diff --git a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.glsl index 109878635d..5e70fed154 100644 --- a/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow x_20_1; +uniform highp samplerCubeArray x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); @@ -35,7 +35,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.glsl index e89097aedf..9a35a8e0cd 100644 --- a/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArrayShadow x_20_1; +uniform highp sampler2DArray x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); diff --git a/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.glsl index b46b5cd1cc..4ad3ddcdaa 100644 --- a/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArrayShadow x_20_1; +uniform highp samplerCubeArray x_20_1; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); @@ -35,7 +35,7 @@ void main() { return; } Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArrayShadow' : Reserved word. +ERROR: 0:4: 'samplerCubeArray' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl index cff10d555e..766d374d4d 100644 --- a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D x_20_1; +layout(rg32f) uniform highp writeonly image2D x_20; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); @@ -18,7 +18,7 @@ void main_1() { uvec3 vu123 = uvec3(1u, 2u, 3u); uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); ivec2 offsets2d = ivec2(3, 4); - imageStore(x_20_1, vi12, vec4(vf12, 0.0f, 0.0f)); + imageStore(x_20, vi12, vec4(vf12, 0.0f, 0.0f)); return; } diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl index 4412b95768..3b7b04a835 100644 --- a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D x_20_1; +layout(rg32f) uniform highp writeonly image2D x_20; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); @@ -18,7 +18,7 @@ void main_1() { uvec3 vu123 = uvec3(1u, 2u, 3u); uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); ivec2 offsets2d = ivec2(3, 4); - imageStore(x_20_1, vi12, vec4(vf123, 0.0f)); + imageStore(x_20, vi12, vec4(vf123, 0.0f)); return; } diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl index 0f1f46b98e..66e03a1fbf 100644 --- a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image2D x_20_1; +layout(rg32f) uniform highp writeonly image2D x_20; void main_1() { float f1 = 1.0f; vec2 vf12 = vec2(1.0f, 2.0f); @@ -18,7 +18,7 @@ void main_1() { uvec3 vu123 = uvec3(1u, 2u, 3u); uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); ivec2 offsets2d = ivec2(3, 4); - imageStore(x_20_1, vi12, vf1234); + imageStore(x_20, vi12, vf1234); return; } diff --git a/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl b/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl index a4a48423e1..64e0b809aa 100644 --- a/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(r32f) uniform highp writeonly image1D x_20_1; +layout(r32f) uniform highp writeonly image1D x_20; void main_1() { float float_var = 0.0f; int i1 = 1; @@ -18,7 +18,7 @@ void main_1() { vec2 vf12 = vec2(1.0f, 2.0f); vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); - imageStore(x_20_1, i1, vf1234); + imageStore(x_20, i1, vf1234); uint x_1000 = 0u; return; } diff --git a/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl b/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl index 00462813dd..b104a63e00 100644 --- a/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl @@ -3,9 +3,9 @@ SKIP: FAILED #version 310 es precision mediump float; -layout(rg32f) uniform highp writeonly image1D x_20_1; +layout(rg32f) uniform highp writeonly image1D x_20; void main_1() { - imageStore(x_20_1, int(1u), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(x_20, int(1u), vec4(0.0f, 0.0f, 0.0f, 0.0f)); return; }