From 0ff3050c6c0180b90f5dbf0f184fcbbb73c243a4 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Fri, 19 Nov 2021 19:06:23 +0000 Subject: [PATCH] GLSL: a grab bag of texture fixes. Use imageSize() on images, not textureSize(). In GLSL, the LOD parameter to textureSize() is mandatory for sampled textures, so emit a default 0 if not supplied. (Also, don't pack the level into the coords argument; that's an HLSLism.) GLSL returns the array size of array textures in the final component of textureSize(); remove it for WGSL. Write the subtype of storage images correctly (uimage*, iimage*, etc). This required a bit of cleanup to move "writeonly" ahead of subtype emission. Bug: tint:1298 Change-Id: Ica1cec0f833a9b684143c8b0cf6d090fb511a7d2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70140 Kokoro: Kokoro Commit-Queue: Stephen White Reviewed-by: Ben Clayton --- src/writer/glsl/generator_impl.cc | 107 +++++++----------- .../generator_impl_intrinsic_texture_test.cc | 27 ++--- test/bug/tint/413.spvasm.expected.glsl | 16 +-- test/bug/tint/453.wgsl.expected.glsl | 16 +-- test/bug/tint/534.wgsl.expected.glsl | 16 +-- test/bug/tint/757.wgsl.expected.glsl | 12 +- test/bug/tint/827.wgsl.expected.glsl | 11 +- test/bug/tint/913.wgsl.expected.glsl | 20 +--- test/bug/tint/942.wgsl.expected.glsl | 15 +-- .../002b2a.wgsl.expected.glsl | 6 +- .../012b82.wgsl.expected.glsl | 38 +------ .../08753d.wgsl.expected.glsl | 18 +-- .../0c4772.wgsl.expected.glsl | 32 +----- .../0cce40.wgsl.expected.glsl | 18 +-- .../0cf2ff.wgsl.expected.glsl | 38 +------ .../0d8b7e.wgsl.expected.glsl | 38 +------ .../0e32ee.wgsl.expected.glsl | 38 +------ .../0f3c50.wgsl.expected.glsl | 32 +----- .../1191a5.wgsl.expected.glsl | 32 +----- .../12c9bb.wgsl.expected.glsl | 35 +----- .../147998.wgsl.expected.glsl | 32 +----- .../16036c.wgsl.expected.glsl | 38 +------ .../1b71f0.wgsl.expected.glsl | 38 +------ .../1d6c26.wgsl.expected.glsl | 32 +----- .../1e9e39.wgsl.expected.glsl | 6 +- .../1f20c5.wgsl.expected.glsl | 32 +----- .../214dd4.wgsl.expected.glsl | 38 +------ .../221f22.wgsl.expected.glsl | 6 +- .../267788.wgsl.expected.glsl | 35 +----- .../26bdfa.wgsl.expected.glsl | 35 +----- .../26ef6c.wgsl.expected.glsl | 38 +------ .../2ad087.wgsl.expected.glsl | 38 +------ .../2efa05.wgsl.expected.glsl | 35 +----- .../2f289f.wgsl.expected.glsl | 38 +------ .../2fe1cc.wgsl.expected.glsl | 35 +----- .../318ecc.wgsl.expected.glsl | 18 +-- .../340d06.wgsl.expected.glsl | 38 +------ .../398e30.wgsl.expected.glsl | 38 +------ .../3a94ea.wgsl.expected.glsl | 38 +------ .../3aca08.wgsl.expected.glsl | 6 +- .../3c5ad8.wgsl.expected.glsl | 38 +------ .../4152a6.wgsl.expected.glsl | 6 +- .../423f99.wgsl.expected.glsl | 6 +- .../4267ee.wgsl.expected.glsl | 32 +----- .../42d4e6.wgsl.expected.glsl | 6 +- .../48cb89.wgsl.expected.glsl | 32 +----- .../49d274.wgsl.expected.glsl | 38 +------ .../4df9a8.wgsl.expected.glsl | 18 +-- .../50a9ee.wgsl.expected.glsl | 6 +- .../52045c.wgsl.expected.glsl | 6 +- .../55b23e.wgsl.expected.glsl | 6 +- .../57da0b.wgsl.expected.glsl | 18 +-- .../57e28f.wgsl.expected.glsl | 32 +----- .../58a515.wgsl.expected.glsl | 32 +----- .../5985f3.wgsl.expected.glsl | 38 +------ .../5caa5e.wgsl.expected.glsl | 18 +-- .../5e295d.wgsl.expected.glsl | 38 +------ .../60bf54.wgsl.expected.glsl | 38 +------ .../63f3cf.wgsl.expected.glsl | 32 +----- .../68105c.wgsl.expected.glsl | 38 +------ .../686ef2.wgsl.expected.glsl | 35 +----- .../6adac6.wgsl.expected.glsl | 18 +-- .../6ec1b4.wgsl.expected.glsl | 32 +----- .../6f0d79.wgsl.expected.glsl | 32 +----- .../702c53.wgsl.expected.glsl | 32 +----- .../72e5d6.wgsl.expected.glsl | 35 +----- .../79df87.wgsl.expected.glsl | 6 +- .../7bf826.wgsl.expected.glsl | 32 +----- .../7f5c2e.wgsl.expected.glsl | 38 +------ .../8028f3.wgsl.expected.glsl | 32 +----- .../811679.wgsl.expected.glsl | 38 +------ .../820596.wgsl.expected.glsl | 38 +------ .../83ee5a.wgsl.expected.glsl | 38 +------ .../85d556.wgsl.expected.glsl | 35 +----- .../88ad17.wgsl.expected.glsl | 35 +----- .../8aa4c4.wgsl.expected.glsl | 32 +----- .../8deb5e.wgsl.expected.glsl | 32 +----- .../8f20bf.wgsl.expected.glsl | 6 +- .../8fca0f.wgsl.expected.glsl | 32 +----- .../90340b.wgsl.expected.glsl | 6 +- .../9042ab.wgsl.expected.glsl | 38 +------ .../9393b0.wgsl.expected.glsl | 35 +----- .../939fdb.wgsl.expected.glsl | 32 +----- .../962dcd.wgsl.expected.glsl | 32 +----- .../9abfe5.wgsl.expected.glsl | 32 +----- .../9c9c57.wgsl.expected.glsl | 35 +----- .../9da9e2.wgsl.expected.glsl | 18 +-- .../9eb8d8.wgsl.expected.glsl | 38 +------ .../9f8e46.wgsl.expected.glsl | 32 +----- .../a01845.wgsl.expected.glsl | 6 +- .../a7d565.wgsl.expected.glsl | 6 +- .../a863f2.wgsl.expected.glsl | 6 +- .../a9c9c1.wgsl.expected.glsl | 35 +----- .../b0e16d.wgsl.expected.glsl | 35 +----- .../b3c954.wgsl.expected.glsl | 32 +----- .../b3e407.wgsl.expected.glsl | 6 +- .../b91240.wgsl.expected.glsl | 32 +----- .../ba1481.wgsl.expected.glsl | 32 +----- .../bb3dde.wgsl.expected.glsl | 38 +------ .../c30e75.wgsl.expected.glsl | 38 +------ .../c7943d.wgsl.expected.glsl | 38 +------ .../cc968c.wgsl.expected.glsl | 18 +-- .../cccc8f.wgsl.expected.glsl | 6 +- .../cd76a7.wgsl.expected.glsl | 32 +----- .../cdf473.wgsl.expected.glsl | 38 +------ .../cec841.wgsl.expected.glsl | 32 +----- .../cf7e43.wgsl.expected.glsl | 32 +----- .../d125bc.wgsl.expected.glsl | 32 +----- .../d83c45.wgsl.expected.glsl | 6 +- .../dc2dd0.wgsl.expected.glsl | 18 +-- .../e927be.wgsl.expected.glsl | 6 +- .../e9e96c.wgsl.expected.glsl | 32 +----- .../efc8a4.wgsl.expected.glsl | 35 +----- .../f7145b.wgsl.expected.glsl | 35 +----- .../f931c7.wgsl.expected.glsl | 32 +----- .../fa9859.wgsl.expected.glsl | 32 +----- .../fb5670.wgsl.expected.glsl | 32 +----- .../fcac78.wgsl.expected.glsl | 38 +------ .../gen/textureLoad/19cf87.wgsl.expected.glsl | 29 +---- .../gen/textureLoad/1b8588.wgsl.expected.glsl | 6 +- .../gen/textureLoad/1f2016.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/484344.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/4fd803.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/5a2f9d.wgsl.expected.glsl | 6 +- .../gen/textureLoad/6154d4.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/6273b1.wgsl.expected.glsl | 29 +---- .../gen/textureLoad/79e697.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/7c90e5.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/81c381.wgsl.expected.glsl | 6 +- .../gen/textureLoad/87be85.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/8acf41.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/9b2667.wgsl.expected.glsl | 29 +---- .../gen/textureLoad/a9a9f5.wgsl.expected.glsl | 32 +----- .../gen/textureLoad/c2a480.wgsl.expected.glsl | 32 +----- .../058cc3.wgsl.expected.glsl | 6 +- .../13b4ce.wgsl.expected.glsl | 6 +- .../22e53b.wgsl.expected.glsl | 6 +- .../9700fb.wgsl.expected.glsl | 6 +- .../a216d2.wgsl.expected.glsl | 6 +- .../cd5dc8.wgsl.expected.glsl | 6 +- .../ee942f.wgsl.expected.glsl | 6 +- .../f33005.wgsl.expected.glsl | 6 +- .../fcec98.wgsl.expected.glsl | 6 +- .../ff5e89.wgsl.expected.glsl | 6 +- .../textureStore/05ce15.wgsl.expected.glsl | 29 +---- .../textureStore/064c7f.wgsl.expected.glsl | 29 +---- .../textureStore/068641.wgsl.expected.glsl | 35 +----- .../textureStore/0af6b5.wgsl.expected.glsl | 29 +---- .../textureStore/0c3dff.wgsl.expected.glsl | 35 +----- .../textureStore/102722.wgsl.expected.glsl | 18 +-- .../textureStore/1bbd08.wgsl.expected.glsl | 29 +---- .../textureStore/1c02e7.wgsl.expected.glsl | 35 +----- .../textureStore/22d955.wgsl.expected.glsl | 35 +----- .../textureStore/26bf70.wgsl.expected.glsl | 35 +----- .../textureStore/2796b4.wgsl.expected.glsl | 35 +----- .../textureStore/2ac6c7.wgsl.expected.glsl | 6 +- .../textureStore/2eb2a4.wgsl.expected.glsl | 18 +-- .../textureStore/2ed2a3.wgsl.expected.glsl | 6 +- .../textureStore/31745b.wgsl.expected.glsl | 35 +----- .../textureStore/32f368.wgsl.expected.glsl | 29 +---- .../textureStore/331aee.wgsl.expected.glsl | 29 +---- .../textureStore/38e8d7.wgsl.expected.glsl | 35 +----- .../textureStore/3a52ac.wgsl.expected.glsl | 35 +----- .../textureStore/3bb7a1.wgsl.expected.glsl | 29 +---- .../textureStore/3bec15.wgsl.expected.glsl | 18 +-- .../textureStore/441ba8.wgsl.expected.glsl | 35 +----- .../textureStore/4fc057.wgsl.expected.glsl | 29 +---- .../textureStore/5a2f8f.wgsl.expected.glsl | 18 +-- .../textureStore/60975f.wgsl.expected.glsl | 29 +---- .../textureStore/682fd6.wgsl.expected.glsl | 35 +----- .../textureStore/6b75c3.wgsl.expected.glsl | 6 +- .../textureStore/6b80d2.wgsl.expected.glsl | 18 +-- .../textureStore/6cff2e.wgsl.expected.glsl | 35 +----- .../textureStore/6da692.wgsl.expected.glsl | 35 +----- .../textureStore/731349.wgsl.expected.glsl | 29 +---- .../textureStore/752da6.wgsl.expected.glsl | 35 +----- .../textureStore/77c0ae.wgsl.expected.glsl | 35 +----- .../textureStore/7cec8d.wgsl.expected.glsl | 35 +----- .../textureStore/7f7fae.wgsl.expected.glsl | 6 +- .../textureStore/804942.wgsl.expected.glsl | 35 +----- .../textureStore/805dae.wgsl.expected.glsl | 29 +---- .../textureStore/83bcc1.wgsl.expected.glsl | 18 +-- .../textureStore/872747.wgsl.expected.glsl | 6 +- .../textureStore/8e0479.wgsl.expected.glsl | 35 +----- .../textureStore/8f71a1.wgsl.expected.glsl | 35 +----- .../textureStore/969534.wgsl.expected.glsl | 18 +-- .../textureStore/9a3ecc.wgsl.expected.glsl | 35 +----- .../textureStore/9d9cd5.wgsl.expected.glsl | 29 +---- .../textureStore/9e3ec5.wgsl.expected.glsl | 35 +----- .../textureStore/ac67aa.wgsl.expected.glsl | 35 +----- .../textureStore/b706b1.wgsl.expected.glsl | 35 +----- .../textureStore/bbcb7f.wgsl.expected.glsl | 35 +----- .../textureStore/be6e30.wgsl.expected.glsl | 29 +---- .../textureStore/bf775c.wgsl.expected.glsl | 18 +-- .../textureStore/c5af1e.wgsl.expected.glsl | 29 +---- .../textureStore/c863be.wgsl.expected.glsl | 29 +---- .../textureStore/d73b5c.wgsl.expected.glsl | 18 +-- .../textureStore/dd7d81.wgsl.expected.glsl | 29 +---- .../textureStore/dde364.wgsl.expected.glsl | 35 +----- .../textureStore/e885e8.wgsl.expected.glsl | 6 +- .../textureStore/eb702f.wgsl.expected.glsl | 29 +---- .../textureStore/eb78b9.wgsl.expected.glsl | 35 +----- .../textureStore/ee6acc.wgsl.expected.glsl | 29 +---- .../textureStore/ef9f2f.wgsl.expected.glsl | 35 +----- .../textureStore/f8dead.wgsl.expected.glsl | 35 +----- .../textureStore/f9be83.wgsl.expected.glsl | 35 +----- .../textureStore/fb9a8f.wgsl.expected.glsl | 18 +-- .../textureStore/fbf53f.wgsl.expected.glsl | 35 +----- .../textureLoad/depth_ms.spvasm.expected.glsl | 29 +---- .../texture/storage/1d.wgsl.expected.glsl | 20 ++-- .../texture/storage/2d.wgsl.expected.glsl | 20 ++-- .../storage/2d_array.wgsl.expected.glsl | 20 ++-- .../texture/storage/3d.wgsl.expected.glsl | 20 ++-- 213 files changed, 1012 insertions(+), 4663 deletions(-) diff --git a/src/writer/glsl/generator_impl.cc b/src/writer/glsl/generator_impl.cc index 824fdda763..f43509eae5 100644 --- a/src/writer/glsl/generator_impl.cc +++ b/src/writer/glsl/generator_impl.cc @@ -1135,18 +1135,35 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, switch (intrinsic->Type()) { case sem::IntrinsicType::kTextureDimensions: { - out << "textureSize("; + if (texture_type->Is()) { + out << "imageSize("; + } else { + out << "textureSize("; + } if (!EmitExpression(out, texture)) { return false; } - auto* level_arg = arg(Usage::kLevel); - if (level_arg) { - if (!EmitExpression(out, level_arg)) { - return false; + // The LOD parameter is mandatory on textureSize() for non-multisampled + // textures. + if (!texture_type->Is() && + !texture_type->Is() && + !texture_type->Is()) { + out << ", "; + if (auto* level_arg = arg(Usage::kLevel)) { + if (!EmitExpression(out, level_arg)) { + return false; + } + } else { + out << "0"; } } out << ")"; + // textureSize() on sampler2dArray returns the array size in the + // final component, so strip it out. + if (texture_type->dim() == ast::TextureDimension::k2dArray) { + out << ".xy"; + } return true; } // TODO(senorblanco): determine if this works for array textures @@ -1171,12 +1188,6 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, break; } - // If pack_level_in_coords is true, then the mip level will be appended as the - // last value of the coordinates argument. If the WGSL intrinsic overload does - // not have a level parameter and pack_level_in_coords is true, then a zero - // mip level will be inserted. - bool pack_level_in_coords = false; - uint32_t glsl_ret_width = 4u; switch (intrinsic->Type()) { @@ -1200,10 +1211,6 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, break; case sem::IntrinsicType::kTextureLoad: out << "texelFetch("; - // Multisampled textures do not support mip-levels. - if (!texture_type->Is()) { - pack_level_in_coords = true; - } break; case sem::IntrinsicType::kTextureStore: out << "imageStore("; @@ -1227,40 +1234,10 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, return false; } - auto emit_vector_appended_with_i32_zero = [&](const ast::Expression* vector) { - auto* i32 = builder_.create(); - auto* zero = builder_.Expr(0); - auto* stmt = builder_.Sem().Get(vector)->Stmt(); - builder_.Sem().Add(zero, builder_.create(zero, i32, stmt, - sem::Constant{})); - auto* packed = AppendVector(&builder_, vector, zero); - return EmitExpression(out, packed->Declaration()); - }; - - auto emit_vector_appended_with_level = [&](const ast::Expression* vector) { - if (auto* level = arg(Usage::kLevel)) { - auto* packed = AppendVector(&builder_, vector, level); - return EmitExpression(out, packed->Declaration()); - } - return emit_vector_appended_with_i32_zero(vector); - }; - if (auto* array_index = arg(Usage::kArrayIndex)) { // Array index needs to be appended to the coordinates. auto* packed = AppendVector(&builder_, param_coords, array_index); - if (pack_level_in_coords) { - // Then mip level needs to be appended to the coordinates. - if (!emit_vector_appended_with_level(packed->Declaration())) { - return false; - } - } else { - if (!EmitExpression(out, packed->Declaration())) { - return false; - } - } - } else if (pack_level_in_coords) { - // Mip level needs to be appended to the coordinates. - if (!emit_vector_appended_with_level(param_coords)) { + if (!EmitExpression(out, packed->Declaration())) { return false; } } else { @@ -1272,9 +1249,6 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, for (auto usage : {Usage::kDepthRef, Usage::kBias, Usage::kLevel, Usage::kDdx, Usage::kDdy, Usage::kSampleIndex, Usage::kOffset, Usage::kValue}) { - if (usage == Usage::kLevel && pack_level_in_coords) { - continue; // mip level already packed in coordinates. - } if (auto* e = arg(usage)) { out << ", "; if (!EmitExpression(out, e)) { @@ -1285,6 +1259,9 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out, out << ")"; + if (intrinsic->ReturnType()->Is()) { + return true; + } // If the intrinsic return type does not match the number of elements of the // GLSL intrinsic, we need to swizzle the expression to generate the correct // number of components. @@ -2436,28 +2413,24 @@ bool GeneratorImpl::EmitType(std::ostream& out, out << "uniform highp "; - if (sampled || ms) { - auto* subtype = - sampled ? sampled->type() : storage ? storage->type() : ms->type(); - if (subtype->Is()) { - } else if (subtype->Is()) { - out << "i"; - } else if (subtype->Is()) { - out << "u"; - } else { - TINT_ICE(Writer, diagnostics_) << "Unsupported texture type"; - return false; - } + if (storage && storage->access() != ast::Access::kRead) { + out << "writeonly "; } - if (storage) { - if (storage->access() != ast::Access::kRead) { - out << "writeonly "; - } - out << "image"; + auto* subtype = sampled + ? sampled->type() + : storage ? storage->type() : ms ? ms->type() : nullptr; + if (!subtype || subtype->Is()) { + } else if (subtype->Is()) { + out << "i"; + } else if (subtype->Is()) { + out << "u"; } else { - out << "sampler"; + TINT_ICE(Writer, diagnostics_) << "Unsupported texture type"; + return false; } + out << (storage ? "image" : "sampler"); + switch (tex->dim()) { case ast::TextureDimension::k1d: out << "1D"; diff --git a/src/writer/glsl/generator_impl_intrinsic_texture_test.cc b/src/writer/glsl/generator_impl_intrinsic_texture_test.cc index 8d3a1eb2ac..04fff42aa0 100644 --- a/src/writer/glsl/generator_impl_intrinsic_texture_test.cc +++ b/src/writer/glsl/generator_impl_intrinsic_texture_test.cc @@ -37,17 +37,13 @@ ExpectedResult expected_texture_overload( using ValidTextureOverload = ast::intrinsic::test::ValidTextureOverload; switch (overload) { case ValidTextureOverload::kDimensions1d: - case ValidTextureOverload::kDimensionsStorageWO1d: case ValidTextureOverload::kDimensions2d: case ValidTextureOverload::kDimensionsDepth2d: - case ValidTextureOverload::kDimensionsStorageWO2d: case ValidTextureOverload::kDimensionsDepthMultisampled2d: case ValidTextureOverload::kDimensionsMultisampled2d: case ValidTextureOverload::kDimensions2dArray: case ValidTextureOverload::kDimensionsDepth2dArray: - case ValidTextureOverload::kDimensionsStorageWO2dArray: case ValidTextureOverload::kDimensions3d: - case ValidTextureOverload::kDimensionsStorageWO3d: case ValidTextureOverload::kDimensionsCube: case ValidTextureOverload::kDimensionsDepthCube: case ValidTextureOverload::kDimensionsCubeArray: @@ -62,6 +58,11 @@ ExpectedResult expected_texture_overload( case ValidTextureOverload::kDimensionsCubeArrayLevel: case ValidTextureOverload::kDimensionsDepthCubeArrayLevel: return {"textureSize"}; + case ValidTextureOverload::kDimensionsStorageWO1d: + case ValidTextureOverload::kDimensionsStorageWO2d: + case ValidTextureOverload::kDimensionsStorageWO2dArray: + case ValidTextureOverload::kDimensionsStorageWO3d: + return {"imageSize"}; case ValidTextureOverload::kNumLayers2dArray: case ValidTextureOverload::kNumLayersDepth2dArray: case ValidTextureOverload::kNumLayersCubeArray: @@ -197,35 +198,35 @@ ExpectedResult expected_texture_overload( case ValidTextureOverload::kLoad1dLevelF32: case ValidTextureOverload::kLoad1dLevelU32: case ValidTextureOverload::kLoad1dLevelI32: - return R"(texelFetch(tint_symbol, ivec2(1, 3));)"; + return R"(texelFetch(tint_symbol, 1, 3);)"; case ValidTextureOverload::kLoad2dLevelF32: case ValidTextureOverload::kLoad2dLevelU32: case ValidTextureOverload::kLoad2dLevelI32: - return R"(texelFetch(tint_symbol, ivec3(1, 2, 3));)"; + return R"(texelFetch(tint_symbol, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoad2dArrayLevelF32: case ValidTextureOverload::kLoad2dArrayLevelU32: case ValidTextureOverload::kLoad2dArrayLevelI32: case ValidTextureOverload::kLoad3dLevelF32: case ValidTextureOverload::kLoad3dLevelU32: case ValidTextureOverload::kLoad3dLevelI32: - return R"(texelFetch(tint_symbol, ivec4(1, 2, 3, 4));)"; + return R"(texelFetch(tint_symbol, ivec3(1, 2, 3), 4);)"; case ValidTextureOverload::kLoadDepthMultisampled2dF32: case ValidTextureOverload::kLoadMultisampled2dF32: case ValidTextureOverload::kLoadMultisampled2dU32: case ValidTextureOverload::kLoadMultisampled2dI32: return R"(texelFetch(tint_symbol, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoadDepth2dLevelF32: - return R"(texelFetch(tint_symbol, ivec3(1, 2, 3)).x;)"; + return R"(texelFetch(tint_symbol, ivec2(1, 2), 3).x;)"; case ValidTextureOverload::kLoadDepth2dArrayLevelF32: - return R"(texelFetch(tint_symbol, ivec4(1, 2, 3, 4)).x;)"; + return R"(texelFetch(tint_symbol, ivec3(1, 2, 3), 4).x;)"; case ValidTextureOverload::kStoreWO1dRgba32float: - return R"(imageStore(tint_symbol, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f)).x;)"; + return R"(imageStore(tint_symbol, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f));)"; case ValidTextureOverload::kStoreWO2dRgba32float: - return R"(imageStore(tint_symbol, ivec2(1, 2), vec4(3.0f, 4.0f, 5.0f, 6.0f)).x;)"; + 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, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f)).x;)"; + 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, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f)).x;)"; + 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/bug/tint/413.spvasm.expected.glsl b/test/bug/tint/413.spvasm.expected.glsl index c3dc7bc964..5bc6dd6054 100644 --- a/test/bug/tint/413.spvasm.expected.glsl +++ b/test/bug/tint/413.spvasm.expected.glsl @@ -1,18 +1,16 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2D Src; -uniform highp writeonly image2D Dst; +uniform highp writeonly uimage2D Dst; void main_1() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); - uvec4 x_18 = texelFetch(Src, ivec3(0, 0, 0)); + uvec4 x_18 = texelFetch(Src, ivec2(0, 0), 0); srcValue = x_18; uint x_22 = srcValue.x; srcValue.x = (x_22 + uint(1)); - imageStore(Dst, ivec2(0, 0), srcValue).x; + imageStore(Dst, ivec2(0, 0), srcValue); return; } @@ -26,11 +24,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:9: 'texelFetch' : no matching overloaded function found -ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:9: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/bug/tint/453.wgsl.expected.glsl b/test/bug/tint/453.wgsl.expected.glsl index 5eec44fe79..2cb6a7a623 100644 --- a/test/bug/tint/453.wgsl.expected.glsl +++ b/test/bug/tint/453.wgsl.expected.glsl @@ -1,19 +1,17 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2D Src; -uniform highp writeonly image2D Dst; +uniform highp writeonly uimage2D Dst; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); - uvec4 x_22 = texelFetch(Src, ivec3(0, 0, 0)); + uvec4 x_22 = texelFetch(Src, ivec2(0, 0), 0); srcValue = x_22; uint x_24 = srcValue.x; uint x_25 = (x_24 + 1u); - imageStore(Dst, ivec2(0, 0), srcValue.xxxx).x; + imageStore(Dst, ivec2(0, 0), srcValue.xxxx); return; } void main() { @@ -21,11 +19,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:10: 'texelFetch' : no matching overloaded function found -ERROR: 0:10: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:10: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/bug/tint/534.wgsl.expected.glsl b/test/bug/tint/534.wgsl.expected.glsl index 8a8429e546..6a80ad66da 100644 --- a/test/bug/tint/534.wgsl.expected.glsl +++ b/test/bug/tint/534.wgsl.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -25,14 +23,14 @@ struct tint_symbol_3 { }; void tint_symbol_1_inner(uvec3 GlobalInvocationID) { - ivec2 size = textureSize(src); + ivec2 size = textureSize(src, 0); ivec2 dstTexCoord = ivec2(GlobalInvocationID.xy); ivec2 srcTexCoord = dstTexCoord; if ((uniforms.dstTextureFlipY == 1u)) { srcTexCoord.y = ((size.y - dstTexCoord.y) - 1); } - vec4 srcColor = texelFetch(src, ivec3(srcTexCoord, 0)); - vec4 dstColor = texelFetch(dst, ivec3(dstTexCoord, 0)); + vec4 srcColor = texelFetch(src, srcTexCoord, 0); + vec4 dstColor = texelFetch(dst, dstTexCoord, 0); bool success = true; uvec4 srcColorBits = uvec4(0u, 0u, 0u, 0u); uvec4 dstColorBits = uvec4(dstColor); @@ -66,11 +64,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:26: 'textureSize' : no matching overloaded function found -ERROR: 0:26: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:26: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/bug/tint/757.wgsl.expected.glsl b/test/bug/tint/757.wgsl.expected.glsl index d877f23bf8..b1f584588d 100644 --- a/test/bug/tint/757.wgsl.expected.glsl +++ b/test/bug/tint/757.wgsl.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -17,7 +15,7 @@ struct tint_symbol_2 { void tint_symbol_inner(uvec3 GlobalInvocationID) { uint flatIndex = ((((2u * 2u) * GlobalInvocationID.z) + (2u * GlobalInvocationID.y)) + GlobalInvocationID.x); flatIndex = (flatIndex * 1u); - vec4 texel = texelFetch(myTexture, ivec4(ivec3(ivec2(GlobalInvocationID.xy), 0), 0)); + vec4 texel = texelFetch(myTexture, ivec3(ivec2(GlobalInvocationID.xy), 0), 0); { for(uint i = 0u; (i < 1u); i = (i + 1u)) { result.values[(flatIndex + i)] = texel.r; @@ -37,11 +35,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:18: 'texelFetch' : no matching overloaded function found -ERROR: 0:18: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:18: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/bug/tint/827.wgsl.expected.glsl b/test/bug/tint/827.wgsl.expected.glsl index 9c634b71de..cea22b9156 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; @@ -15,7 +13,7 @@ struct tint_symbol_2 { }; void tint_symbol_inner(uvec3 GlobalInvocationId) { - result.values[((GlobalInvocationId.y * width) + GlobalInvocationId.x)] = texelFetch(tex, ivec3(int(GlobalInvocationId.x), int(GlobalInvocationId.y), 0)).x; + result.values[((GlobalInvocationId.y * width) + GlobalInvocationId.x)] = texelFetch(tex, ivec2(int(GlobalInvocationId.x), int(GlobalInvocationId.y)), 0).x; } layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; @@ -30,10 +28,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:16: 'texelFetch' : no matching overloaded function found -ERROR: 0:16: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/bug/tint/913.wgsl.expected.glsl b/test/bug/tint/913.wgsl.expected.glsl index 3043ed02ff..76e16aebcf 100644 --- a/test/bug/tint/913.wgsl.expected.glsl +++ b/test/bug/tint/913.wgsl.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -26,8 +24,8 @@ struct tint_symbol_3 { }; void tint_symbol_1_inner(uvec3 GlobalInvocationID) { - ivec2 srcSize = textureSize(src); - ivec2 dstSize = textureSize(dst); + ivec2 srcSize = textureSize(src, 0); + ivec2 dstSize = textureSize(dst, 0); uvec2 dstTexCoord = uvec2(GlobalInvocationID.xy); vec4 nonCoveredColor = vec4(0.0f, 1.0f, 0.0f, 1.0f); bool success = true; @@ -46,7 +44,7 @@ void tint_symbol_1_inner(uvec3 GlobalInvocationID) { if ((tint_tmp)) { bool tint_tmp_3 = success; if (tint_tmp_3) { - tint_tmp_3 = all(equal(texelFetch(dst, ivec3(ivec2(dstTexCoord), 0)), nonCoveredColor)); + tint_tmp_3 = all(equal(texelFetch(dst, ivec2(dstTexCoord), 0), nonCoveredColor)); } success = (tint_tmp_3); } else { @@ -54,8 +52,8 @@ void tint_symbol_1_inner(uvec3 GlobalInvocationID) { if ((uniforms.dstTextureFlipY == 1u)) { srcTexCoord.y = ((uint(srcSize.y) - srcTexCoord.y) - 1u); } - vec4 srcColor = texelFetch(src, ivec3(ivec2(srcTexCoord), 0)); - vec4 dstColor = texelFetch(dst, ivec3(ivec2(dstTexCoord), 0)); + vec4 srcColor = texelFetch(src, ivec2(srcTexCoord), 0); + vec4 dstColor = texelFetch(dst, ivec2(dstTexCoord), 0); if ((uniforms.channelCount == 2u)) { bool tint_tmp_5 = success; if (tint_tmp_5) { @@ -106,11 +104,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:27: 'textureSize' : no matching overloaded function found -ERROR: 0:27: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:27: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/bug/tint/942.wgsl.expected.glsl b/test/bug/tint/942.wgsl.expected.glsl index 464422e63f..3e730ee778 100644 --- a/test/bug/tint/942.wgsl.expected.glsl +++ b/test/bug/tint/942.wgsl.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -33,7 +31,7 @@ void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_in } memoryBarrierShared(); uint filterOffset = ((params.filterDim - 1u) / 2u); - ivec2 dims = textureSize(inputTex0); + ivec2 dims = textureSize(inputTex, 0); ivec2 baseIndex = (ivec2(((WorkGroupID.xy * uvec2(params.blockDim, 4u)) + (LocalInvocationID.xy * uvec2(4u, 1u)))) - ivec2(int(filterOffset), 0)); { for(uint r = 0u; (r < 4u); r = (r + 1u)) { @@ -74,7 +72,7 @@ void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_in acc = (acc + ((1.0f / float(params.filterDim)) * tile[r][i])); } } - imageStore(outputTex, writeIndex, vec4(acc, 1.0f)).x; + imageStore(outputTex, writeIndex, vec4(acc, 1.0f)); } } } @@ -96,12 +94,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:34: 'inputTex0' : undeclared identifier -ERROR: 0:34: 'textureSize' : no matching overloaded function found -ERROR: 0:34: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:34: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl index ee559be71d..9b03989038 100644 --- a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_002b2a() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_002b2a() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_002b2a() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl index 8068e3b6e0..d7e382b201 100644 --- a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_012b82() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl index 2edf7547c7..7b6ddd3600 100644 --- a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_08753d() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl index 4e3e71770f..47ea770976 100644 --- a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_0c4772() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl index 869d6e8b90..b38c86fea3 100644 --- a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_0cce40() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl index 24f9d898cd..3aa1e4499b 100644 --- a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_0cf2ff() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl index 6623d1fd31..063525fbf4 100644 --- a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_0d8b7e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl index 4e14a83c09..7cca22f4ca 100644 --- a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_0e32ee() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl index 5f5c12a567..deb60b064b 100644 --- a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl index 8f13b8081c..5acdae34c7 100644 --- a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl index ad5149f7e6..8ae5edaf68 100644 --- a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl index 2d56955dfc..436e19faae 100644 --- a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_147998() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl index 3533374a94..47bfbb9560 100644 --- a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_16036c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl index 0d31f7fa53..140fb96ca1 100644 --- a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_1b71f0() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl index 907b5f63fd..d07e8bd0fa 100644 --- a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_1d6c26() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl index e216b9559b..01f35bbebf 100644 --- a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_1e9e39() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl index de629184d2..98e26b9d8b 100644 --- a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl index 65f32a76ee..c5d4bd9c44 100644 --- a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_214dd4() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl index 46c553b8d9..997fdbf12a 100644 --- a/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl index e3167c3f40..2a38ed1f86 100644 --- a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_267788() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_267788() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureDimensions_267788() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl index 36fc485ae4..c11a1bac90 100644 --- a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl index 791209ebaa..bff5392743 100644 --- a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_26ef6c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl index ec368245ad..63a9d19a68 100644 --- a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_2ad087() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl index 9e0d6f61ef..7fb5c3aba1 100644 --- a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl index 05e1aa2b53..41213b94c6 100644 --- a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_2f289f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl index a30121380c..44c41df383 100644 --- a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl index 1f687b5bce..5bb035e091 100644 --- a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_318ecc() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl index b36a064ce0..ae0b0d1668 100644 --- a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_340d06() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl index 68168ccc61..f01ccff34f 100644 --- a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_398e30() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl index c2e5d0af9b..9e61b93df6 100644 --- a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_3a94ea() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl index d3b50a37d8..838aa42a06 100644 --- a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_3aca08() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl index d0e6937794..e46b1a4c63 100644 --- a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_3c5ad8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl index f327cfcf55..c155b41b2d 100644 --- a/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl index b3ffbf609e..074ff26900 100644 --- a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_423f99() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_423f99() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_423f99() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl index 54574e40aa..58078cc4f7 100644 --- a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_4267ee() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl index a55a931dde..91753ec39b 100644 --- a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_42d4e6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl index 51d36202d1..ba67ed68c9 100644 --- a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_48cb89() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl index fa2ffd6653..fe5fe75521 100644 --- a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_49d274() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl index 1f940ca0d0..82d19744d1 100644 --- a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_4df9a8() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl index 3abdb03a6c..412ba50a5d 100644 --- a/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl index b104509e91..e7a1937822 100644 --- a/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_52045c() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_52045c() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureDimensions_52045c() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl index 2709ff7cb3..446361a8e4 100644 --- a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_55b23e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl index 99c6588fd5..ae3e70d79a 100644 --- a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_57da0b() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl index 03bc16c04e..bbc2d409d2 100644 --- a/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl index 99db49e696..dcbe2db86c 100644 --- a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_58a515() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl index 5bfcbd38bc..f947c8a832 100644 --- a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_5985f3() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl index 408ee5e1b8..9cc48d7a2b 100644 --- a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_5caa5e() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl index 427787eee6..4d1c04cd5d 100644 --- a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_5e295d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl index dc58a7fe00..b197f2c8d9 100644 --- a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_60bf54() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl index c595ee6329..1432692908 100644 --- a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_63f3cf() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl index 154f8a418f..46638eb13a 100644 --- a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_68105c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl index c4caae2538..8a5b7055b4 100644 --- a/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl index 9bc3aa7a78..d658f91867 100644 --- a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_6adac6() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl index 5361211708..27faa0753d 100644 --- a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl index 131696b128..733c81b924 100644 --- a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_6f0d79() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl index d7f503c8fe..c64e9bd790 100644 --- a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_702c53() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl index afdd8ae10e..3a7fd3fd5e 100644 --- a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl index df167b681d..4ed8cd6404 100644 --- a/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_79df87() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_79df87() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_79df87() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl index 690ed872a4..f27df229a7 100644 --- a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl index 9671c94213..e96b1a956f 100644 --- a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_7f5c2e() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl index 5ff0573726..bcf1d436a2 100644 --- a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8028f3() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl index dc17343d54..91597d0d31 100644 --- a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_811679() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl index 6086ba823c..335d6e5168 100644 --- a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_820596() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl index c4c26c6427..dc556cb351 100644 --- a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_83ee5a() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl index 2a19a188e4..2ec3beaf68 100644 --- a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl index 85a55177c8..cffced65e4 100644 --- a/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl index 347f3039a1..d0d8f5e610 100644 --- a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl index 4ca8327af6..a695efb44a 100644 --- a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl index 016ccdafaf..6cef100c73 100644 --- a/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl index 3758493664..eba0cd1949 100644 --- a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_8fca0f() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl index ccaa63d0e1..d74cc02376 100644 --- a/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl index 714716a365..c1d0dbd102 100644 --- a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureDimensions_9042ab() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl index 7b3bca83e0..9e76a5710b 100644 --- a/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl index 89bbc241f0..9b8ac545ad 100644 --- a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl index bccfcb4899..80879c8684 100644 --- a/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isamplerCube arg_0; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl index 02efa4443f..a89ff646ca 100644 --- a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_9abfe5() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl index ef9b87b3b8..a26181345d 100644 --- a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl index c174102799..29d3e31d67 100644 --- a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_9da9e2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl index eb33753e34..6989fd951f 100644 --- a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_9eb8d8() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl index 758f819db8..47bc8903a7 100644 --- a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl index e18ab7032d..e839b90de1 100644 --- a/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp samplerCubeArray arg_0; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl index b5050a63c6..72208eaab8 100644 --- a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_a7d565() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_a7d565() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureDimensions_a7d565() { - int res = textureSize(arg_0); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl index bd6a78dd73..7dbc256439 100644 --- a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_a863f2() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl index a5c5f7e91b..0d0101f07d 100644 --- a/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl index f8b587bfca..45b35df860 100644 --- a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl index a73bfc273f..b88a82b5f5 100644 --- a/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usamplerCube arg_0; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl index ab2710f065..992dfcb143 100644 --- a/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_b3e407() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_b3e407() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureDimensions_b3e407() { - int res = textureSize(arg_00); + int res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl index d9556007d4..e177092e57 100644 --- a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_b91240() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl index e4c4b6764f..b7eecc6450 100644 --- a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl index f536b8863a..9c3370d8dd 100644 --- a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureDimensions_bb3dde() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl index b6962ffb28..d62618d39f 100644 --- a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureDimensions_c30e75() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl index a0c743ee38..bc6c6a2276 100644 --- a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureDimensions_c7943d() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl index 611fe641a1..cc7c50b77f 100644 --- a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureDimensions_cc968c() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl index 9eeb7278bc..5171d34508 100644 --- a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureDimensions_cccc8f() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl index 6b1c12f486..4706335e5a 100644 --- a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cd76a7() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl index 900eefd1ba..7a1789b137 100644 --- a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureDimensions_cdf473() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl index 74ad431c9f..5007544d7d 100644 --- a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl index 9b046a7328..d2c9448bfc 100644 --- a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureDimensions_cf7e43() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl index dd0e42522a..60444f2631 100644 --- a/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp samplerCube arg_0; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl index 281157b174..5c2fd79eb7 100644 --- a/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp usamplerCubeArray arg_0; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl index f2186e957b..7e644bea64 100644 --- a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureDimensions_dc2dd0() { - int res = textureSize(arg_0); + int res = imageSize(arg_0); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl index 3def416e75..f2b21909a5 100644 --- a/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp isamplerCubeArray arg_0; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl index 01990cee81..1d68700db3 100644 --- a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_e9e96c() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl index c302cd1744..ef095bb59c 100644 --- a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_00); + ivec3 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl index 107c023140..f07f77453e 100644 --- a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,22 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -63,22 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_00); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -95,12 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'arg_00' : undeclared identifier -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 4 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl index f8224028ca..9ced198712 100644 --- a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureDimensions_f931c7() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl index ff071547d5..f264bfc9ca 100644 --- a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0, 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl index 7cf68ce970..ceb91ec631 100644 --- a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureDimensions_fb5670() { - ivec2 res = textureSize(arg_0); + ivec2 res = imageSize(arg_0).xy; } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl index aff41d7585..35f375dc3e 100644 --- a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureDimensions_fcac78() { - ivec3 res = textureSize(arg_0); + ivec3 res = imageSize(arg_0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'textureSize' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl index c0c1d7573a..91845cbdd2 100644 --- a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec3(0, 0, 0)).x; + float res = texelFetch(arg_0, ivec2(0, 0), 0).x; } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec3(0, 0, 0)).x; + float res = texelFetch(arg_0, ivec2(0, 0), 0).x; } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec3(0, 0, 0)).x; + float res = texelFetch(arg_0, ivec2(0, 0), 0).x; } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl index c4b25b15ad..b2270fc228 100644 --- a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, ivec2(1, 0)); + uvec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, ivec2(1, 0)); + uvec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp usampler1D arg_0; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, ivec2(1, 0)); + uvec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl index a3e04c8c70..ba2c43cf4e 100644 --- a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler3D arg_0; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl index 7a08dfcfb1..23c97b79fe 100644 --- a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl index e3ac256a0f..1912237912 100644 --- a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler3D arg_0; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl index 54c2afa0e5..ca2c53ad10 100644 --- a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, ivec2(1, 0)); + ivec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, ivec2(1, 0)); + ivec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp isampler1D arg_0; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, ivec2(1, 0)); + ivec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl index 7bc6f1316d..996248d180 100644 --- a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2D arg_0; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl index d4c7d9f862..9063f24dce 100644 --- a/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DMS arg_0; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec3(0, 0, 0), 1).x; + float res = texelFetch(arg_0, ivec2(0, 0), 1).x; } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DMS arg_0; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec3(0, 0, 0), 1).x; + float res = texelFetch(arg_0, ivec2(0, 0), 1).x; } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DMS arg_0; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec3(0, 0, 0), 1).x; + float res = texelFetch(arg_0, ivec2(0, 0), 1).x; } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl index c54cfab339..1c23ff0e2f 100644 --- a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2DArray arg_0; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl index 185420d060..973acb95a6 100644 --- a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler2DArray arg_0; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl index a4dd2b33d3..23ae5de0cd 100644 --- a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, ivec2(1, 0)); + vec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, ivec2(1, 0)); + vec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp sampler1D arg_0; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, ivec2(1, 0)); + vec4 res = texelFetch(arg_0, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl index a9273ccd0f..43a7c2fe35 100644 --- a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec4(0, 0, 1, 0)); + vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl index 67f63fcd64..8d2fef597b 100644 --- a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2D arg_0; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of float' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl index ac1488f2c9..20e2df2a38 100644 --- a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec4(0, 0, 1, 0)).x; + float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec4(0, 0, 1, 0)).x; + float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp sampler2DArray arg_0; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec4(0, 0, 1, 0)).x; + float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl index 44c93d1a07..b3e958c138 100644 --- a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp usampler3D arg_0; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec4(0, 0, 0, 0)); + uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of uint' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl index a15bef504d..bef6376fea 100644 --- a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -32,21 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -62,21 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp isampler2D arg_0; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0)); + ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); } struct tint_symbol { @@ -93,11 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'texelFetch' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl index cdbae00c8d..f0f4f1c7b0 100644 --- a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl index 6f2e095171..1533617bcb 100644 --- a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl index 5ef0feeb63..183d46f885 100644 --- a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl index d873766763..c1f8ea15c9 100644 --- a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl index b71292e802..e8e3b282ef 100644 --- a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl index 3279102bde..a71b160011 100644 --- a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl index 7b38eb6120..11d5b5009a 100644 --- a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl index 6a077c9852..32669d4e47 100644 --- a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl index 320f8e931c..d401fa8646 100644 --- a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl index 4d595be74a..9dee14af07 100644 --- a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0);; diff --git a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl index 4ba2dce3f9..e6c280f1fa 100644 --- a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl index 5cd1fc8d5b..855a781d29 100644 --- a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl index 8178bbfb9f..f85a42f2f1 100644 --- a/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl index e2680e9e0b..ba01e20070 100644 --- a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl index a28d08ee14..4dd1937a58 100644 --- a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl index d43d1e1935..702ebf0438 100644 --- a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl index 9ad8bb9526..4921de7af8 100644 --- a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl index 26e7eb837e..9405cf60cb 100644 --- a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl index 5993ef4035..67110e6d88 100644 --- a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl index 6d3a2524b0..d958404c2c 100644 --- a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl index f44fdf06fd..3bdbf597b7 100644 --- a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl index 62095fd787..36b0c9c999 100644 --- a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl index 39e2f5fd4a..98615c4a5c 100644 --- a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl index 3a9e59eee8..9fdd0385a0 100644 --- a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl index 375758447a..d0b5b4b3a3 100644 --- a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl index 5f404a8e45..b98026b390 100644 --- a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl index e3ebdabafa..37a747f8e8 100644 --- a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl index 75832fea87..a5590b5662 100644 --- a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl index 6ee011beeb..9f1195f616 100644 --- a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl index f3fdbe6878..58922a1203 100644 --- a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl index 343d0878c5..c70bf98fe5 100644 --- a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl index f54d4194fe..73726f375f 100644 --- a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl index a13a1aa42d..a76727c36d 100644 --- a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl index facb619d15..af0a2c99c3 100644 --- a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl index 4c82be72f2..a07aa4519e 100644 --- a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl index 2e0376671a..3f28a46b61 100644 --- a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl index 1908674824..1c01bd6e58 100644 --- a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl index 35dbe8f89d..673dc80336 100644 --- a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl index c6e018310f..6df0230b1f 100644 --- a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl index 173ab8b507..a9230b0ba8 100644 --- a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl index 97d4a2c307..e2a352fef0 100644 --- a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl index 7456a69a11..544b0dca7e 100644 --- a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl index cfd2c34886..7e82124b03 100644 --- a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly uimage2D arg_0; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl index cad1e7b490..0ee1f4f2f4 100644 --- a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl index f11342c5d1..5bb7ae0339 100644 --- a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl index 4cde48ca41..2128124736 100644 --- a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl index 2c886bcd46..3bcdd06d94 100644 --- a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl index a637a68a76..f1b7efa104 100644 --- a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl index d134a0975b..c873a2608e 100644 --- a/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl index 983cf260fd..9b6251a7be 100644 --- a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl index 1b2ac3f332..28b3323dd9 100644 --- a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl index c2885e6d1f..ed57dd5709 100644 --- a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl index b926142276..91b696b119 100644 --- a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl index 81b5fd3a7d..4ed6d37b3e 100644 --- a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl index 535d561af0..908f98921c 100644 --- a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl index 675296b9fa..0c8095c6fd 100644 --- a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl index 3acec7ef3c..650e715756 100644 --- a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl index 20c06465d6..0bbca2b33b 100644 --- a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly iimage2D arg_0; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl index e7ea527f19..3b1b5a4edb 100644 --- a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2D arg_0; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl index 7623f03ae9..1324c3637a 100644 --- a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl index 8a3f3c8b55..9a3f2d029d 100644 --- a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl index 385f01feb1..351fecfcfd 100644 --- a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image2DArray arg_0; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl index 4273b570c6..2c696c0bfe 100644 --- a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly iimage1D arg_0; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'iimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl index 7e56ff4596..a8d92c3814 100644 --- a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl index bc857ff436..2c5aa6dfff 100644 --- a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl index 8b379dea8a..5db7f80334 100644 --- a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -45,7 +45,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -74,7 +74,7 @@ precision mediump float; uniform highp writeonly image1D arg_0; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl index 1108c67092..fd4dfb3d2c 100644 --- a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl index c009898f96..5cdcf91b10 100644 --- a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly iimage3D arg_0; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl index fe3405863c..9c8618b439 100644 --- a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; uniform highp writeonly image3D arg_0; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)).x; + imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'x' : does not apply to this type: global highp void -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl index 363aad91a6..caab22849a 100644 --- a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl index 6ca19cd3cc..3aae373bf8 100644 --- a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly uimage3D arg_0; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl index 5bbfedc375..cfe8a94a74 100644 --- a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl index a85cf19b52..8225121cf0 100644 --- a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly uimage1D arg_0; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)).x; + imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'uimage1D' : Reserved word. ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl index 9f27edcde9..3a08d14b97 100644 --- a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl @@ -1,12 +1,10 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -32,20 +30,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -61,20 +52,13 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)).x; + imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -91,10 +75,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:7: 'imageStore' : no matching overloaded function found -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl b/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl index 0634d3f707..e9d767d23a 100644 --- a/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl +++ b/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl @@ -1,5 +1,3 @@ -SKIP: FAILED - #version 310 es precision mediump float; @@ -8,7 +6,7 @@ vec4 tint_symbol_1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec3(0, 0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } @@ -51,13 +49,6 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:9: 'texelFetch' : no matching overloaded function found -ERROR: 0:9: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; @@ -65,7 +56,7 @@ uniform highp sampler2DMS arg_0; void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec3(0, 0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } @@ -91,13 +82,6 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:8: 'texelFetch' : no matching overloaded function found -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - #version 310 es precision mediump float; @@ -105,7 +89,7 @@ uniform highp sampler2DMS arg_0; void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec3(0, 0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } @@ -132,10 +116,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:8: 'texelFetch' : no matching overloaded function found -ERROR: 0:8: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/types/texture/storage/1d.wgsl.expected.glsl b/test/types/texture/storage/1d.wgsl.expected.glsl index a854f43641..c1d9ebefd2 100644 --- a/test/types/texture/storage/1d.wgsl.expected.glsl +++ b/test/types/texture/storage/1d.wgsl.expected.glsl @@ -5,19 +5,19 @@ precision mediump float; uniform highp writeonly image1D t_rgba8unorm; uniform highp writeonly image1D t_rgba8snorm; -uniform highp writeonly image1D t_rgba8uint; -uniform highp writeonly image1D t_rgba8sint; -uniform highp writeonly image1D t_rgba16uint; -uniform highp writeonly image1D t_rgba16sint; +uniform highp writeonly uimage1D t_rgba8uint; +uniform highp writeonly iimage1D t_rgba8sint; +uniform highp writeonly uimage1D t_rgba16uint; +uniform highp writeonly iimage1D t_rgba16sint; uniform highp writeonly image1D t_rgba16float; -uniform highp writeonly image1D t_r32uint; -uniform highp writeonly image1D t_r32sint; +uniform highp writeonly uimage1D t_r32uint; +uniform highp writeonly iimage1D t_r32sint; uniform highp writeonly image1D t_r32float; -uniform highp writeonly image1D t_rg32uint; -uniform highp writeonly image1D t_rg32sint; +uniform highp writeonly uimage1D t_rg32uint; +uniform highp writeonly iimage1D t_rg32sint; uniform highp writeonly image1D t_rg32float; -uniform highp writeonly image1D t_rgba32uint; -uniform highp writeonly image1D t_rgba32sint; +uniform highp writeonly uimage1D t_rgba32uint; +uniform highp writeonly iimage1D t_rgba32sint; uniform highp writeonly image1D t_rgba32float; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; diff --git a/test/types/texture/storage/2d.wgsl.expected.glsl b/test/types/texture/storage/2d.wgsl.expected.glsl index 1103c8c310..002a656f78 100644 --- a/test/types/texture/storage/2d.wgsl.expected.glsl +++ b/test/types/texture/storage/2d.wgsl.expected.glsl @@ -3,19 +3,19 @@ precision mediump float; uniform highp writeonly image2D t_rgba8unorm; uniform highp writeonly image2D t_rgba8snorm; -uniform highp writeonly image2D t_rgba8uint; -uniform highp writeonly image2D t_rgba8sint; -uniform highp writeonly image2D t_rgba16uint; -uniform highp writeonly image2D t_rgba16sint; +uniform highp writeonly uimage2D t_rgba8uint; +uniform highp writeonly iimage2D t_rgba8sint; +uniform highp writeonly uimage2D t_rgba16uint; +uniform highp writeonly iimage2D t_rgba16sint; uniform highp writeonly image2D t_rgba16float; -uniform highp writeonly image2D t_r32uint; -uniform highp writeonly image2D t_r32sint; +uniform highp writeonly uimage2D t_r32uint; +uniform highp writeonly iimage2D t_r32sint; uniform highp writeonly image2D t_r32float; -uniform highp writeonly image2D t_rg32uint; -uniform highp writeonly image2D t_rg32sint; +uniform highp writeonly uimage2D t_rg32uint; +uniform highp writeonly iimage2D t_rg32sint; uniform highp writeonly image2D t_rg32float; -uniform highp writeonly image2D t_rgba32uint; -uniform highp writeonly image2D t_rgba32sint; +uniform highp writeonly uimage2D t_rgba32uint; +uniform highp writeonly iimage2D t_rgba32sint; uniform highp writeonly image2D t_rgba32float; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; diff --git a/test/types/texture/storage/2d_array.wgsl.expected.glsl b/test/types/texture/storage/2d_array.wgsl.expected.glsl index f047dd78d0..f4a03fcd0c 100644 --- a/test/types/texture/storage/2d_array.wgsl.expected.glsl +++ b/test/types/texture/storage/2d_array.wgsl.expected.glsl @@ -3,19 +3,19 @@ precision mediump float; uniform highp writeonly image2DArray t_rgba8unorm; uniform highp writeonly image2DArray t_rgba8snorm; -uniform highp writeonly image2DArray t_rgba8uint; -uniform highp writeonly image2DArray t_rgba8sint; -uniform highp writeonly image2DArray t_rgba16uint; -uniform highp writeonly image2DArray t_rgba16sint; +uniform highp writeonly uimage2DArray t_rgba8uint; +uniform highp writeonly iimage2DArray t_rgba8sint; +uniform highp writeonly uimage2DArray t_rgba16uint; +uniform highp writeonly iimage2DArray t_rgba16sint; uniform highp writeonly image2DArray t_rgba16float; -uniform highp writeonly image2DArray t_r32uint; -uniform highp writeonly image2DArray t_r32sint; +uniform highp writeonly uimage2DArray t_r32uint; +uniform highp writeonly iimage2DArray t_r32sint; uniform highp writeonly image2DArray t_r32float; -uniform highp writeonly image2DArray t_rg32uint; -uniform highp writeonly image2DArray t_rg32sint; +uniform highp writeonly uimage2DArray t_rg32uint; +uniform highp writeonly iimage2DArray t_rg32sint; uniform highp writeonly image2DArray t_rg32float; -uniform highp writeonly image2DArray t_rgba32uint; -uniform highp writeonly image2DArray t_rgba32sint; +uniform highp writeonly uimage2DArray t_rgba32uint; +uniform highp writeonly iimage2DArray t_rgba32sint; uniform highp writeonly image2DArray t_rgba32float; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; diff --git a/test/types/texture/storage/3d.wgsl.expected.glsl b/test/types/texture/storage/3d.wgsl.expected.glsl index edb725a24c..7ec45d0d1c 100644 --- a/test/types/texture/storage/3d.wgsl.expected.glsl +++ b/test/types/texture/storage/3d.wgsl.expected.glsl @@ -3,19 +3,19 @@ precision mediump float; uniform highp writeonly image3D t_rgba8unorm; uniform highp writeonly image3D t_rgba8snorm; -uniform highp writeonly image3D t_rgba8uint; -uniform highp writeonly image3D t_rgba8sint; -uniform highp writeonly image3D t_rgba16uint; -uniform highp writeonly image3D t_rgba16sint; +uniform highp writeonly uimage3D t_rgba8uint; +uniform highp writeonly iimage3D t_rgba8sint; +uniform highp writeonly uimage3D t_rgba16uint; +uniform highp writeonly iimage3D t_rgba16sint; uniform highp writeonly image3D t_rgba16float; -uniform highp writeonly image3D t_r32uint; -uniform highp writeonly image3D t_r32sint; +uniform highp writeonly uimage3D t_r32uint; +uniform highp writeonly iimage3D t_r32sint; uniform highp writeonly image3D t_r32float; -uniform highp writeonly image3D t_rg32uint; -uniform highp writeonly image3D t_rg32sint; +uniform highp writeonly uimage3D t_rg32uint; +uniform highp writeonly iimage3D t_rg32sint; uniform highp writeonly image3D t_rg32float; -uniform highp writeonly image3D t_rgba32uint; -uniform highp writeonly image3D t_rgba32sint; +uniform highp writeonly uimage3D t_rgba32uint; +uniform highp writeonly iimage3D t_rgba32sint; uniform highp writeonly image3D t_rgba32float; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;