diff --git a/src/writer/glsl/generator_impl.cc b/src/writer/glsl/generator_impl.cc index 34fdd07c00..b1ab18b2cd 100644 --- a/src/writer/glsl/generator_impl.cc +++ b/src/writer/glsl/generator_impl.cc @@ -77,6 +77,46 @@ bool last_is_break_or_fallthrough(const ast::BlockStatement* stmts) { return IsAnyOf(stmts->Last()); } +const char* convert_texel_format_to_glsl(const ast::TexelFormat format) { + switch (format) { + case ast::TexelFormat::kR32Uint: + return "r32ui"; + case ast::TexelFormat::kR32Sint: + return "r32i"; + case ast::TexelFormat::kR32Float: + return "r32f"; + case ast::TexelFormat::kRgba8Unorm: + return "rgba8"; + case ast::TexelFormat::kRgba8Snorm: + return "rgba8_snorm"; + case ast::TexelFormat::kRgba8Uint: + return "rgba8ui"; + case ast::TexelFormat::kRgba8Sint: + return "rgba8i"; + case ast::TexelFormat::kRg32Uint: + return "rg32ui"; + case ast::TexelFormat::kRg32Sint: + return "rg32i"; + case ast::TexelFormat::kRg32Float: + return "rg32f"; + case ast::TexelFormat::kRgba16Uint: + return "rgba16ui"; + case ast::TexelFormat::kRgba16Sint: + return "rgba16i"; + case ast::TexelFormat::kRgba16Float: + return "rgba16f"; + case ast::TexelFormat::kRgba32Uint: + return "rgba32ui"; + case ast::TexelFormat::kRgba32Sint: + return "rgba32i"; + case ast::TexelFormat::kRgba32Float: + return "rgba32f"; + case ast::TexelFormat::kNone: + return "unknown"; + } + return "unknown"; +} + } // namespace GeneratorImpl::GeneratorImpl(const Program* program) : TextGenerator(program) {} @@ -1673,10 +1713,14 @@ bool GeneratorImpl::EmitHandleVariable(const sem::Variable* var) { auto name = builder_.Symbols().NameFor(decl->symbol); auto* type = var->Type()->UnwrapRef(); - if (type->As()) { + if (type->Is()) { // GLSL ignores Sampler variables. return true; } + if (auto* storage = type->As()) { + out << "layout(" << convert_texel_format_to_glsl(storage->texel_format()) + << ") "; + } if (!EmitTypeAndName(out, type, var->StorageClass(), var->Access(), name)) { return false; } diff --git a/test/benchmark/particles.wgsl.expected.glsl b/test/benchmark/particles.wgsl.expected.glsl index a8c4386538..4edeac43cf 100644 --- a/test/benchmark/particles.wgsl.expected.glsl +++ b/test/benchmark/particles.wgsl.expected.glsl @@ -487,7 +487,7 @@ struct tint_symbol_14 { uvec3 coord; }; -uniform highp writeonly image2D tex_out_1; +layout(rgba8) uniform highp writeonly image2D tex_out_1; void export_level_inner(uvec3 coord) { if (all(lessThan(coord.xy, uvec2(imageSize(tex_out_1))))) { diff --git a/test/bug/tint/1081.wgsl.expected.glsl b/test/bug/tint/1081.wgsl.expected.glsl index 4d21187fcc..b49445bb30 100644 --- a/test/bug/tint/1081.wgsl.expected.glsl +++ b/test/bug/tint/1081.wgsl.expected.glsl @@ -1,9 +1,5 @@ SKIP: FAILED -bug/tint/1081.wgsl:9:22 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@location(1) x: vec3) -> @location(2) i32 { - ^ - #version 310 es precision mediump float; diff --git a/test/bug/tint/413.spvasm.expected.glsl b/test/bug/tint/413.spvasm.expected.glsl index 893d9895c4..35e2e1023c 100644 --- a/test/bug/tint/413.spvasm.expected.glsl +++ b/test/bug/tint/413.spvasm.expected.glsl @@ -2,7 +2,7 @@ precision mediump float; uniform highp usampler2D Src_1; -uniform highp writeonly uimage2D Dst_1; +layout(r32ui) uniform highp writeonly uimage2D Dst_1; void main_1() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); diff --git a/test/bug/tint/453.wgsl.expected.glsl b/test/bug/tint/453.wgsl.expected.glsl index a4d01a29b3..f1478ddc64 100644 --- a/test/bug/tint/453.wgsl.expected.glsl +++ b/test/bug/tint/453.wgsl.expected.glsl @@ -2,7 +2,7 @@ precision mediump float; uniform highp usampler2D Src_1; -uniform highp writeonly uimage2D Dst_1; +layout(r32ui) uniform highp writeonly uimage2D Dst_1; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { diff --git a/test/bug/tint/942.wgsl.expected.glsl b/test/bug/tint/942.wgsl.expected.glsl index 9f74c1df7c..9bceb2f1d7 100644 --- a/test/bug/tint/942.wgsl.expected.glsl +++ b/test/bug/tint/942.wgsl.expected.glsl @@ -28,7 +28,7 @@ struct tint_symbol_2 { uniform highp sampler2D inputTex_1; uniform highp sampler2D inputTex_samp; -uniform highp writeonly image2D outputTex_1; +layout(rgba8) uniform highp writeonly image2D outputTex_1; void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_invocation_index) { diff --git a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl index 12cbfac9ba..481a013228 100644 --- a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl index 4dddbd1a1f..461ae0a595 100644 --- a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl index 7801d7b6b1..23a316101d 100644 --- a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl index 94b8cb7e31..5a4b177a44 100644 --- a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl index 3d88177f82..2bf815cd03 100644 --- a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl index b4c615b36c..d0bbe4615f 100644 --- a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl index 4145cbeb55..69b8fb2b0e 100644 --- a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl index 65b3a35eb4..e3421b0dbe 100644 --- a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { ivec2 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { ivec2 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { ivec2 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 eee836b2f5..35ebc9f9a7 100644 --- a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl index c2a963f477..02e303b125 100644 --- a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl index 2cd5a299d1..50cbda0c56 100644 --- a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl index 73f9123abd..95cd8c27ce 100644 --- a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl index 47895697ab..15b3e856df 100644 --- a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl index 22fc691cb5..9d0216bdd6 100644 --- a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl index 30f6172e50..0d31f82207 100644 --- a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl index e29828825d..ca6024b824 100644 --- a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl index ce0aa37c9d..2f461dc3a3 100644 --- a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl index f84cf9fcc5..b8932f707e 100644 --- a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl index 89d737d179..3a5212145e 100644 --- a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl index 8ac756704f..5db3b56844 100644 --- a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { ivec2 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { ivec2 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { ivec2 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 8ec6e78a96..c3a1801355 100644 --- a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl index 56d7055c2a..d9d846388e 100644 --- a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl index 618a9a847c..acc68c50e3 100644 --- a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl index 162868b2e9..1a85b7b997 100644 --- a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl index 6552d59232..f83aad5c09 100644 --- a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl index 0c1669a527..487bb79c94 100644 --- a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { ivec2 res = imageSize(arg_0_1).xy; @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { ivec2 res = imageSize(arg_0_1).xy; @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { ivec2 res = imageSize(arg_0_1).xy; @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 a621b08d13..634587836f 100644 --- a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { int res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { int res = imageSize(arg_0_1); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { int res = imageSize(arg_0_1); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl index 7e42c6a38d..61e00f7fba 100644 --- a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { int res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { int res = imageSize(arg_0_1); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { int res = imageSize(arg_0_1); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl index 4a213638ef..c8151a43e3 100644 --- a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl index 7c3e45e8ba..9360009232 100644 --- a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl index 96f1e2c6b9..c63fffd326 100644 --- a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl index 6c878f6c6d..7ffd9838c8 100644 --- a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl index 5cb0394f0d..d96a921dd3 100644 --- a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl index 3b3f72fe9d..25f0f2d30d 100644 --- a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { ivec3 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { ivec3 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { ivec3 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 723e36a08d..2f124b229d 100644 --- a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { ivec3 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { ivec3 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { ivec3 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 e5d5a1bd73..c382ed5fc1 100644 --- a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl index f1509d10cb..dc171d4f6e 100644 --- a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl index 95a369b59b..84e96b1a4b 100644 --- a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl index 873c7c73c8..58722f6b42 100644 --- a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl index 2139896208..7a5e09ea7f 100644 --- a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { ivec2 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { ivec2 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { ivec2 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 a9d7b4f811..048646bfd3 100644 --- a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl index bd3900d233..0a7c470e47 100644 --- a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl index 507a0d452f..a637410a92 100644 --- a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { ivec3 res = imageSize(arg_0_1); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { ivec3 res = imageSize(arg_0_1); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { ivec3 res = imageSize(arg_0_1); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 a1f321c685..2db31820ad 100644 --- a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl index 25d5e6f14a..d1dea965d5 100644 --- a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl index 3a03145842..a9d98c4b62 100644 --- a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { ivec2 res = imageSize(arg_0_1).xy; @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { ivec2 res = imageSize(arg_0_1).xy; @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { ivec2 res = imageSize(arg_0_1).xy; @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 9d4a2d66ee..55a53446d4 100644 --- a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl index 755e8ffe32..a16a4bbf8b 100644 --- a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl index 2fa2f6217f..cae210311b 100644 --- a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl index cabacd5aad..da7946ddb2 100644 --- a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl index 595245ae0f..5e8c4e131e 100644 --- a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl index 0aaf8a47a9..8d3b5b20a0 100644 --- a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl index 8d35883a41..8543a6fb84 100644 --- a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl index 3c6c9fc8b4..fbeefddeb6 100644 --- a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl index f214fad7ea..48fd1e7fe7 100644 --- a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { int res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { int res = imageSize(arg_0_1); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { int res = imageSize(arg_0_1); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es 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 8f3220fb8b..a3fee89b7f 100644 --- a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl index 9f25caa52b..f690dd56a3 100644 --- a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl index c7221d7fa7..e54e027996 100644 --- a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl index efe4df9981..eaef07c559 100644 --- a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl index 030340837f..c7ba27b528 100644 --- a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { int res = imageSize(arg_0_1); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { int res = imageSize(arg_0_1); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { int res = imageSize(arg_0_1); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl index d03330afcc..32e4bbb47c 100644 --- a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { ivec2 res = imageSize(arg_0_1).xy; @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { ivec2 res = imageSize(arg_0_1).xy; @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { ivec2 res = imageSize(arg_0_1).xy; diff --git a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl index f037d02f77..ca200d4f50 100644 --- a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { ivec2 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { ivec2 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { ivec2 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl index 142e2138e8..2662d11091 100644 --- a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { ivec2 res = imageSize(arg_0_1).xy; @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { ivec2 res = imageSize(arg_0_1).xy; @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { ivec2 res = imageSize(arg_0_1).xy; @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 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 563a1fdc69..98d5dc4827 100644 --- a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { ivec3 res = imageSize(arg_0_1); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { ivec3 res = imageSize(arg_0_1); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { ivec3 res = imageSize(arg_0_1); diff --git a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl index 299f4a10d0..12bb98f593 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 iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0_1);; @@ -33,17 +33,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0_1);; @@ -63,17 +62,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { int res = textureQueryLevels(arg_0_1);; @@ -94,10 +92,9 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl index 18aac358f0..07e2c4e17e 100644 --- a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl index 52a278d769..ed99031b31 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 iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl index 2ec9677faf..6cddc02f2a 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 iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl index 2cd483b8db..f64ebc45c9 100644 --- a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl index b5f4054728..746959a38a 100644 --- a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl index 32e291dd81..c05cb5541b 100644 --- a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { int res = textureQueryLevels(arg_0_1);; @@ -33,17 +33,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { int res = textureQueryLevels(arg_0_1);; @@ -63,17 +62,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { int res = textureQueryLevels(arg_0_1);; @@ -94,10 +92,9 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl index 04cd196305..9e2a56e688 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 uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl index 446bfadcfb..8888e11c15 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 iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl index 5cee038990..211a786cd8 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 uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl index 6417e385e6..3b4b1a680f 100644 --- a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl index 6ca95baf23..82eb30e689 100644 --- a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl index c528db4d6f..9f8b29a96b 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 uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl index 229f7fc25b..636897aaea 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 iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl index 3f98db4dcd..032bd613d7 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 uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0_1);; @@ -33,17 +33,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0_1);; @@ -63,17 +62,16 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp mediump int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { int res = textureQueryLevels(arg_0_1);; @@ -94,10 +92,9 @@ void main() { Error parsing GLSL shader: -ERROR: 0:7: 'textureQueryLevels' : no matching overloaded function found -ERROR: 0:7: '=' : cannot convert from ' const float' to ' temp highp int' -ERROR: 0:7: '' : compilation terminated -ERROR: 3 compilation errors. No code generated. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl index 49db3b89c5..1ed6594f2c 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 uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0_1);; @@ -43,7 +43,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0_1);; @@ -73,7 +73,7 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { int res = textureQueryLevels(arg_0_1);; diff --git a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl index 5bfbd5a310..a2a12acf80 100644 --- a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba32f) uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl index 899d9ae281..d656f9d1b2 100644 --- a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rg32f) uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 3bc576d83b..e25e2928e1 100644 --- a/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl index 10d2103fc9..96f3ce172d 100644 --- a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(r32f) uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl index 38d3bf3120..1fb751a575 100644 --- a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl index f80e662152..c422cbed4b 100644 --- a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(r32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl index 9e86acc263..fecb6a573d 100644 --- a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8) uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl index 03a0d5476c..6e6e69c79c 100644 --- a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(r32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl index 4c3d0f4b06..df9b64da5b 100644 --- a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl index bb9a34a068..ce56f9bc50 100644 --- a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl index 9f508c4c30..f90c8b0542 100644 --- a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rg32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 2e783a823f..16bd368144 100644 --- a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(r32f) uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl index 23b22b78fc..4458c45afd 100644 --- a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl index 67cb1040d6..b79f138e98 100644 --- a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl index 0aa0ee9dc1..0b8406644f 100644 --- a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rg32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 301de1ea0b..3f604a61ab 100644 --- a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba16f) uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl index ed5638d562..98f97e6321 100644 --- a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba32f) uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl index ba1892a936..7157863a41 100644 --- a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(r32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl index 096e97e38d..3e1c40ad58 100644 --- a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl index bfd8d20c3b..53393fe9bd 100644 --- a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(r32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl index 3d4a5337d5..40b8d0737c 100644 --- a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl index eb5dba4ebd..f657b290dc 100644 --- a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl index 1e09510fc2..be222d59d2 100644 --- a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl index ff0494c314..905c2e698b 100644 --- a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl index 29940bab9f..4325c70555 100644 --- a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba8) uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl index 18fa4c43b5..bd11bc2fd0 100644 --- a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 3ee2e118fa..b61f48ab74 100644 --- a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba32f) uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl index 83d62c938e..16239ee779 100644 --- a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(r32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl index d97f571547..535f41e4d5 100644 --- a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(r32ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl index 6c3ab0b959..63b8b52b94 100644 --- a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba16ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl index e44e117cc8..9c4d9eb835 100644 --- a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureStore_731349() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureStore_731349() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8) uniform highp writeonly image2D arg_0_1; void textureStore_731349() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl index ea0ad5afb4..399dd48407 100644 --- a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl index 78317653bc..92aa374d59 100644 --- a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl index 36cd1e3371..a86146a6ef 100644 --- a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl index a4db5c815c..6de553e55f 100644 --- a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba8) uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl index 9a7cdc4963..8288982c7c 100644 --- a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(r32i) uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl index dc6358d2d8..0c39f415b4 100644 --- a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl index 39eff32cd1..0313917c79 100644 --- a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'uimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es 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 3bfd86a245..37a5e83e0c 100644 --- a/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureStore_872747() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureStore_872747() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rg32f) uniform highp writeonly image1D arg_0_1; void textureStore_872747() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl index 355bf61076..84c26fb40c 100644 --- a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl index 643f526ba7..a4828b9d0b 100644 --- a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl index d0858ac52a..d613c012f0 100644 --- a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl index 968517cc1f..49e6391191 100644 --- a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl index 029529742d..820b26f100 100644 --- a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rgba32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl index 2ddff6ce42..c7219fd48c 100644 --- a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba16i) uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl index a822d0e947..49a543f029 100644 --- a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rg32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 fd83a7050f..bd7039b68e 100644 --- a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl index d4a040ac18..6a83148ea2 100644 --- a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl index be19406da7..dfebc0eace 100644 --- a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0_1; +layout(rgba16f) uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl index 2a45055519..27837a9022 100644 --- a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rgba8i) uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'iimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl index 3e8be5f22d..4d0add985e 100644 --- a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba16f) uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl index 2a7f17ad7d..8a551aee69 100644 --- a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0_1; +layout(rg32f) uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 571a3229b2..d582563a2a 100644 --- a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +42,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -62,7 +62,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +71,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0_1; +layout(rg32i) uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); @@ -92,7 +92,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'iimage1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es 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 b4b7f1d720..5ed18a6061 100644 --- a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rgba8_snorm) uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl index 34d7d8de73..4b67f2ced0 100644 --- a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0_1; +layout(rg32ui) uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 4411bc3853..7441922919 100644 --- a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0_1; +layout(rgba16f) uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl index 77f4135da1..5f0e737dd0 100644 --- a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(r32f) uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); diff --git a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl index dbbe8cb587..13865eb963 100644 --- a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0_1; +layout(r32i) uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl index 47ba299a81..7c76153a80 100644 --- a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0_1; +layout(rg32f) uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 1e51fe55c2..58c9b58759 100644 --- a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(r32ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl index 09fd259710..d67f4ee69c 100644 --- a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0_1; +layout(rgba8ui) uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); diff --git a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl index b02da2178f..63a3074ab1 100644 --- a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl @@ -1,7 +1,9 @@ +SKIP: FAILED + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -30,10 +32,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -52,10 +61,17 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rg32i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -75,3 +91,10 @@ void main() { } +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : 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 882c4ee7f4..83204e6310 100644 --- a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -34,6 +34,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -42,7 +43,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -63,6 +64,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. @@ -71,7 +73,7 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0_1; +layout(rgba32ui) uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); @@ -93,6 +95,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'uimage1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl index 7e08398da4..ebb1a2d5e8 100644 --- a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl @@ -1,7 +1,7 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -33,7 +33,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); @@ -55,7 +55,7 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0_1; +layout(rgba8i) uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); diff --git a/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl b/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl index 4f243d94b4..1432f94bfe 100644 --- a/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D x_20_1; +layout(r32f) uniform highp writeonly image1D x_20_1; void main_1() { float float_var = 0.0f; @@ -35,6 +35,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl new file mode 100644 index 0000000000..d0a6ee9cf3 --- /dev/null +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.glsl @@ -0,0 +1,41 @@ +SKIP: FAILED + +#version 310 es +precision mediump float; + +layout(rg32f) uniform highp writeonly image2D x_20_1; + +void main_1() { + float f1 = 1.0f; + vec2 vf12 = vec2(1.0f, 2.0f); + vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); + vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); + int i1 = 1; + ivec2 vi12 = ivec2(1, 2); + ivec3 vi123 = ivec3(1, 2, 3); + ivec4 vi1234 = ivec4(1, 2, 3, 4); + uint u1 = 1u; + uvec2 vu12 = uvec2(1u, 2u); + uvec3 vu123 = uvec3(1u, 2u, 3u); + uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); + ivec2 offsets2d = ivec2(3, 4); + imageStore(x_20_1, vi12, vec4(vf12, 0.0f, 0.0f)); + return; +} + +void tint_symbol() { + main_1(); + return; +} +void main() { + tint_symbol(); +} + + +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl new file mode 100644 index 0000000000..f78f060c0b --- /dev/null +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.glsl @@ -0,0 +1,41 @@ +SKIP: FAILED + +#version 310 es +precision mediump float; + +layout(rg32f) uniform highp writeonly image2D x_20_1; + +void main_1() { + float f1 = 1.0f; + vec2 vf12 = vec2(1.0f, 2.0f); + vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); + vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); + int i1 = 1; + ivec2 vi12 = ivec2(1, 2); + ivec3 vi123 = ivec3(1, 2, 3); + ivec4 vi1234 = ivec4(1, 2, 3, 4); + uint u1 = 1u; + uvec2 vu12 = uvec2(1u, 2u); + uvec3 vu123 = uvec3(1u, 2u, 3u); + uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); + ivec2 offsets2d = ivec2(3, 4); + imageStore(x_20_1, vi12, vec4(vf123, 0.0f)); + return; +} + +void tint_symbol() { + main_1(); + return; +} +void main() { + tint_symbol(); +} + + +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl new file mode 100644 index 0000000000..49e66b84d8 --- /dev/null +++ b/test/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.glsl @@ -0,0 +1,41 @@ +SKIP: FAILED + +#version 310 es +precision mediump float; + +layout(rg32f) uniform highp writeonly image2D x_20_1; + +void main_1() { + float f1 = 1.0f; + vec2 vf12 = vec2(1.0f, 2.0f); + vec3 vf123 = vec3(1.0f, 2.0f, 3.0f); + vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f); + int i1 = 1; + ivec2 vi12 = ivec2(1, 2); + ivec3 vi123 = ivec3(1, 2, 3); + ivec4 vi1234 = ivec4(1, 2, 3, 4); + uint u1 = 1u; + uvec2 vu12 = uvec2(1u, 2u); + uvec3 vu123 = uvec3(1u, 2u, 3u); + uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u); + ivec2 offsets2d = ivec2(3, 4); + imageStore(x_20_1, vi12, vf1234); + return; +} + +void tint_symbol() { + main_1(); + return; +} +void main() { + tint_symbol(); +} + + +Error parsing GLSL shader: +ERROR: 0:4: 'image load-store format' : not supported with this profile: es +ERROR: 0:4: '' : compilation terminated +ERROR: 2 compilation errors. No code generated. + + + diff --git a/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl b/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl index 79cb8f906c..b259848ea6 100644 --- a/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D x_20_1; +layout(r32f) uniform highp writeonly image1D x_20_1; void main_1() { float float_var = 0.0f; @@ -35,6 +35,7 @@ void main() { Error parsing GLSL shader: ERROR: 0:4: 'image1D' : Reserved word. +WARNING: 0:4: 'layout' : useless application of layout qualifier ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl b/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl index 1bc1de87f7..c6ae7dc157 100644 --- a/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.glsl @@ -3,7 +3,7 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D x_20_1; +layout(rg32f) uniform highp writeonly image1D x_20_1; void main_1() { imageStore(x_20_1, int(1u), vec4(0.0f, 0.0f, 0.0f, 0.0f)); @@ -20,7 +20,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. +ERROR: 0:4: 'image load-store format' : not supported with this profile: es ERROR: 0:4: '' : compilation terminated ERROR: 2 compilation errors. No code generated. diff --git a/test/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.glsl index 985de6f30f..8eee853d23 100644 --- a/test/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.glsl @@ -1,7 +1,5 @@ SKIP: FAILED -warning: integral user-defined fragment inputs must have a flat interpolation attribute -warning: integral user-defined fragment inputs must have a flat interpolation attribute #version 310 es precision mediump float; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.glsl index 9871941fae..bf6ae726bf 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.glsl @@ -6,7 +6,7 @@ precision mediump float; vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -uniform highp writeonly iimage2D x_5_1; +layout(r32i) uniform highp writeonly iimage2D x_5_1; void main_1() { x_4 = 1; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.glsl index a62880ecec..bf6ae726bf 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.glsl @@ -1,16 +1,12 @@ SKIP: FAILED -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl:27:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float; vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -uniform highp writeonly iimage2D x_5_1; +layout(r32i) uniform highp writeonly iimage2D x_5_1; void main_1() { x_4 = 1; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.glsl index 92fc0151d3..9d119bbde6 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.glsl @@ -1,9 +1,5 @@ SKIP: FAILED -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl:22:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.glsl index 2b3d2589d2..905ff1d36b 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.glsl @@ -1,9 +1,5 @@ SKIP: FAILED -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl:22:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.glsl index 2e09134ab2..d8925c59c5 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.glsl @@ -4,10 +4,6 @@ vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl:1 type RTArr = @stride(4) array; ^^^^^^ -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl:33:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.glsl index 4bf4240ce6..e0d5697b9c 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.glsl @@ -4,10 +4,6 @@ vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_term type RTArr = @stride(4) array; ^^^^^^ -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl:33:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.glsl index 464cc5a900..bb321ca2e6 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.glsl @@ -1,9 +1,5 @@ SKIP: FAILED -vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl:37:64 warning: integral user-defined fragment inputs must have a flat interpolation attribute -fn main(@builtin(position) x_2_param : vec4, @location(0) x_3_param : i32) -> main_out { - ^^^^^^^^^ - #version 310 es precision mediump float;