From c8c0e2ea38b3717097789fb9e22f4a48bf4da7e8 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Tue, 25 Jan 2022 20:06:05 +0000 Subject: [PATCH] GLSL: standardize layout() formatting (whitespace change). Change-Id: Id0c879c597e02da32350b2ee4878991fe78c470f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78221 Reviewed-by: Ben Clayton Kokoro: Kokoro Commit-Queue: Stephen White --- src/writer/glsl/generator_impl.cc | 4 +-- .../glsl/generator_impl_function_test.cc | 18 +++++----- .../generator_impl_member_accessor_test.cc | 22 ++++++------ .../glsl/generator_impl_sanitizer_test.cc | 6 ++-- .../assign_to_function_var.wgsl.expected.glsl | 4 +-- .../assign_to_private_var.wgsl.expected.glsl | 4 +-- .../assign_to_storage_var.wgsl.expected.glsl | 8 ++--- ...assign_to_workgroup_var.wgsl.expected.glsl | 4 +-- test/benchmark/animometer.wgsl.expected.glsl | 4 +-- test/benchmark/particles.wgsl.expected.glsl | 18 +++++----- .../shadow-fragment.wgsl.expected.glsl | 2 +- ...d-shadowed-pbr-fragment.wgsl.expected.glsl | 12 +++---- ...ned-shadowed-pbr-vertex.wgsl.expected.glsl | 6 ++-- .../dynamic_index/read.wgsl.expected.glsl | 2 +- .../dynamic_index/write.wgsl.expected.glsl | 2 +- .../static_index/read.wgsl.expected.glsl | 2 +- .../static_index/write.wgsl.expected.glsl | 2 +- .../storage/types/array.wgsl.expected.glsl | 4 +-- .../storage/types/f32.wgsl.expected.glsl | 4 +-- .../storage/types/i32.wgsl.expected.glsl | 4 +-- .../storage/types/mat2x2.wgsl.expected.glsl | 4 +-- .../storage/types/mat2x3.wgsl.expected.glsl | 4 +-- .../storage/types/mat3x2.wgsl.expected.glsl | 4 +-- .../storage/types/mat4x4.wgsl.expected.glsl | 4 +-- .../types/runtime_array.wgsl.expected.glsl | 4 +-- .../storage/types/struct.wgsl.expected.glsl | 4 +-- .../storage/types/u32.wgsl.expected.glsl | 4 +-- .../storage/types/vec2.wgsl.expected.glsl | 4 +-- .../storage/types/vec3.wgsl.expected.glsl | 4 +-- .../storage/types/vec4.wgsl.expected.glsl | 4 +-- .../dynamic_index/read.wgsl.expected.glsl | 2 +- .../static_index/read.wgsl.expected.glsl | 2 +- .../uniform/types/array.wgsl.expected.glsl | 2 +- .../uniform/types/f32.wgsl.expected.glsl | 2 +- .../uniform/types/i32.wgsl.expected.glsl | 2 +- .../uniform/types/mat2x2.wgsl.expected.glsl | 2 +- .../uniform/types/mat2x3.wgsl.expected.glsl | 2 +- .../uniform/types/mat3x2.wgsl.expected.glsl | 2 +- .../uniform/types/mat4x4.wgsl.expected.glsl | 2 +- .../uniform/types/struct.wgsl.expected.glsl | 2 +- .../uniform/types/u32.wgsl.expected.glsl | 2 +- .../uniform/types/vec2.wgsl.expected.glsl | 2 +- .../uniform/types/vec3.wgsl.expected.glsl | 2 +- .../uniform/types/vec4.wgsl.expected.glsl | 2 +- test/bug/chromium/1273230.wgsl.expected.glsl | 12 +++---- test/bug/dawn/947.wgsl.expected.glsl | 2 +- .../read/function.wgsl.expected.glsl | 4 +-- .../read/private.wgsl.expected.glsl | 4 +-- .../read/storage.wgsl.expected.glsl | 6 ++-- .../read/uniform.wgsl.expected.glsl | 4 +-- .../read/workgroup.wgsl.expected.glsl | 4 +-- .../write/function.wgsl.expected.glsl | 4 +-- .../function_via_param.wgsl.expected.glsl | 4 +-- .../write/private.wgsl.expected.glsl | 4 +-- .../private_via_param.wgsl.expected.glsl | 4 +-- .../write/storage.wgsl.expected.glsl | 6 ++-- .../write/workgroup.wgsl.expected.glsl | 4 +-- .../1206.wgsl.expected.glsl | 4 +-- .../local_assign_scalar_x.wgsl.expected.glsl | 2 +- .../local_assign_scalar_xy.wgsl.expected.glsl | 2 +- .../local_assign_scalar_y.wgsl.expected.glsl | 2 +- .../local_assign_vector.wgsl.expected.glsl | 2 +- .../module_assign_scalar_x.wgsl.expected.glsl | 2 +- ...module_assign_scalar_xy.wgsl.expected.glsl | 2 +- .../module_assign_scalar_y.wgsl.expected.glsl | 2 +- .../module_assign_vector.wgsl.expected.glsl | 2 +- test/bug/tint/1046.wgsl.expected.glsl | 4 +-- test/bug/tint/1088.spvasm.expected.glsl | 2 +- test/bug/tint/1113.wgsl.expected.glsl | 36 +++++++++---------- test/bug/tint/1121.wgsl.expected.glsl | 8 ++--- test/bug/tint/1136.wgsl.expected.glsl | 2 +- test/bug/tint/1385.wgsl.expected.glsl | 2 +- test/bug/tint/221.wgsl.expected.glsl | 2 +- test/bug/tint/294.wgsl.expected.glsl | 2 +- test/bug/tint/369.wgsl.expected.glsl | 4 +-- test/bug/tint/403.wgsl.expected.glsl | 4 +-- test/bug/tint/492.wgsl.expected.glsl | 2 +- test/bug/tint/534.wgsl.expected.glsl | 4 +-- test/bug/tint/744.wgsl.expected.glsl | 8 ++--- test/bug/tint/749.spvasm.expected.glsl | 2 +- test/bug/tint/757.wgsl.expected.glsl | 2 +- test/bug/tint/827.wgsl.expected.glsl | 2 +- test/bug/tint/870.spvasm.expected.glsl | 2 +- test/bug/tint/913.wgsl.expected.glsl | 4 +-- test/bug/tint/914.wgsl.expected.glsl | 8 ++--- test/bug/tint/922.wgsl.expected.glsl | 6 ++-- test/bug/tint/926.wgsl.expected.glsl | 2 +- test/bug/tint/942.wgsl.expected.glsl | 4 +-- test/bug/tint/943.spvasm.expected.glsl | 8 ++--- test/bug/tint/948.wgsl.expected.glsl | 2 +- test/bug/tint/949.wgsl.expected.glsl | 4 +-- test/bug/tint/951.spvasm.expected.glsl | 6 ++-- test/bug/tint/959.wgsl.expected.glsl | 32 ++++++++--------- test/bug/tint/977.spvasm.expected.glsl | 2 +- test/bug/tint/980.wgsl.expected.glsl | 2 +- test/bug/tint/993.wgsl.expected.glsl | 6 ++-- test/bug/tint/998.wgsl.expected.glsl | 2 +- .../mul/mat3x2-vec3/f32.wgsl.expected.glsl | 2 +- .../mul/mat3x3-vec3/f32.wgsl.expected.glsl | 2 +- .../mul/vec3-mat3x3/f32.wgsl.expected.glsl | 2 +- .../mul/vec3-mat4x3/f32.wgsl.expected.glsl | 2 +- .../read/packed_vec3/f32.wgsl.expected.glsl | 2 +- .../read/packed_vec3/i32.wgsl.expected.glsl | 2 +- .../read/packed_vec3/u32.wgsl.expected.glsl | 2 +- .../write/packed_vec3/f32.wgsl.expected.glsl | 2 +- .../write/packed_vec3/i32.wgsl.expected.glsl | 2 +- .../write/packed_vec3/u32.wgsl.expected.glsl | 2 +- .../complex_via_let.wgsl.expected.glsl | 2 +- ...mplex_via_let_no_struct.wgsl.expected.glsl | 2 +- .../arrayLength/deprecated.wgsl.expected.glsl | 2 +- .../arrayLength/simple.wgsl.expected.glsl | 2 +- .../simple_no_struct.wgsl.expected.glsl | 2 +- .../arrayLength/via_let.wgsl.expected.glsl | 2 +- .../via_let_complex.wgsl.expected.glsl | 2 +- ...a_let_complex_no_struct.wgsl.expected.glsl | 2 +- .../via_let_no_struct.wgsl.expected.glsl | 2 +- .../gen/arrayLength/1588cd.wgsl.expected.glsl | 6 ++-- .../gen/arrayLength/61b1c7.wgsl.expected.glsl | 6 ++-- .../gen/arrayLength/a0f5ca.wgsl.expected.glsl | 6 ++-- .../gen/arrayLength/cdd123.wgsl.expected.glsl | 6 ++-- .../gen/arrayLength/cfca0a.wgsl.expected.glsl | 6 ++-- .../gen/arrayLength/eb510f.wgsl.expected.glsl | 6 ++-- .../gen/atomicAdd/8a199a.wgsl.expected.glsl | 4 +-- .../gen/atomicAdd/d32fe4.wgsl.expected.glsl | 4 +-- .../gen/atomicAnd/152966.wgsl.expected.glsl | 4 +-- .../gen/atomicAnd/85a8d9.wgsl.expected.glsl | 4 +-- .../12871c.wgsl.expected.glsl | 4 +-- .../6673da.wgsl.expected.glsl | 4 +-- .../atomicExchange/d59712.wgsl.expected.glsl | 4 +-- .../atomicExchange/f2e22f.wgsl.expected.glsl | 4 +-- .../gen/atomicLoad/0806ad.wgsl.expected.glsl | 4 +-- .../gen/atomicLoad/fe6cc3.wgsl.expected.glsl | 4 +-- .../gen/atomicMax/51b9be.wgsl.expected.glsl | 4 +-- .../gen/atomicMax/92aa72.wgsl.expected.glsl | 4 +-- .../gen/atomicMin/8e38dc.wgsl.expected.glsl | 4 +-- .../gen/atomicMin/c67a74.wgsl.expected.glsl | 4 +-- .../gen/atomicOr/5e95d4.wgsl.expected.glsl | 4 +-- .../gen/atomicOr/8d96a0.wgsl.expected.glsl | 4 +-- .../gen/atomicStore/cdc29e.wgsl.expected.glsl | 4 +-- .../gen/atomicStore/d1e9a6.wgsl.expected.glsl | 4 +-- .../gen/atomicSub/051100.wgsl.expected.glsl | 4 +-- .../gen/atomicSub/15bfc9.wgsl.expected.glsl | 4 +-- .../gen/atomicXor/54510e.wgsl.expected.glsl | 4 +-- .../gen/atomicXor/c1b78c.wgsl.expected.glsl | 4 +-- .../ignore/runtime_array.wgsl.expected.glsl | 2 +- .../ignore/storage_buffer.wgsl.expected.glsl | 2 +- .../ignore/uniform_buffer.wgsl.expected.glsl | 2 +- .../storage/mat2x2/f32.wgsl.expected.glsl | 2 +- .../mat2x2/stride/16.spvasm.expected.glsl | 2 +- .../load/local/ptr_storage.wgsl.expected.glsl | 2 +- .../load/local/ptr_uniform.wgsl.expected.glsl | 2 +- test/samples/compute_boids.wgsl.expected.glsl | 6 ++-- test/samples/cube.wgsl.expected.glsl | 2 +- ...d_struct_storage_buffer.wgsl.expected.glsl | 2 +- .../in_for_loop_body.wgsl.expected.glsl | 2 +- .../in_for_loop_continuing.wgsl.expected.glsl | 2 +- .../in_for_loop_init.wgsl.expected.glsl | 2 +- ...g_with_side_effect_func.wgsl.expected.glsl | 2 +- .../struct_array.wgsl.expected.glsl | 2 +- .../struct_array_array.wgsl.expected.glsl | 2 +- .../struct_array_struct.wgsl.expected.glsl | 2 +- ...ruct_array_struct_array.wgsl.expected.glsl | 2 +- .../struct_dynamic_array.wgsl.expected.glsl | 4 +-- ...amic_array_struct_array.wgsl.expected.glsl | 4 +-- .../struct_matrix.wgsl.expected.glsl | 2 +- .../struct_multiple_arrays.wgsl.expected.glsl | 2 +- .../struct_struct_array.wgsl.expected.glsl | 2 +- .../struct_vector.wgsl.expected.glsl | 2 +- .../vector_assign.wgsl.expected.glsl | 2 +- .../via_pointer.wgsl.expected.glsl | 2 +- .../via_pointer_arg.wgsl.expected.glsl | 2 +- ...dr_of_non_constructable.wgsl.expected.glsl | 2 +- .../addr_of_runtime_array.wgsl.expected.glsl | 2 +- .../phony/storage_buffer.wgsl.expected.glsl | 2 +- .../phony/uniform_buffer.wgsl.expected.glsl | 2 +- ...ength_FromAccessChain.spvasm.expected.glsl | 2 +- ...t_ArrayLength_FromVar.spvasm.expected.glsl | 2 +- ...n_Struct_RuntimeArray.spvasm.expected.glsl | 2 +- ...hAccessChain_Cascaded.spvasm.expected.glsl | 2 +- ...cessChain_NonCascaded.spvasm.expected.glsl | 2 +- ...d_InBoundsAccessChain.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../cov-bitcount/0-opt.spvasm.expected.glsl | 4 +-- .../cov-bitcount/0-opt.wgsl.expected.glsl | 4 +-- .../0.spvasm.expected.glsl | 2 +- .../0.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 8 ++--- .../0-opt.wgsl.expected.glsl | 8 ++--- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 6 ++-- .../0-opt.wgsl.expected.glsl | 6 ++-- .../0.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 6 ++-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 6 ++-- .../0-opt.wgsl.expected.glsl | 6 ++-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0.spvasm.expected.glsl | 4 +-- .../0.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../2.spvasm.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../2-opt.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../2.spvasm.expected.glsl | 2 +- .../0.wgsl.expected.glsl | 2 +- .../1.wgsl.expected.glsl | 4 +-- .../1.wgsl.expected.glsl | 4 +-- .../1.wgsl.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../0.wgsl.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.wgsl.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../0.spvasm.expected.glsl | 2 +- .../0.wgsl.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 4 +-- .../1.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 4 +-- .../0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.wgsl.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 6 ++-- .../0-opt.wgsl.expected.glsl | 6 ++-- .../0-opt.spvasm.expected.glsl | 2 +- .../0-opt.spvasm.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 4 +-- .../1.wgsl.expected.glsl | 4 +-- .../uint_sgreaterthan/0.spvasm.expected.glsl | 6 ++-- .../uint_sgreaterthan/0.wgsl.expected.glsl | 6 ++-- .../0.spvasm.expected.glsl | 6 ++-- .../0.wgsl.expected.glsl | 6 ++-- .../uint_slessthan/0.spvasm.expected.glsl | 6 ++-- .../uint_slessthan/0.wgsl.expected.glsl | 6 ++-- .../0.spvasm.expected.glsl | 6 ++-- .../uint_slessthanequal/0.wgsl.expected.glsl | 6 ++-- .../0-opt.spvasm.expected.glsl | 8 ++--- .../glsl_int_uclamp/0-opt.wgsl.expected.glsl | 8 ++--- .../glsl_uint_sabs/0-opt.spvasm.expected.glsl | 4 +-- .../glsl_uint_sabs/0-opt.wgsl.expected.glsl | 4 +-- .../0-opt.spvasm.expected.glsl | 8 ++--- .../glsl_uint_sclamp/0-opt.wgsl.expected.glsl | 8 ++--- .../glsl_uint_smax/0-opt.spvasm.expected.glsl | 6 ++-- .../glsl_uint_smax/0-opt.wgsl.expected.glsl | 6 ++-- .../glsl_uint_smin/0-opt.spvasm.expected.glsl | 6 ++-- .../glsl_uint_smin/0-opt.wgsl.expected.glsl | 6 ++-- .../uint_sdiv/0-opt.spvasm.expected.glsl | 6 ++-- .../uint_sdiv/0-opt.wgsl.expected.glsl | 6 ++-- .../uint_snegate/0-opt.spvasm.expected.glsl | 4 +-- .../uint_snegate/0-opt.wgsl.expected.glsl | 4 +-- .../no_ssbo_store/1.spvasm.expected.glsl | 2 +- .../no_ssbo_store/1.wgsl.expected.glsl | 2 +- .../1.spvasm.expected.glsl | 2 +- .../1.wgsl.expected.glsl | 2 +- 323 files changed, 601 insertions(+), 601 deletions(-) diff --git a/src/writer/glsl/generator_impl.cc b/src/writer/glsl/generator_impl.cc index 4ee27a3fd9..e7b697e2d0 100644 --- a/src/writer/glsl/generator_impl.cc +++ b/src/writer/glsl/generator_impl.cc @@ -1680,7 +1680,7 @@ bool GeneratorImpl::EmitUniformVariable(const sem::Variable* var) { return false; } ast::VariableBindingPoint bp = decl->BindingPoint(); - line() << "layout (binding = " << bp.binding->value << ") uniform " + line() << "layout(binding = " << bp.binding->value << ") uniform " << UniqueIdentifier(StructName(str)) << " {"; EmitStructMembers(current_buffer_, str); auto name = builder_.Symbols().NameFor(decl->symbol); @@ -1699,7 +1699,7 @@ bool GeneratorImpl::EmitStorageVariable(const sem::Variable* var) { return false; } ast::VariableBindingPoint bp = decl->BindingPoint(); - line() << "layout (binding = " << bp.binding->value << ") buffer " + line() << "layout(binding = " << bp.binding->value << ") buffer " << UniqueIdentifier(StructName(str)) << " {"; EmitStructMembers(current_buffer_, str); auto name = builder_.Symbols().NameFor(decl->symbol); diff --git a/src/writer/glsl/generator_impl_function_test.cc b/src/writer/glsl/generator_impl_function_test.cc index 7e19e4274a..286aabbe80 100644 --- a/src/writer/glsl/generator_impl_function_test.cc +++ b/src/writer/glsl/generator_impl_function_test.cc @@ -438,7 +438,7 @@ struct UBO { vec4 coord; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { vec4 coord; } ubo; @@ -491,7 +491,7 @@ struct Uniforms { vec4 coord; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { vec4 coord; } uniforms; @@ -546,7 +546,7 @@ struct Data { float b; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { int a; float b; } coord; @@ -602,7 +602,7 @@ struct Data { float b; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { int a; float b; } coord; @@ -654,7 +654,7 @@ struct Data { float b; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { int a; float b; } coord; @@ -707,7 +707,7 @@ struct Data { float b; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { int a; float b; } coord; @@ -761,7 +761,7 @@ struct S { float x; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { float x; } coord; @@ -820,7 +820,7 @@ struct S { float x; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { float x; } coord; @@ -1089,7 +1089,7 @@ struct Data { float d; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { float d; } data; diff --git a/src/writer/glsl/generator_impl_member_accessor_test.cc b/src/writer/glsl/generator_impl_member_accessor_test.cc index 07eeaa423b..cef3da6149 100644 --- a/src/writer/glsl/generator_impl_member_accessor_test.cc +++ b/src/writer/glsl/generator_impl_member_accessor_test.cc @@ -301,7 +301,7 @@ struct Data { mat2x3 b; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { int a; mat2x3 b; } data; @@ -351,7 +351,7 @@ struct Data { mat4x3 a; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { float z; mat4x3 a; } data; @@ -399,7 +399,7 @@ struct Data { int a[5]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { float z; int a[5]; } data; @@ -448,7 +448,7 @@ struct Data { int a[5]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { float z; int a[5]; } data; @@ -494,7 +494,7 @@ struct Data { int a[5]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { float z; int a[5]; } data; @@ -554,7 +554,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; @@ -616,7 +616,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; @@ -678,7 +678,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; @@ -740,7 +740,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; @@ -798,7 +798,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; @@ -860,7 +860,7 @@ struct Data { Inner c[4]; }; -layout (binding = 0) buffer Data_1 { +layout(binding = 0) buffer Data_1 { Inner c[4]; } data; diff --git a/src/writer/glsl/generator_impl_sanitizer_test.cc b/src/writer/glsl/generator_impl_sanitizer_test.cc index 8d5fdb2fad..a3e272d31a 100644 --- a/src/writer/glsl/generator_impl_sanitizer_test.cc +++ b/src/writer/glsl/generator_impl_sanitizer_test.cc @@ -52,7 +52,7 @@ TEST_F(GlslSanitizerTest, Call_ArrayLength) { precision mediump float; -layout (binding = 1) buffer my_struct_1 { +layout(binding = 1) buffer my_struct_1 { float a[]; } b; @@ -103,7 +103,7 @@ TEST_F(GlslSanitizerTest, Call_ArrayLength_OtherMembersInStruct) { precision mediump float; -layout (binding = 1) buffer my_struct_1 { +layout(binding = 1) buffer my_struct_1 { float z; float a[]; } b; @@ -157,7 +157,7 @@ TEST_F(GlslSanitizerTest, Call_ArrayLength_ViaLets) { precision mediump float; -layout (binding = 1) buffer my_struct_1 { +layout(binding = 1) buffer my_struct_1 { float a[]; } b; diff --git a/test/array/assign_to_function_var.wgsl.expected.glsl b/test/array/assign_to_function_var.wgsl.expected.glsl index 0861e921fd..18b10ddb4e 100644 --- a/test/array/assign_to_function_var.wgsl.expected.glsl +++ b/test/array/assign_to_function_var.wgsl.expected.glsl @@ -17,10 +17,10 @@ struct S { ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)); shared ivec4 src_workgroup[4]; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec4 arr[4]; } src_uniform; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { ivec4 arr[4]; } src_storage; diff --git a/test/array/assign_to_private_var.wgsl.expected.glsl b/test/array/assign_to_private_var.wgsl.expected.glsl index 1441b02a69..bbda26a1ab 100644 --- a/test/array/assign_to_private_var.wgsl.expected.glsl +++ b/test/array/assign_to_private_var.wgsl.expected.glsl @@ -17,10 +17,10 @@ struct S { ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)); shared ivec4 src_workgroup[4]; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec4 arr[4]; } src_uniform; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { ivec4 arr[4]; } src_storage; ivec4 dst[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)); diff --git a/test/array/assign_to_storage_var.wgsl.expected.glsl b/test/array/assign_to_storage_var.wgsl.expected.glsl index 2dab9e9498..3cb45d2123 100644 --- a/test/array/assign_to_storage_var.wgsl.expected.glsl +++ b/test/array/assign_to_storage_var.wgsl.expected.glsl @@ -20,16 +20,16 @@ struct S_nested { ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)); shared ivec4 src_workgroup[4]; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec4 arr[4]; } src_uniform; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { ivec4 arr[4]; } src_storage; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { ivec4 arr[4]; } dst; -layout (binding = 3) buffer S_nested_1 { +layout(binding = 3) buffer S_nested_1 { int arr[4][3][2]; } dst_nested; diff --git a/test/array/assign_to_workgroup_var.wgsl.expected.glsl b/test/array/assign_to_workgroup_var.wgsl.expected.glsl index c339c4192e..3f88a39229 100644 --- a/test/array/assign_to_workgroup_var.wgsl.expected.glsl +++ b/test/array/assign_to_workgroup_var.wgsl.expected.glsl @@ -17,10 +17,10 @@ struct S { ivec4 src_private[4] = ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)); shared ivec4 src_workgroup[4]; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec4 arr[4]; } src_uniform; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { ivec4 arr[4]; } src_storage; shared ivec4 dst[4]; diff --git a/test/benchmark/animometer.wgsl.expected.glsl b/test/benchmark/animometer.wgsl.expected.glsl index 99ba629e76..6278d4652d 100644 --- a/test/benchmark/animometer.wgsl.expected.glsl +++ b/test/benchmark/animometer.wgsl.expected.glsl @@ -14,10 +14,10 @@ struct Uniforms { float scalarOffset; }; -layout (binding = 0) uniform Time_1 { +layout(binding = 0) uniform Time_1 { float value; } time; -layout (binding = 1) uniform Uniforms_1 { +layout(binding = 1) uniform Uniforms_1 { float scale; float offsetX; float offsetY; diff --git a/test/benchmark/particles.wgsl.expected.glsl b/test/benchmark/particles.wgsl.expected.glsl index 2e5f843528..a981bc56ca 100644 --- a/test/benchmark/particles.wgsl.expected.glsl +++ b/test/benchmark/particles.wgsl.expected.glsl @@ -9,7 +9,7 @@ struct RenderParams { vec3 up; }; -layout (binding = 0) uniform RenderParams_1 { +layout(binding = 0) uniform RenderParams_1 { mat4 modelViewProjectionMatrix; vec3 right; vec3 up; @@ -253,11 +253,11 @@ struct Particle { vec3 velocity; }; -layout (binding = 0) uniform SimulationParams_1 { +layout(binding = 0) uniform SimulationParams_1 { float deltaTime; vec4 seed; } sim_params; -layout (binding = 1) buffer Particles_1 { +layout(binding = 1) buffer Particles_1 { Particle particles[]; } data; @@ -380,13 +380,13 @@ struct UBO { uint width; }; -layout (binding = 3) uniform UBO_1 { +layout(binding = 3) uniform UBO_1 { uint width; } ubo; -layout (binding = 4) buffer Buffer_1 { +layout(binding = 4) buffer Buffer_1 { float weights[]; } buf_in; -layout (binding = 5) buffer Buffer_2 { +layout(binding = 5) buffer Buffer_2 { float weights[]; } buf_out; @@ -470,13 +470,13 @@ struct UBO { uint width; }; -layout (binding = 3) uniform UBO_1 { +layout(binding = 3) uniform UBO_1 { uint width; } ubo; -layout (binding = 4) buffer Buffer_1 { +layout(binding = 4) buffer Buffer_1 { float weights[]; } buf_in; -layout (binding = 5) buffer Buffer_2 { +layout(binding = 5) buffer Buffer_2 { float weights[]; } buf_out; diff --git a/test/benchmark/shadow-fragment.wgsl.expected.glsl b/test/benchmark/shadow-fragment.wgsl.expected.glsl index fa5c1e2d66..2e9b3f4c5a 100644 --- a/test/benchmark/shadow-fragment.wgsl.expected.glsl +++ b/test/benchmark/shadow-fragment.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct Scene { vec3 lightPos; }; -layout (binding = 0) uniform Scene_1 { +layout(binding = 0) uniform Scene_1 { mat4 lightViewProjMatrix; mat4 cameraViewProjMatrix; vec3 lightPos; diff --git a/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl b/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl index 2128592ede..c00b6b6f25 100644 --- a/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl +++ b/test/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.glsl @@ -25,7 +25,7 @@ struct Camera { float zFar; }; -layout (binding = 0) uniform Camera_1 { +layout(binding = 0) uniform Camera_1 { mat4 projection; mat4 inverseProjection; mat4 view; @@ -46,7 +46,7 @@ struct ClusterLightGroup { uint indices[1769472]; }; -layout (binding = 1) buffer ClusterLightGroup_1 { +layout(binding = 1) buffer ClusterLightGroup_1 { uint offset; ClusterLights lights[27648]; uint indices[1769472]; @@ -59,7 +59,7 @@ struct Light { float intensity; }; -layout (binding = 2) buffer GlobalLights_1 { +layout(binding = 2) buffer GlobalLights_1 { vec3 ambient; vec3 dirColor; float dirIntensity; @@ -85,7 +85,7 @@ uint getClusterIndex(vec4 fragCoord) { return ((tile.x + (tile.y * tileCount.x)) + ((tile.z * tileCount.x) * tileCount.y)); } -layout (binding = 6) buffer LightShadowTable_1 { +layout(binding = 6) buffer LightShadowTable_1 { int light[]; } lightShadowTable; vec2 shadowSampleOffsets[16] = vec2[16](vec2(-1.5f, -1.5f), vec2(-1.5f, -0.5f), vec2(-1.5f, 0.5f), vec2(-1.5f, 1.5f), vec2(-0.5f, -1.5f), vec2(-0.5f, -0.5f), vec2(-0.5f, 0.5f), vec2(-0.5f, 1.5f), vec2(0.5f, -1.5f), vec2(0.5f, -0.5f), vec2(0.5f, 0.5f), vec2(0.5f, 1.5f), vec2(1.5f, -1.5f), vec2(1.5f, -0.5f), vec2(1.5f, 0.5f), vec2(1.5f, 1.5f)); @@ -96,7 +96,7 @@ struct ShadowProperties { mat4 viewProj; }; -layout (binding = 7) buffer LightShadows_1 { +layout(binding = 7) buffer LightShadows_1 { ShadowProperties properties[]; } shadow; uniform highp sampler2D shadowTexture_1; @@ -188,7 +188,7 @@ struct Material { float alphaCutoff; }; -layout (binding = 8) uniform Material_1 { +layout(binding = 8) uniform Material_1 { vec4 baseColorFactor; vec3 emissiveFactor; float occlusionStrength; diff --git a/test/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.glsl b/test/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.glsl index 97818d7eb5..6ca8a475c7 100644 --- a/test/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.glsl +++ b/test/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.glsl @@ -39,7 +39,7 @@ struct Camera { float zFar; }; -layout (binding = 0) uniform Camera_1 { +layout(binding = 0) uniform Camera_1 { mat4 projection; mat4 inverseProjection; mat4 view; @@ -50,10 +50,10 @@ layout (binding = 0) uniform Camera_1 { float zFar; } camera; -layout (binding = 1) buffer Joints_1 { +layout(binding = 1) buffer Joints_1 { mat4 matrices[]; } joint; -layout (binding = 2) buffer Joints_2 { +layout(binding = 2) buffer Joints_2 { mat4 matrices[]; } inverseBind; diff --git a/test/buffer/storage/dynamic_index/read.wgsl.expected.glsl b/test/buffer/storage/dynamic_index/read.wgsl.expected.glsl index 4272981c35..d468eae532 100644 --- a/test/buffer/storage/dynamic_index/read.wgsl.expected.glsl +++ b/test/buffer/storage/dynamic_index/read.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct Inner { ivec4 i[4]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { Inner arr[]; } s; diff --git a/test/buffer/storage/dynamic_index/write.wgsl.expected.glsl b/test/buffer/storage/dynamic_index/write.wgsl.expected.glsl index 8babfbdd00..0921b4dad6 100644 --- a/test/buffer/storage/dynamic_index/write.wgsl.expected.glsl +++ b/test/buffer/storage/dynamic_index/write.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct Inner { ivec4 i[4]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { Inner arr[]; } s; diff --git a/test/buffer/storage/static_index/read.wgsl.expected.glsl b/test/buffer/storage/static_index/read.wgsl.expected.glsl index 1b4c469f25..4924c0e9de 100644 --- a/test/buffer/storage/static_index/read.wgsl.expected.glsl +++ b/test/buffer/storage/static_index/read.wgsl.expected.glsl @@ -17,7 +17,7 @@ struct S { Inner j[4]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { ivec3 a; int b; uvec3 c; diff --git a/test/buffer/storage/static_index/write.wgsl.expected.glsl b/test/buffer/storage/static_index/write.wgsl.expected.glsl index b4db83b30c..f57337cbdd 100644 --- a/test/buffer/storage/static_index/write.wgsl.expected.glsl +++ b/test/buffer/storage/static_index/write.wgsl.expected.glsl @@ -17,7 +17,7 @@ struct S { Inner j[4]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { ivec3 a; int b; uvec3 c; diff --git a/test/buffer/storage/types/array.wgsl.expected.glsl b/test/buffer/storage/types/array.wgsl.expected.glsl index f1f3394e80..50ce2f2565 100644 --- a/test/buffer/storage/types/array.wgsl.expected.glsl +++ b/test/buffer/storage/types/array.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { float inner[4]; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { float inner[4]; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { float inner[4]; } tint_symbol_1; diff --git a/test/buffer/storage/types/f32.wgsl.expected.glsl b/test/buffer/storage/types/f32.wgsl.expected.glsl index 3f381913a8..bc9f222c49 100644 --- a/test/buffer/storage/types/f32.wgsl.expected.glsl +++ b/test/buffer/storage/types/f32.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { float inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { float inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { float inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/i32.wgsl.expected.glsl b/test/buffer/storage/types/i32.wgsl.expected.glsl index c952e58daf..69ccc1d320 100644 --- a/test/buffer/storage/types/i32.wgsl.expected.glsl +++ b/test/buffer/storage/types/i32.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { int inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { int inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { int inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/mat2x2.wgsl.expected.glsl b/test/buffer/storage/types/mat2x2.wgsl.expected.glsl index f0cab26b73..7f2232e706 100644 --- a/test/buffer/storage/types/mat2x2.wgsl.expected.glsl +++ b/test/buffer/storage/types/mat2x2.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { mat2 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { mat2 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { mat2 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/mat2x3.wgsl.expected.glsl b/test/buffer/storage/types/mat2x3.wgsl.expected.glsl index 51ebbdf9b9..0b414b214c 100644 --- a/test/buffer/storage/types/mat2x3.wgsl.expected.glsl +++ b/test/buffer/storage/types/mat2x3.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { mat2x3 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { mat2x3 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { mat2x3 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/mat3x2.wgsl.expected.glsl b/test/buffer/storage/types/mat3x2.wgsl.expected.glsl index 3d2d78a07f..6fd97af3ec 100644 --- a/test/buffer/storage/types/mat3x2.wgsl.expected.glsl +++ b/test/buffer/storage/types/mat3x2.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { mat3x2 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { mat3x2 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { mat3x2 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/mat4x4.wgsl.expected.glsl b/test/buffer/storage/types/mat4x4.wgsl.expected.glsl index c90a42ae76..955e50adbc 100644 --- a/test/buffer/storage/types/mat4x4.wgsl.expected.glsl +++ b/test/buffer/storage/types/mat4x4.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { mat4 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { mat4 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { mat4 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/runtime_array.wgsl.expected.glsl b/test/buffer/storage/types/runtime_array.wgsl.expected.glsl index 20ab43abed..b32c622d3b 100644 --- a/test/buffer/storage/types/runtime_array.wgsl.expected.glsl +++ b/test/buffer/storage/types/runtime_array.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct S { float f; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { S inner[]; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { S inner[]; } tint_symbol_1; diff --git a/test/buffer/storage/types/struct.wgsl.expected.glsl b/test/buffer/storage/types/struct.wgsl.expected.glsl index 9c7878ab3e..74106b6a90 100644 --- a/test/buffer/storage/types/struct.wgsl.expected.glsl +++ b/test/buffer/storage/types/struct.wgsl.expected.glsl @@ -10,10 +10,10 @@ struct S { Inner inner; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { Inner inner; } tint_symbol; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { Inner inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/u32.wgsl.expected.glsl b/test/buffer/storage/types/u32.wgsl.expected.glsl index f0d0db6cfd..553d5228e8 100644 --- a/test/buffer/storage/types/u32.wgsl.expected.glsl +++ b/test/buffer/storage/types/u32.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { uint inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { uint inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { uint inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/vec2.wgsl.expected.glsl b/test/buffer/storage/types/vec2.wgsl.expected.glsl index 6256047909..ed93d722b0 100644 --- a/test/buffer/storage/types/vec2.wgsl.expected.glsl +++ b/test/buffer/storage/types/vec2.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { ivec2 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { ivec2 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { ivec2 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/vec3.wgsl.expected.glsl b/test/buffer/storage/types/vec3.wgsl.expected.glsl index f00c6371d9..f98bac90ff 100644 --- a/test/buffer/storage/types/vec3.wgsl.expected.glsl +++ b/test/buffer/storage/types/vec3.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { uvec3 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { uvec3 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { uvec3 inner; } tint_symbol_1; diff --git a/test/buffer/storage/types/vec4.wgsl.expected.glsl b/test/buffer/storage/types/vec4.wgsl.expected.glsl index 95e5e9fb37..36e0d15d87 100644 --- a/test/buffer/storage/types/vec4.wgsl.expected.glsl +++ b/test/buffer/storage/types/vec4.wgsl.expected.glsl @@ -5,10 +5,10 @@ struct tint_symbol_block { vec4 inner; }; -layout (binding = 0) buffer tint_symbol_block_1 { +layout(binding = 0) buffer tint_symbol_block_1 { vec4 inner; } tint_symbol; -layout (binding = 1) buffer tint_symbol_block_2 { +layout(binding = 1) buffer tint_symbol_block_2 { vec4 inner; } tint_symbol_1; diff --git a/test/buffer/uniform/dynamic_index/read.wgsl.expected.glsl b/test/buffer/uniform/dynamic_index/read.wgsl.expected.glsl index f199d0e330..c6520d4721 100644 --- a/test/buffer/uniform/dynamic_index/read.wgsl.expected.glsl +++ b/test/buffer/uniform/dynamic_index/read.wgsl.expected.glsl @@ -18,7 +18,7 @@ struct S { Inner arr[8]; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { Inner arr[8]; } s; diff --git a/test/buffer/uniform/static_index/read.wgsl.expected.glsl b/test/buffer/uniform/static_index/read.wgsl.expected.glsl index ee1c6d8d1c..eebf1ed61b 100644 --- a/test/buffer/uniform/static_index/read.wgsl.expected.glsl +++ b/test/buffer/uniform/static_index/read.wgsl.expected.glsl @@ -19,7 +19,7 @@ struct S { Inner l[4]; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec3 a; int b; uvec3 c; diff --git a/test/buffer/uniform/types/array.wgsl.expected.glsl b/test/buffer/uniform/types/array.wgsl.expected.glsl index 11ff5ceca2..d4fe506b6c 100644 --- a/test/buffer/uniform/types/array.wgsl.expected.glsl +++ b/test/buffer/uniform/types/array.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { vec4 inner[4]; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { vec4 inner[4]; } u; diff --git a/test/buffer/uniform/types/f32.wgsl.expected.glsl b/test/buffer/uniform/types/f32.wgsl.expected.glsl index caa6a44e13..e8ce6d9f27 100644 --- a/test/buffer/uniform/types/f32.wgsl.expected.glsl +++ b/test/buffer/uniform/types/f32.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { float inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { float inner; } u; diff --git a/test/buffer/uniform/types/i32.wgsl.expected.glsl b/test/buffer/uniform/types/i32.wgsl.expected.glsl index 719812bfb9..067e517765 100644 --- a/test/buffer/uniform/types/i32.wgsl.expected.glsl +++ b/test/buffer/uniform/types/i32.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { int inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { int inner; } u; diff --git a/test/buffer/uniform/types/mat2x2.wgsl.expected.glsl b/test/buffer/uniform/types/mat2x2.wgsl.expected.glsl index 1104d7dc9b..48639af3e6 100644 --- a/test/buffer/uniform/types/mat2x2.wgsl.expected.glsl +++ b/test/buffer/uniform/types/mat2x2.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { mat2 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { mat2 inner; } u; diff --git a/test/buffer/uniform/types/mat2x3.wgsl.expected.glsl b/test/buffer/uniform/types/mat2x3.wgsl.expected.glsl index b61c56ed6e..be9528783f 100644 --- a/test/buffer/uniform/types/mat2x3.wgsl.expected.glsl +++ b/test/buffer/uniform/types/mat2x3.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { mat2x3 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { mat2x3 inner; } u; diff --git a/test/buffer/uniform/types/mat3x2.wgsl.expected.glsl b/test/buffer/uniform/types/mat3x2.wgsl.expected.glsl index 58d076b90d..d8529c9942 100644 --- a/test/buffer/uniform/types/mat3x2.wgsl.expected.glsl +++ b/test/buffer/uniform/types/mat3x2.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { mat3x2 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { mat3x2 inner; } u; diff --git a/test/buffer/uniform/types/mat4x4.wgsl.expected.glsl b/test/buffer/uniform/types/mat4x4.wgsl.expected.glsl index 3f5f108d39..616ab56cff 100644 --- a/test/buffer/uniform/types/mat4x4.wgsl.expected.glsl +++ b/test/buffer/uniform/types/mat4x4.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { mat4 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { mat4 inner; } u; diff --git a/test/buffer/uniform/types/struct.wgsl.expected.glsl b/test/buffer/uniform/types/struct.wgsl.expected.glsl index ca402486a5..9fac48ef43 100644 --- a/test/buffer/uniform/types/struct.wgsl.expected.glsl +++ b/test/buffer/uniform/types/struct.wgsl.expected.glsl @@ -10,7 +10,7 @@ struct S { Inner inner; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { Inner inner; } u; diff --git a/test/buffer/uniform/types/u32.wgsl.expected.glsl b/test/buffer/uniform/types/u32.wgsl.expected.glsl index 555ec426f8..f2aa4ceeb5 100644 --- a/test/buffer/uniform/types/u32.wgsl.expected.glsl +++ b/test/buffer/uniform/types/u32.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { uint inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { uint inner; } u; diff --git a/test/buffer/uniform/types/vec2.wgsl.expected.glsl b/test/buffer/uniform/types/vec2.wgsl.expected.glsl index dd8b58dcbe..4ebdfe0c3b 100644 --- a/test/buffer/uniform/types/vec2.wgsl.expected.glsl +++ b/test/buffer/uniform/types/vec2.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { ivec2 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { ivec2 inner; } u; diff --git a/test/buffer/uniform/types/vec3.wgsl.expected.glsl b/test/buffer/uniform/types/vec3.wgsl.expected.glsl index 3049309afe..5174f9570a 100644 --- a/test/buffer/uniform/types/vec3.wgsl.expected.glsl +++ b/test/buffer/uniform/types/vec3.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { uvec3 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { uvec3 inner; } u; diff --git a/test/buffer/uniform/types/vec4.wgsl.expected.glsl b/test/buffer/uniform/types/vec4.wgsl.expected.glsl index 077fe672e8..ae5afea4dc 100644 --- a/test/buffer/uniform/types/vec4.wgsl.expected.glsl +++ b/test/buffer/uniform/types/vec4.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct u_block { vec4 inner; }; -layout (binding = 0) uniform u_block_1 { +layout(binding = 0) uniform u_block_1 { vec4 inner; } u; diff --git a/test/bug/chromium/1273230.wgsl.expected.glsl b/test/bug/chromium/1273230.wgsl.expected.glsl index 616a593650..4eca6df9f0 100644 --- a/test/bug/chromium/1273230.wgsl.expected.glsl +++ b/test/bug/chromium/1273230.wgsl.expected.glsl @@ -44,7 +44,7 @@ struct Dbg { float value_f32_3; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { uint numTriangles; uint gridSize; uint puuuuuuuuuuuuuuuuad1; @@ -52,19 +52,19 @@ layout (binding = 0) uniform Uniforms_1 { vec3 bbMin; vec3 bbMax; } uniforms; -layout (binding = 10) buffer U32s_1 { +layout(binding = 10) buffer U32s_1 { uint values[]; } indices; -layout (binding = 11) buffer F32s_1 { +layout(binding = 11) buffer F32s_1 { float values[]; } positions; -layout (binding = 20) buffer AU32s_1 { +layout(binding = 20) buffer AU32s_1 { uint values[]; } counters; -layout (binding = 21) buffer AI32s_1 { +layout(binding = 21) buffer AI32s_1 { int values[]; } LUT; -layout (binding = 50) buffer Dbg_1 { +layout(binding = 50) buffer Dbg_1 { uint offsetCounter; uint pad0; uint pad1; diff --git a/test/bug/dawn/947.wgsl.expected.glsl b/test/bug/dawn/947.wgsl.expected.glsl index d932fbfe31..a248de1783 100644 --- a/test/bug/dawn/947.wgsl.expected.glsl +++ b/test/bug/dawn/947.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { vec2 u_offset; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { vec2 u_scale; vec2 u_offset; } uniforms; diff --git a/test/bug/fxc/dyn_array_idx/read/function.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/read/function.wgsl.expected.glsl index 34598bf49e..32d13a8837 100644 --- a/test/bug/fxc/dyn_array_idx/read/function.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/read/function.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; diff --git a/test/bug/fxc/dyn_array_idx/read/private.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/read/private.wgsl.expected.glsl index a2d8b261f4..67d37d37a1 100644 --- a/test/bug/fxc/dyn_array_idx/read/private.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/read/private.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; S s = S(int[64](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); diff --git a/test/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.glsl index b6fe342922..3719b7e495 100644 --- a/test/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/read/storage.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -13,7 +13,7 @@ struct Result { int tint_symbol; }; -layout (binding = 2) buffer Result_1 { +layout(binding = 2) buffer Result_1 { int tint_symbol; } result; @@ -21,7 +21,7 @@ struct SSBO { int data[4]; }; -layout (binding = 1) buffer SSBO_1 { +layout(binding = 1) buffer SSBO_1 { int data[4]; } ssbo; diff --git a/test/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.glsl index df1ea99b0e..2ff97ae8bf 100644 --- a/test/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/read/uniform.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { ivec4 data[4]; int dynamic_idx; } ubo; @@ -15,7 +15,7 @@ struct Result { int tint_symbol; }; -layout (binding = 2) buffer Result_1 { +layout(binding = 2) buffer Result_1 { int tint_symbol; } result; diff --git a/test/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.glsl index 63c02da53b..955289b367 100644 --- a/test/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; shared S s; diff --git a/test/bug/fxc/dyn_array_idx/write/function.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/function.wgsl.expected.glsl index 6f1e673843..335f1db629 100644 --- a/test/bug/fxc/dyn_array_idx/write/function.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/function.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; diff --git a/test/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.glsl index fd3968033e..dd49354994 100644 --- a/test/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/function_via_param.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; diff --git a/test/bug/fxc/dyn_array_idx/write/private.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/private.wgsl.expected.glsl index 7978da074d..b10480ffd4 100644 --- a/test/bug/fxc/dyn_array_idx/write/private.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/private.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; S s = S(int[64](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); diff --git a/test/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.glsl index 9e134bdd45..fa7364289e 100644 --- a/test/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/private_via_param.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; S s = S(int[64](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); diff --git a/test/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.glsl index 7f63a15d03..01f9ff42e3 100644 --- a/test/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/storage.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -13,7 +13,7 @@ struct Result { int tint_symbol; }; -layout (binding = 2) buffer Result_1 { +layout(binding = 2) buffer Result_1 { int tint_symbol; } result; @@ -21,7 +21,7 @@ struct SSBO { int data[4]; }; -layout (binding = 1) buffer SSBO_1 { +layout(binding = 1) buffer SSBO_1 { int data[4]; } ssbo; diff --git a/test/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.glsl b/test/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.glsl index bd2a954c5e..7f4537ee2f 100644 --- a/test/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.glsl +++ b/test/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct UBO { int dynamic_idx; }; -layout (binding = 0) uniform UBO_1 { +layout(binding = 0) uniform UBO_1 { int dynamic_idx; } ubo; @@ -16,7 +16,7 @@ struct Result { int tint_symbol; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { int tint_symbol; } result; shared S s; diff --git a/test/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.glsl b/test/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.glsl index 6a603fcb0a..642b7e3052 100644 --- a/test/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.glsl +++ b/test/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.glsl @@ -11,10 +11,10 @@ struct Particle { vec3 velocity; }; -layout (binding = 3) buffer Particles_1 { +layout(binding = 3) buffer Particles_1 { Particle p[]; } particles; -layout (binding = 4) uniform Simulation_1 { +layout(binding = 4) uniform Simulation_1 { uint i; } sim; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.glsl index 33c3c73a28..48e49e1900 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_x.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.glsl index bbd79a4b59..039fbe91f0 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_xy.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.glsl index b3425a1155..79409bbeae 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_scalar_y.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.glsl index a9bcbcbe0c..405f246144 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/local_assign_vector.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.glsl index 5d70b65b35..38587f258c 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_x.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.glsl index 836f492805..a588d37ea2 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_xy.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.glsl index b3425a1155..79409bbeae 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_scalar_y.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.glsl b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.glsl index 7e3af6cb8f..fb3492b13a 100644 --- a/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.glsl +++ b/test/bug/fxc/matrix_assignment_dynamic_index/module_assign_vector.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Uniforms { uint j; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/bug/tint/1046.wgsl.expected.glsl b/test/bug/tint/1046.wgsl.expected.glsl index 872149f5f6..cfa646a644 100644 --- a/test/bug/tint/1046.wgsl.expected.glsl +++ b/test/bug/tint/1046.wgsl.expected.glsl @@ -14,14 +14,14 @@ struct Uniforms { vec4 color; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { mat4 worldView; mat4 proj; uint numPointLights; uint color_source; vec4 color; } uniforms; -layout (binding = 1) buffer PointLights_1 { +layout(binding = 1) buffer PointLights_1 { PointLight values[]; } pointLights; diff --git a/test/bug/tint/1088.spvasm.expected.glsl b/test/bug/tint/1088.spvasm.expected.glsl index 47cd0f2e06..e2c4a4258f 100644 --- a/test/bug/tint/1088.spvasm.expected.glsl +++ b/test/bug/tint/1088.spvasm.expected.glsl @@ -12,7 +12,7 @@ struct LeftOver { }; vec3 position = vec3(0.0f, 0.0f, 0.0f); -layout (binding = 2) uniform LeftOver_1 { +layout(binding = 2) uniform LeftOver_1 { mat4 worldViewProjection; float time; mat4 test2[2]; diff --git a/test/bug/tint/1113.wgsl.expected.glsl b/test/bug/tint/1113.wgsl.expected.glsl index b27604e1b0..f4dcd18854 100644 --- a/test/bug/tint/1113.wgsl.expected.glsl +++ b/test/bug/tint/1113.wgsl.expected.glsl @@ -24,7 +24,7 @@ struct Dbg { float value_f32_3; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { uint numTriangles; uint gridSize; uint pad1; @@ -32,19 +32,19 @@ layout (binding = 0) uniform Uniforms_1 { vec3 bbMin; vec3 bbMax; } uniforms; -layout (binding = 10) buffer U32s_1 { +layout(binding = 10) buffer U32s_1 { uint values[]; } indices; -layout (binding = 11) buffer F32s_1 { +layout(binding = 11) buffer F32s_1 { float values[]; } positions; -layout (binding = 20) buffer AU32s_1 { +layout(binding = 20) buffer AU32s_1 { uint values[]; } counters; -layout (binding = 21) buffer AI32s_1 { +layout(binding = 21) buffer AI32s_1 { int values[]; } LUT; -layout (binding = 50) buffer Dbg_1 { +layout(binding = 50) buffer Dbg_1 { uint offsetCounter; uint pad0; uint pad1; @@ -163,7 +163,7 @@ struct Dbg { float value_f32_3; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { uint numTriangles; uint gridSize; uint pad1; @@ -171,19 +171,19 @@ layout (binding = 0) uniform Uniforms_1 { vec3 bbMin; vec3 bbMax; } uniforms; -layout (binding = 10) buffer U32s_1 { +layout(binding = 10) buffer U32s_1 { uint values[]; } indices; -layout (binding = 11) buffer F32s_1 { +layout(binding = 11) buffer F32s_1 { float values[]; } positions; -layout (binding = 20) buffer AU32s_1 { +layout(binding = 20) buffer AU32s_1 { uint values[]; } counters; -layout (binding = 21) buffer AI32s_1 { +layout(binding = 21) buffer AI32s_1 { int values[]; } LUT; -layout (binding = 50) buffer Dbg_1 { +layout(binding = 50) buffer Dbg_1 { uint offsetCounter; uint pad0; uint pad1; @@ -271,7 +271,7 @@ struct Dbg { float value_f32_3; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { uint numTriangles; uint gridSize; uint pad1; @@ -279,19 +279,19 @@ layout (binding = 0) uniform Uniforms_1 { vec3 bbMin; vec3 bbMax; } uniforms; -layout (binding = 10) buffer U32s_1 { +layout(binding = 10) buffer U32s_1 { uint values[]; } indices; -layout (binding = 11) buffer F32s_1 { +layout(binding = 11) buffer F32s_1 { float values[]; } positions; -layout (binding = 20) buffer AU32s_1 { +layout(binding = 20) buffer AU32s_1 { uint values[]; } counters; -layout (binding = 21) buffer AI32s_1 { +layout(binding = 21) buffer AI32s_1 { int values[]; } LUT; -layout (binding = 50) buffer Dbg_1 { +layout(binding = 50) buffer Dbg_1 { uint offsetCounter; uint pad0; uint pad1; diff --git a/test/bug/tint/1121.wgsl.expected.glsl b/test/bug/tint/1121.wgsl.expected.glsl index 880f6a2f56..7796c15690 100644 --- a/test/bug/tint/1121.wgsl.expected.glsl +++ b/test/bug/tint/1121.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct LightData { float radius; }; -layout (binding = 0) buffer LightsBuffer_1 { +layout(binding = 0) buffer LightsBuffer_1 { LightData lights[]; } lightsBuffer; @@ -19,7 +19,7 @@ struct Tiles { TileLightIdData data[4]; }; -layout (binding = 0) buffer Tiles_1 { +layout(binding = 0) buffer Tiles_1 { TileLightIdData data[4]; } tileLightId; @@ -32,7 +32,7 @@ struct Config { uint tileSize; }; -layout (binding = 0) uniform Config_1 { +layout(binding = 0) uniform Config_1 { uint numLights; uint numTiles; uint tileCountX; @@ -49,7 +49,7 @@ struct Uniforms { vec4 fullScreenSize; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { vec4 tint_symbol; vec4 tint_symbol_1; mat4 viewMatrix; diff --git a/test/bug/tint/1136.wgsl.expected.glsl b/test/bug/tint/1136.wgsl.expected.glsl index 379b3406f7..670b1e681b 100644 --- a/test/bug/tint/1136.wgsl.expected.glsl +++ b/test/bug/tint/1136.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct Buffer { uint data; }; -layout (binding = 0) buffer Buffer_1 { +layout(binding = 0) buffer Buffer_1 { uint data; } tint_symbol; diff --git a/test/bug/tint/1385.wgsl.expected.glsl b/test/bug/tint/1385.wgsl.expected.glsl index 25757bd502..52becb32f3 100644 --- a/test/bug/tint/1385.wgsl.expected.glsl +++ b/test/bug/tint/1385.wgsl.expected.glsl @@ -2,7 +2,7 @@ precision mediump float; -layout (binding = 1) buffer data_block_1 { +layout(binding = 1) buffer data_block_1 { int inner[]; } data; diff --git a/test/bug/tint/221.wgsl.expected.glsl b/test/bug/tint/221.wgsl.expected.glsl index 6df8d7866f..a6dab15cd2 100644 --- a/test/bug/tint/221.wgsl.expected.glsl +++ b/test/bug/tint/221.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Buf { uint data[50]; }; -layout (binding = 0) buffer Buf_1 { +layout(binding = 0) buffer Buf_1 { uint count; uint data[50]; } b; diff --git a/test/bug/tint/294.wgsl.expected.glsl b/test/bug/tint/294.wgsl.expected.glsl index 730ce221f0..0aa593b3fe 100644 --- a/test/bug/tint/294.wgsl.expected.glsl +++ b/test/bug/tint/294.wgsl.expected.glsl @@ -16,6 +16,6 @@ struct Light { vec3 colour; }; -layout (binding = 1) buffer Lights_1 { +layout(binding = 1) buffer Lights_1 { Light light[]; } lights; diff --git a/test/bug/tint/369.wgsl.expected.glsl b/test/bug/tint/369.wgsl.expected.glsl index 4a6ca48feb..a21973db53 100644 --- a/test/bug/tint/369.wgsl.expected.glsl +++ b/test/bug/tint/369.wgsl.expected.glsl @@ -15,9 +15,9 @@ struct S { mat2 m; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { mat2 m; } SSBO; -layout (binding = 0) uniform S_2 { +layout(binding = 0) uniform S_2 { mat2 m; } UBO; diff --git a/test/bug/tint/403.wgsl.expected.glsl b/test/bug/tint/403.wgsl.expected.glsl index 81cdb18512..e9c8d834d2 100644 --- a/test/bug/tint/403.wgsl.expected.glsl +++ b/test/bug/tint/403.wgsl.expected.glsl @@ -8,10 +8,10 @@ struct vertexUniformBuffer2 { mat2 transform2; }; -layout (binding = 0) uniform vertexUniformBuffer1_1 { +layout(binding = 0) uniform vertexUniformBuffer1_1 { mat2 transform1; } x_20; -layout (binding = 0) uniform vertexUniformBuffer2_1 { +layout(binding = 0) uniform vertexUniformBuffer2_1 { mat2 transform2; } x_26; diff --git a/test/bug/tint/492.wgsl.expected.glsl b/test/bug/tint/492.wgsl.expected.glsl index 11b70abd60..31dca81299 100644 --- a/test/bug/tint/492.wgsl.expected.glsl +++ b/test/bug/tint/492.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct S { int a; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a; } buf; diff --git a/test/bug/tint/534.wgsl.expected.glsl b/test/bug/tint/534.wgsl.expected.glsl index bda0d8c171..b8c0f43860 100644 --- a/test/bug/tint/534.wgsl.expected.glsl +++ b/test/bug/tint/534.wgsl.expected.glsl @@ -8,10 +8,10 @@ struct Uniforms { uint channelCount; }; -layout (binding = 2) buffer OutputBuf_1 { +layout(binding = 2) buffer OutputBuf_1 { uint result[]; } tint_symbol; -layout (binding = 3) uniform Uniforms_1 { +layout(binding = 3) uniform Uniforms_1 { uint dstTextureFlipY; uint isFloat16; uint isRGB10A2Unorm; diff --git a/test/bug/tint/744.wgsl.expected.glsl b/test/bug/tint/744.wgsl.expected.glsl index d79301cc24..bab0034063 100644 --- a/test/bug/tint/744.wgsl.expected.glsl +++ b/test/bug/tint/744.wgsl.expected.glsl @@ -7,16 +7,16 @@ struct Uniforms { uvec2 outShape; }; -layout (binding = 0) buffer Matrix_1 { +layout(binding = 0) buffer Matrix_1 { uint numbers[]; } firstMatrix; -layout (binding = 1) buffer Matrix_2 { +layout(binding = 1) buffer Matrix_2 { uint numbers[]; } secondMatrix; -layout (binding = 2) buffer Matrix_3 { +layout(binding = 2) buffer Matrix_3 { uint numbers[]; } resultMatrix; -layout (binding = 3) uniform Uniforms_1 { +layout(binding = 3) uniform Uniforms_1 { uvec2 aShape; uvec2 bShape; uvec2 outShape; diff --git a/test/bug/tint/749.spvasm.expected.glsl b/test/bug/tint/749.spvasm.expected.glsl index d7b04686e3..95eeb34687 100644 --- a/test/bug/tint/749.spvasm.expected.glsl +++ b/test/bug/tint/749.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_188; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/bug/tint/757.wgsl.expected.glsl b/test/bug/tint/757.wgsl.expected.glsl index a7edd5fccd..b6776b2fe2 100644 --- a/test/bug/tint/757.wgsl.expected.glsl +++ b/test/bug/tint/757.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct Constants { int level; }; -layout (binding = 3) buffer Result_1 { +layout(binding = 3) buffer Result_1 { float values[]; } result; diff --git a/test/bug/tint/827.wgsl.expected.glsl b/test/bug/tint/827.wgsl.expected.glsl index 24a3fb0574..43f718900c 100644 --- a/test/bug/tint/827.wgsl.expected.glsl +++ b/test/bug/tint/827.wgsl.expected.glsl @@ -3,7 +3,7 @@ precision mediump float; const uint width = 128u; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { float values[]; } result; diff --git a/test/bug/tint/870.spvasm.expected.glsl b/test/bug/tint/870.spvasm.expected.glsl index 57cbe8de6f..479def4b23 100644 --- a/test/bug/tint/870.spvasm.expected.glsl +++ b/test/bug/tint/870.spvasm.expected.glsl @@ -11,7 +11,7 @@ struct x_B4_BuildInformation { sspp962805860buildInformationS passthru; }; -layout (binding = 2) buffer x_B4_BuildInformation_1 { +layout(binding = 2) buffer x_B4_BuildInformation_1 { sspp962805860buildInformationS passthru; } sspp962805860buildInformation; diff --git a/test/bug/tint/913.wgsl.expected.glsl b/test/bug/tint/913.wgsl.expected.glsl index dbfc10e989..06b72110a2 100644 --- a/test/bug/tint/913.wgsl.expected.glsl +++ b/test/bug/tint/913.wgsl.expected.glsl @@ -9,10 +9,10 @@ struct Uniforms { uvec2 copySize; }; -layout (binding = 2) buffer OutputBuf_1 { +layout(binding = 2) buffer OutputBuf_1 { uint result[]; } tint_symbol; -layout (binding = 3) uniform Uniforms_1 { +layout(binding = 3) uniform Uniforms_1 { uint dstTextureFlipY; uint channelCount; uvec2 srcCopyOrigin; diff --git a/test/bug/tint/914.wgsl.expected.glsl b/test/bug/tint/914.wgsl.expected.glsl index 4ca2f35fe2..efacf5c5f2 100644 --- a/test/bug/tint/914.wgsl.expected.glsl +++ b/test/bug/tint/914.wgsl.expected.glsl @@ -7,16 +7,16 @@ struct Uniforms { uint dimBOuter; }; -layout (binding = 0) buffer Matrix_1 { +layout(binding = 0) buffer Matrix_1 { float numbers[]; } firstMatrix; -layout (binding = 1) buffer Matrix_2 { +layout(binding = 1) buffer Matrix_2 { float numbers[]; } secondMatrix; -layout (binding = 2) buffer Matrix_3 { +layout(binding = 2) buffer Matrix_3 { float numbers[]; } resultMatrix; -layout (binding = 3) uniform Uniforms_1 { +layout(binding = 3) uniform Uniforms_1 { uint dimAOuter; uint dimInner; uint dimBOuter; diff --git a/test/bug/tint/922.wgsl.expected.glsl b/test/bug/tint/922.wgsl.expected.glsl index 24523d98d7..af8383c0c5 100644 --- a/test/bug/tint/922.wgsl.expected.glsl +++ b/test/bug/tint/922.wgsl.expected.glsl @@ -34,14 +34,14 @@ struct VertexOutput { vec4 member; }; -layout (binding = 0) uniform ub_SceneParams_1 { +layout(binding = 0) uniform ub_SceneParams_1 { Mat4x4_ u_Projection; } global; -layout (binding = 1) uniform ub_MaterialParams_1 { +layout(binding = 1) uniform ub_MaterialParams_1 { Mat4x2_ u_TexMtx[1]; vec4 u_Misc0_; } global1; -layout (binding = 2) uniform ub_PacketParams_1 { +layout(binding = 2) uniform ub_PacketParams_1 { Mat4x3_ u_PosMtx[32]; } global2; vec3 a_Position1 = vec3(0.0f, 0.0f, 0.0f); diff --git a/test/bug/tint/926.wgsl.expected.glsl b/test/bug/tint/926.wgsl.expected.glsl index ca68ecab63..ff825f6937 100644 --- a/test/bug/tint/926.wgsl.expected.glsl +++ b/test/bug/tint/926.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct DrawIndirectArgs { uint vertexCount; }; -layout (binding = 5) buffer DrawIndirectArgs_1 { +layout(binding = 5) buffer DrawIndirectArgs_1 { uint vertexCount; } drawOut; uint cubeVerts = 0u; diff --git a/test/bug/tint/942.wgsl.expected.glsl b/test/bug/tint/942.wgsl.expected.glsl index 9bceb2f1d7..a3bc1ddd7b 100644 --- a/test/bug/tint/942.wgsl.expected.glsl +++ b/test/bug/tint/942.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct Params { uint blockDim; }; -layout (binding = 1) uniform Params_1 { +layout(binding = 1) uniform Params_1 { uint filterDim; uint blockDim; } params; @@ -15,7 +15,7 @@ struct Flip { uint value; }; -layout (binding = 3) uniform Flip_1 { +layout(binding = 3) uniform Flip_1 { uint value; } flip; shared vec3 tile[4][256]; diff --git a/test/bug/tint/943.spvasm.expected.glsl b/test/bug/tint/943.spvasm.expected.glsl index 952bbcd2fd..eddfd9d6e3 100644 --- a/test/bug/tint/943.spvasm.expected.glsl +++ b/test/bug/tint/943.spvasm.expected.glsl @@ -21,7 +21,7 @@ struct ssbB { }; int dimAOuter_1 = 0; -layout (binding = 3) uniform Uniforms_1 { +layout(binding = 3) uniform Uniforms_1 { float NAN; ivec3 aShape; ivec3 bShape; @@ -30,18 +30,18 @@ layout (binding = 3) uniform Uniforms_1 { } x_48; int dimInner_1 = 0; int dimBOuter_1 = 0; -layout (binding = 0) buffer ssbOut_1 { +layout(binding = 0) buffer ssbOut_1 { float result[]; } x_54; uvec3 tint_symbol = uvec3(0u, 0u, 0u); uvec3 tint_symbol_1 = uvec3(0u, 0u, 0u); shared float mm_Asub[64][64]; shared float mm_Bsub[64][1]; -layout (binding = 1) buffer ssbA_1 { +layout(binding = 1) buffer ssbA_1 { float A[]; } x_165; int batch = 0; -layout (binding = 2) buffer ssbB_1 { +layout(binding = 2) buffer ssbB_1 { float B[]; } x_185; diff --git a/test/bug/tint/948.wgsl.expected.glsl b/test/bug/tint/948.wgsl.expected.glsl index 2f57e3b712..b619e1cdfe 100644 --- a/test/bug/tint/948.wgsl.expected.glsl +++ b/test/bug/tint/948.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct LeftOver { vec3 colorMul; }; -layout (binding = 9) uniform LeftOver_1 { +layout(binding = 9) uniform LeftOver_1 { float time; uint padding; mat4 worldViewProjection; diff --git a/test/bug/tint/949.wgsl.expected.glsl b/test/bug/tint/949.wgsl.expected.glsl index 86ebc8554e..50e1728afe 100644 --- a/test/bug/tint/949.wgsl.expected.glsl +++ b/test/bug/tint/949.wgsl.expected.glsl @@ -31,7 +31,7 @@ struct Light0 { float u_Float = 0.0f; vec3 u_Color = vec3(0.0f, 0.0f, 0.0f); vec2 vMainuv = vec2(0.0f, 0.0f); -layout (binding = 6) uniform LeftOver_1 { +layout(binding = 6) uniform LeftOver_1 { mat4 u_World; mat4 u_ViewProjection; float u_bumpStrength; @@ -46,7 +46,7 @@ vec4 v_output1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); bool tint_symbol = false; vec2 v_uv = vec2(0.0f, 0.0f); vec4 v_output2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 5) uniform Light0_1 { +layout(binding = 5) uniform Light0_1 { vec4 vLightData; vec4 vLightDiffuse; vec4 vLightSpecular; diff --git a/test/bug/tint/951.spvasm.expected.glsl b/test/bug/tint/951.spvasm.expected.glsl index 0937bf45f6..96a555d936 100644 --- a/test/bug/tint/951.spvasm.expected.glsl +++ b/test/bug/tint/951.spvasm.expected.glsl @@ -17,14 +17,14 @@ struct Uniforms { int size; }; -layout (binding = 0) buffer ssbOut_1 { +layout(binding = 0) buffer ssbOut_1 { float result[]; } x_16; -layout (binding = 1) buffer ssbA_1 { +layout(binding = 1) buffer ssbA_1 { float A[]; } x_20; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 2) uniform Uniforms_1 { +layout(binding = 2) uniform Uniforms_1 { float NAN; int aShape; int outShape; diff --git a/test/bug/tint/959.wgsl.expected.glsl b/test/bug/tint/959.wgsl.expected.glsl index df69308f17..addc2c25d8 100644 --- a/test/bug/tint/959.wgsl.expected.glsl +++ b/test/bug/tint/959.wgsl.expected.glsl @@ -5,52 +5,52 @@ struct S { float a; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { float a; } b0; -layout (binding = 0) buffer S_2 { +layout(binding = 0) buffer S_2 { float a; } b1; -layout (binding = 0) buffer S_3 { +layout(binding = 0) buffer S_3 { float a; } b2; -layout (binding = 0) buffer S_4 { +layout(binding = 0) buffer S_4 { float a; } b3; -layout (binding = 0) buffer S_5 { +layout(binding = 0) buffer S_5 { float a; } b4; -layout (binding = 0) buffer S_6 { +layout(binding = 0) buffer S_6 { float a; } b5; -layout (binding = 0) buffer S_7 { +layout(binding = 0) buffer S_7 { float a; } b6; -layout (binding = 0) buffer S_8 { +layout(binding = 0) buffer S_8 { float a; } b7; -layout (binding = 1) uniform S_9 { +layout(binding = 1) uniform S_9 { float a; } b8; -layout (binding = 1) uniform S_10 { +layout(binding = 1) uniform S_10 { float a; } b9; -layout (binding = 1) uniform S_11 { +layout(binding = 1) uniform S_11 { float a; } b10; -layout (binding = 1) uniform S_12 { +layout(binding = 1) uniform S_12 { float a; } b11; -layout (binding = 1) uniform S_13 { +layout(binding = 1) uniform S_13 { float a; } b12; -layout (binding = 1) uniform S_14 { +layout(binding = 1) uniform S_14 { float a; } b13; -layout (binding = 1) uniform S_15 { +layout(binding = 1) uniform S_15 { float a; } b14; -layout (binding = 1) uniform S_16 { +layout(binding = 1) uniform S_16 { float a; } b15; diff --git a/test/bug/tint/977.spvasm.expected.glsl b/test/bug/tint/977.spvasm.expected.glsl index 364ed9037a..1b19349964 100644 --- a/test/bug/tint/977.spvasm.expected.glsl +++ b/test/bug/tint/977.spvasm.expected.glsl @@ -19,7 +19,7 @@ struct Uniforms { }; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 2) buffer ResultMatrix_1 { +layout(binding = 2) buffer ResultMatrix_1 { float numbers[]; } resultMatrix; diff --git a/test/bug/tint/980.wgsl.expected.glsl b/test/bug/tint/980.wgsl.expected.glsl index 0a23dd297d..f21bafb4f4 100644 --- a/test/bug/tint/980.wgsl.expected.glsl +++ b/test/bug/tint/980.wgsl.expected.glsl @@ -12,7 +12,7 @@ struct S { uint i; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { vec3 v; uint i; } io; diff --git a/test/bug/tint/993.wgsl.expected.glsl b/test/bug/tint/993.wgsl.expected.glsl index bd72c86fbb..3c7ba429e6 100644 --- a/test/bug/tint/993.wgsl.expected.glsl +++ b/test/bug/tint/993.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct Constants { uint zero; }; -layout (binding = 0) uniform Constants_1 { +layout(binding = 0) uniform Constants_1 { uint zero; } constants; @@ -13,7 +13,7 @@ struct Result { uint value; }; -layout (binding = 1) buffer Result_1 { +layout(binding = 1) buffer Result_1 { uint value; } result; @@ -21,7 +21,7 @@ struct TestData { int data[3]; }; -layout (binding = 0) buffer TestData_1 { +layout(binding = 0) buffer TestData_1 { int data[3]; } s; diff --git a/test/bug/tint/998.wgsl.expected.glsl b/test/bug/tint/998.wgsl.expected.glsl index ff8352afff..1717c914b7 100644 --- a/test/bug/tint/998.wgsl.expected.glsl +++ b/test/bug/tint/998.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct Constants { uint zero; }; -layout (binding = 0) uniform Constants_1 { +layout(binding = 0) uniform Constants_1 { uint zero; } constants; diff --git a/test/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.glsl b/test/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.glsl index e649373819..e494482d40 100644 --- a/test/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.glsl +++ b/test/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct S { vec3 vector; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { mat3x2 matrix; vec3 vector; } data; diff --git a/test/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.glsl b/test/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.glsl index 33ba823b3d..b1959cbe8b 100644 --- a/test/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.glsl +++ b/test/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct S { vec3 vector; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { mat3 matrix; vec3 vector; } data; diff --git a/test/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.glsl b/test/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.glsl index 7b6342be44..3603b2ebfe 100644 --- a/test/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.glsl +++ b/test/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct S { vec3 vector; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { mat3 matrix; vec3 vector; } data; diff --git a/test/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.glsl b/test/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.glsl index 645908fff7..2805876570 100644 --- a/test/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.glsl +++ b/test/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.glsl @@ -6,7 +6,7 @@ struct S { vec3 vector; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { mat4x3 matrix; vec3 vector; } data; diff --git a/test/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.glsl b/test/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.glsl index 1197f463cf..42a3628c4d 100644 --- a/test/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.glsl +++ b/test/expressions/swizzle/read/packed_vec3/f32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { vec3 v; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { vec3 v; } U; diff --git a/test/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.glsl b/test/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.glsl index e43295527f..ceac2a99e2 100644 --- a/test/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.glsl +++ b/test/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { ivec3 v; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { ivec3 v; } U; diff --git a/test/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.glsl b/test/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.glsl index 68e72afc7b..843a272b2b 100644 --- a/test/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.glsl +++ b/test/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { uvec3 v; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { uvec3 v; } U; diff --git a/test/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.glsl b/test/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.glsl index 1e33fd53b0..7b0238ace9 100644 --- a/test/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.glsl +++ b/test/expressions/swizzle/write/packed_vec3/f32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { vec3 v; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { vec3 v; } U; diff --git a/test/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.glsl b/test/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.glsl index 11c7c30afb..6a11c234f1 100644 --- a/test/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.glsl +++ b/test/expressions/swizzle/write/packed_vec3/i32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { ivec3 v; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { ivec3 v; } U; diff --git a/test/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.glsl b/test/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.glsl index 4745c3c01c..7cbf1022f3 100644 --- a/test/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.glsl +++ b/test/expressions/swizzle/write/packed_vec3/u32.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct S { uvec3 v; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uvec3 v; } U; diff --git a/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.glsl b/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.glsl index f910844ebe..17681808b2 100644 --- a/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a[]; } G; diff --git a/test/intrinsics/arrayLength/complex_via_let_no_struct.wgsl.expected.glsl b/test/intrinsics/arrayLength/complex_via_let_no_struct.wgsl.expected.glsl index 857791e663..068c081ea7 100644 --- a/test/intrinsics/arrayLength/complex_via_let_no_struct.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/complex_via_let_no_struct.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer G_block_1 { +layout(binding = 0) buffer G_block_1 { int inner[]; } G; diff --git a/test/intrinsics/arrayLength/deprecated.wgsl.expected.glsl b/test/intrinsics/arrayLength/deprecated.wgsl.expected.glsl index b4a6064b12..fa2390439d 100644 --- a/test/intrinsics/arrayLength/deprecated.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/deprecated.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a[]; } G; diff --git a/test/intrinsics/arrayLength/simple.wgsl.expected.glsl b/test/intrinsics/arrayLength/simple.wgsl.expected.glsl index f910844ebe..17681808b2 100644 --- a/test/intrinsics/arrayLength/simple.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/simple.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a[]; } G; diff --git a/test/intrinsics/arrayLength/simple_no_struct.wgsl.expected.glsl b/test/intrinsics/arrayLength/simple_no_struct.wgsl.expected.glsl index 857791e663..068c081ea7 100644 --- a/test/intrinsics/arrayLength/simple_no_struct.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/simple_no_struct.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer G_block_1 { +layout(binding = 0) buffer G_block_1 { int inner[]; } G; diff --git a/test/intrinsics/arrayLength/via_let.wgsl.expected.glsl b/test/intrinsics/arrayLength/via_let.wgsl.expected.glsl index f910844ebe..17681808b2 100644 --- a/test/intrinsics/arrayLength/via_let.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/via_let.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a[]; } G; diff --git a/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.glsl b/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.glsl index f910844ebe..17681808b2 100644 --- a/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a[]; } G; diff --git a/test/intrinsics/arrayLength/via_let_complex_no_struct.wgsl.expected.glsl b/test/intrinsics/arrayLength/via_let_complex_no_struct.wgsl.expected.glsl index 857791e663..068c081ea7 100644 --- a/test/intrinsics/arrayLength/via_let_complex_no_struct.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/via_let_complex_no_struct.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer G_block_1 { +layout(binding = 0) buffer G_block_1 { int inner[]; } G; diff --git a/test/intrinsics/arrayLength/via_let_no_struct.wgsl.expected.glsl b/test/intrinsics/arrayLength/via_let_no_struct.wgsl.expected.glsl index 857791e663..068c081ea7 100644 --- a/test/intrinsics/arrayLength/via_let_no_struct.wgsl.expected.glsl +++ b/test/intrinsics/arrayLength/via_let_no_struct.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer G_block_1 { +layout(binding = 0) buffer G_block_1 { int inner[]; } G; diff --git a/test/intrinsics/gen/arrayLength/1588cd.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/1588cd.wgsl.expected.glsl index 6e00a686d1..fbf6310fe3 100644 --- a/test/intrinsics/gen/arrayLength/1588cd.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/1588cd.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { int arg_0[]; } sb_ro; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { int arg_0[]; } sb_ro; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { int arg_0[]; } sb_ro; diff --git a/test/intrinsics/gen/arrayLength/61b1c7.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/61b1c7.wgsl.expected.glsl index 35a6d6e7b6..ebc03c757c 100644 --- a/test/intrinsics/gen/arrayLength/61b1c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/61b1c7.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0[]; } sb_rw; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0[]; } sb_rw; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0[]; } sb_rw; diff --git a/test/intrinsics/gen/arrayLength/a0f5ca.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/a0f5ca.wgsl.expected.glsl index c3989586ca..67f3a4c04d 100644 --- a/test/intrinsics/gen/arrayLength/a0f5ca.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/a0f5ca.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { float arg_0[]; } sb_ro; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { float arg_0[]; } sb_ro; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { float arg_0[]; } sb_ro; diff --git a/test/intrinsics/gen/arrayLength/cdd123.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/cdd123.wgsl.expected.glsl index fc6d390818..9167aa46cf 100644 --- a/test/intrinsics/gen/arrayLength/cdd123.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/cdd123.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { float arg_0[]; } sb_rw; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { float arg_0[]; } sb_rw; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { float arg_0[]; } sb_rw; diff --git a/test/intrinsics/gen/arrayLength/cfca0a.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/cfca0a.wgsl.expected.glsl index 6a17122377..26bf95962e 100644 --- a/test/intrinsics/gen/arrayLength/cfca0a.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/cfca0a.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { uint arg_0[]; } sb_ro; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { uint arg_0[]; } sb_ro; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 1) buffer SB_RO_1 { +layout(binding = 1) buffer SB_RO_1 { uint arg_0[]; } sb_ro; diff --git a/test/intrinsics/gen/arrayLength/eb510f.wgsl.expected.glsl b/test/intrinsics/gen/arrayLength/eb510f.wgsl.expected.glsl index b84191fa13..d0df122e4b 100644 --- a/test/intrinsics/gen/arrayLength/eb510f.wgsl.expected.glsl +++ b/test/intrinsics/gen/arrayLength/eb510f.wgsl.expected.glsl @@ -4,7 +4,7 @@ SKIP: FAILED precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0[]; } sb_rw; @@ -49,7 +49,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0[]; } sb_rw; @@ -84,7 +84,7 @@ ERROR: 2 compilation errors. No code generated. precision mediump float; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0[]; } sb_rw; diff --git a/test/intrinsics/gen/atomicAdd/8a199a.wgsl.expected.glsl b/test/intrinsics/gen/atomicAdd/8a199a.wgsl.expected.glsl index 3e36b2d7b6..a25340d5a8 100644 --- a/test/intrinsics/gen/atomicAdd/8a199a.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicAdd/8a199a.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicAdd/d32fe4.wgsl.expected.glsl b/test/intrinsics/gen/atomicAdd/d32fe4.wgsl.expected.glsl index d9c5a35fef..17d866bd24 100644 --- a/test/intrinsics/gen/atomicAdd/d32fe4.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicAdd/d32fe4.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicAnd/152966.wgsl.expected.glsl b/test/intrinsics/gen/atomicAnd/152966.wgsl.expected.glsl index 9e528ead2c..1bcff311a8 100644 --- a/test/intrinsics/gen/atomicAnd/152966.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicAnd/152966.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicAnd/85a8d9.wgsl.expected.glsl b/test/intrinsics/gen/atomicAnd/85a8d9.wgsl.expected.glsl index d76169eb17..7a483e0fc0 100644 --- a/test/intrinsics/gen/atomicAnd/85a8d9.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicAnd/85a8d9.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicCompareExchangeWeak/12871c.wgsl.expected.glsl b/test/intrinsics/gen/atomicCompareExchangeWeak/12871c.wgsl.expected.glsl index 32a2f50f02..00386ca542 100644 --- a/test/intrinsics/gen/atomicCompareExchangeWeak/12871c.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicCompareExchangeWeak/12871c.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -45,7 +45,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicCompareExchangeWeak/6673da.wgsl.expected.glsl b/test/intrinsics/gen/atomicCompareExchangeWeak/6673da.wgsl.expected.glsl index 2820d4cdbd..7b5dda55d1 100644 --- a/test/intrinsics/gen/atomicCompareExchangeWeak/6673da.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicCompareExchangeWeak/6673da.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -45,7 +45,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicExchange/d59712.wgsl.expected.glsl b/test/intrinsics/gen/atomicExchange/d59712.wgsl.expected.glsl index 74dc87d734..93c7eb6fcc 100644 --- a/test/intrinsics/gen/atomicExchange/d59712.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicExchange/d59712.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicExchange/f2e22f.wgsl.expected.glsl b/test/intrinsics/gen/atomicExchange/f2e22f.wgsl.expected.glsl index de3f37113d..1491b523ea 100644 --- a/test/intrinsics/gen/atomicExchange/f2e22f.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicExchange/f2e22f.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicLoad/0806ad.wgsl.expected.glsl b/test/intrinsics/gen/atomicLoad/0806ad.wgsl.expected.glsl index 3581163b9d..649a8e56f1 100644 --- a/test/intrinsics/gen/atomicLoad/0806ad.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicLoad/0806ad.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicLoad/fe6cc3.wgsl.expected.glsl b/test/intrinsics/gen/atomicLoad/fe6cc3.wgsl.expected.glsl index c1d0eaadfc..71fe30f61a 100644 --- a/test/intrinsics/gen/atomicLoad/fe6cc3.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicLoad/fe6cc3.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicMax/51b9be.wgsl.expected.glsl b/test/intrinsics/gen/atomicMax/51b9be.wgsl.expected.glsl index 95bb7835ec..e638604cb3 100644 --- a/test/intrinsics/gen/atomicMax/51b9be.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicMax/51b9be.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicMax/92aa72.wgsl.expected.glsl b/test/intrinsics/gen/atomicMax/92aa72.wgsl.expected.glsl index 02868b301e..f51238d2e4 100644 --- a/test/intrinsics/gen/atomicMax/92aa72.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicMax/92aa72.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicMin/8e38dc.wgsl.expected.glsl b/test/intrinsics/gen/atomicMin/8e38dc.wgsl.expected.glsl index ac4746e8c2..edfeb6ec7f 100644 --- a/test/intrinsics/gen/atomicMin/8e38dc.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicMin/8e38dc.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicMin/c67a74.wgsl.expected.glsl b/test/intrinsics/gen/atomicMin/c67a74.wgsl.expected.glsl index 7270770eb1..247ed1eb3c 100644 --- a/test/intrinsics/gen/atomicMin/c67a74.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicMin/c67a74.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicOr/5e95d4.wgsl.expected.glsl b/test/intrinsics/gen/atomicOr/5e95d4.wgsl.expected.glsl index 9d21c00e06..905360cf58 100644 --- a/test/intrinsics/gen/atomicOr/5e95d4.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicOr/5e95d4.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicOr/8d96a0.wgsl.expected.glsl b/test/intrinsics/gen/atomicOr/8d96a0.wgsl.expected.glsl index ad98ddfe31..5da969c7e3 100644 --- a/test/intrinsics/gen/atomicOr/8d96a0.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicOr/8d96a0.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicStore/cdc29e.wgsl.expected.glsl b/test/intrinsics/gen/atomicStore/cdc29e.wgsl.expected.glsl index 93af41a95d..7c317219f1 100644 --- a/test/intrinsics/gen/atomicStore/cdc29e.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicStore/cdc29e.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicStore/d1e9a6.wgsl.expected.glsl b/test/intrinsics/gen/atomicStore/d1e9a6.wgsl.expected.glsl index c47fb067e7..c2ab929a5e 100644 --- a/test/intrinsics/gen/atomicStore/d1e9a6.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicStore/d1e9a6.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicSub/051100.wgsl.expected.glsl b/test/intrinsics/gen/atomicSub/051100.wgsl.expected.glsl index 7814d3325a..3294fbd8a5 100644 --- a/test/intrinsics/gen/atomicSub/051100.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicSub/051100.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicSub/15bfc9.wgsl.expected.glsl b/test/intrinsics/gen/atomicSub/15bfc9.wgsl.expected.glsl index 649250fa58..537de8739f 100644 --- a/test/intrinsics/gen/atomicSub/15bfc9.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicSub/15bfc9.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicXor/54510e.wgsl.expected.glsl b/test/intrinsics/gen/atomicXor/54510e.wgsl.expected.glsl index ffa97fb944..e32e6b0034 100644 --- a/test/intrinsics/gen/atomicXor/54510e.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicXor/54510e.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { uint arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { uint arg_0; } sb_rw; diff --git a/test/intrinsics/gen/atomicXor/c1b78c.wgsl.expected.glsl b/test/intrinsics/gen/atomicXor/c1b78c.wgsl.expected.glsl index 2b727f8de5..ce68be512d 100644 --- a/test/intrinsics/gen/atomicXor/c1b78c.wgsl.expected.glsl +++ b/test/intrinsics/gen/atomicXor/c1b78c.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; @@ -29,7 +29,7 @@ struct SB_RW { int arg_0; }; -layout (binding = 0) buffer SB_RW_1 { +layout(binding = 0) buffer SB_RW_1 { int arg_0; } sb_rw; diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl b/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl index 0d0e581e87..79a70ea372 100644 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl +++ b/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl @@ -6,7 +6,7 @@ intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int arr[]; } s; diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl b/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl index 3ad8ba86a9..1f86391e95 100644 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl +++ b/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct S { int i; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int i; } s; diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl index fdd2c8107f..0470473936 100644 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl +++ b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl @@ -13,7 +13,7 @@ struct S { int i; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { int i; } u; diff --git a/test/layout/storage/mat2x2/f32.wgsl.expected.glsl b/test/layout/storage/mat2x2/f32.wgsl.expected.glsl index fde4f57f89..852cff9319 100644 --- a/test/layout/storage/mat2x2/f32.wgsl.expected.glsl +++ b/test/layout/storage/mat2x2/f32.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct SSBO { mat2 m; }; -layout (binding = 0) buffer SSBO_1 { +layout(binding = 0) buffer SSBO_1 { mat2 m; } ssbo; diff --git a/test/layout/storage/mat2x2/stride/16.spvasm.expected.glsl b/test/layout/storage/mat2x2/stride/16.spvasm.expected.glsl index e30bf579a8..2c56258571 100644 --- a/test/layout/storage/mat2x2/stride/16.spvasm.expected.glsl +++ b/test/layout/storage/mat2x2/stride/16.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct SSBO { tint_padded_array_element m[2]; }; -layout (binding = 0) buffer SSBO_1 { +layout(binding = 0) buffer SSBO_1 { tint_padded_array_element m[2]; } ssbo; diff --git a/test/ptr_ref/load/local/ptr_storage.wgsl.expected.glsl b/test/ptr_ref/load/local/ptr_storage.wgsl.expected.glsl index b295029bef..dc2e8ca462 100644 --- a/test/ptr_ref/load/local/ptr_storage.wgsl.expected.glsl +++ b/test/ptr_ref/load/local/ptr_storage.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct S { int a; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int a; } v; diff --git a/test/ptr_ref/load/local/ptr_uniform.wgsl.expected.glsl b/test/ptr_ref/load/local/ptr_uniform.wgsl.expected.glsl index 503e6d6719..7b5f1a5978 100644 --- a/test/ptr_ref/load/local/ptr_uniform.wgsl.expected.glsl +++ b/test/ptr_ref/load/local/ptr_uniform.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct S { int a; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { int a; } v; diff --git a/test/samples/compute_boids.wgsl.expected.glsl b/test/samples/compute_boids.wgsl.expected.glsl index 9ead2674b8..790512a96e 100644 --- a/test/samples/compute_boids.wgsl.expected.glsl +++ b/test/samples/compute_boids.wgsl.expected.glsl @@ -144,7 +144,7 @@ struct Particles { Particle particles[5]; }; -layout (binding = 0) uniform SimParams_1 { +layout(binding = 0) uniform SimParams_1 { float deltaT; float rule1Distance; float rule2Distance; @@ -153,10 +153,10 @@ layout (binding = 0) uniform SimParams_1 { float rule2Scale; float rule3Scale; } params; -layout (binding = 1) buffer Particles_1 { +layout(binding = 1) buffer Particles_1 { Particle particles[5]; } particlesA; -layout (binding = 2) buffer Particles_2 { +layout(binding = 2) buffer Particles_2 { Particle particles[5]; } particlesB; diff --git a/test/samples/cube.wgsl.expected.glsl b/test/samples/cube.wgsl.expected.glsl index 7a37128ddc..444cd234b8 100644 --- a/test/samples/cube.wgsl.expected.glsl +++ b/test/samples/cube.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct Uniforms { mat4 modelViewProjectionMatrix; }; -layout (binding = 0) uniform Uniforms_1 { +layout(binding = 0) uniform Uniforms_1 { mat4 modelViewProjectionMatrix; } uniforms; diff --git a/test/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl b/test/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl index bf83ef359c..06aedda60f 100644 --- a/test/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl +++ b/test/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl @@ -9,7 +9,7 @@ struct S { vec4 v; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { float f; uint u; vec4 v; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.glsl index 1330799ec8..699277670c 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_body.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.glsl index 03636d99ba..c44c2ac388 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_continuing.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.glsl index 04a0242e9c..f7baafeafc 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/in_for_loop_init.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.glsl index 55b7181826..b1f3cbb65f 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.glsl @@ -22,7 +22,7 @@ uint getNextIndex() { return nextIndex; } -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.glsl index 036071d3cc..996e147d23 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.glsl index 20af699a43..5d6ab47cb8 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_array.wgsl.expected.glsl @@ -12,7 +12,7 @@ struct OuterS { InnerS a1[8][8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.glsl index 2ccabf17ae..5658ddc01f 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct OuterS { S1 a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.glsl index 7f251bada9..0fa9785eb2 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct OuterS { S1 a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.glsl index 53f2a53bff..67fe10ca51 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.glsl @@ -8,10 +8,10 @@ struct InnerS { int v; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; -layout (binding = 0) buffer OuterS_1 { +layout(binding = 0) buffer OuterS_1 { InnerS a1[]; } s1; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.glsl index 168dea8d48..97a4c656fd 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.glsl @@ -12,11 +12,11 @@ struct S1 { InnerS a2[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; uint j; } uniforms; -layout (binding = 0) buffer OuterS_1 { +layout(binding = 0) buffer OuterS_1 { S1 a1[]; } s; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.glsl index 3ef9b85e1b..1313d626ea 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_matrix.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct OuterS { mat2x4 m1; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.glsl index 5ef4981845..875997689a 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_multiple_arrays.wgsl.expected.glsl @@ -12,7 +12,7 @@ struct OuterS { InnerS a2[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.glsl index 5ad2298467..e29c830c3a 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_struct_array.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct OuterS { S1 s2; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.glsl index 14194ecc6e..6b944b0913 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/struct_vector.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct OuterS { vec3 v1; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.glsl index d15873c0aa..46da3d60ae 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct OuterS { uint a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.glsl index c4429e9df7..9a01505507 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.glsl b/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.glsl index 8377320657..093159ea8a 100644 --- a/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.glsl +++ b/test/statements/assign/indexed_assign_to_array_in_struct/via_pointer_arg.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct OuterS { InnerS a1[8]; }; -layout (binding = 4) uniform Uniforms_1 { +layout(binding = 4) uniform Uniforms_1 { uint i; } uniforms; diff --git a/test/statements/assign/phony/addr_of_non_constructable.wgsl.expected.glsl b/test/statements/assign/phony/addr_of_non_constructable.wgsl.expected.glsl index 638e6fc5c1..08f6bb5be9 100644 --- a/test/statements/assign/phony/addr_of_non_constructable.wgsl.expected.glsl +++ b/test/statements/assign/phony/addr_of_non_constructable.wgsl.expected.glsl @@ -2,7 +2,7 @@ precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int arr[]; } s; diff --git a/test/statements/assign/phony/addr_of_runtime_array.wgsl.expected.glsl b/test/statements/assign/phony/addr_of_runtime_array.wgsl.expected.glsl index 638e6fc5c1..08f6bb5be9 100644 --- a/test/statements/assign/phony/addr_of_runtime_array.wgsl.expected.glsl +++ b/test/statements/assign/phony/addr_of_runtime_array.wgsl.expected.glsl @@ -2,7 +2,7 @@ precision mediump float; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int arr[]; } s; diff --git a/test/statements/assign/phony/storage_buffer.wgsl.expected.glsl b/test/statements/assign/phony/storage_buffer.wgsl.expected.glsl index 02095de83a..2dd86379d1 100644 --- a/test/statements/assign/phony/storage_buffer.wgsl.expected.glsl +++ b/test/statements/assign/phony/storage_buffer.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct S { int i; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int i; } s; diff --git a/test/statements/assign/phony/uniform_buffer.wgsl.expected.glsl b/test/statements/assign/phony/uniform_buffer.wgsl.expected.glsl index 1ade86df5f..838f917e2f 100644 --- a/test/statements/assign/phony/uniform_buffer.wgsl.expected.glsl +++ b/test/statements/assign/phony/uniform_buffer.wgsl.expected.glsl @@ -5,7 +5,7 @@ struct S { int i; }; -layout (binding = 0) uniform S_1 { +layout(binding = 0) uniform S_1 { int i; } u; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.glsl index b94f5aac50..138588b57f 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { uint rtarr[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint first; uint rtarr[]; } myvar; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.glsl index b94f5aac50..138588b57f 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { uint rtarr[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint first; uint rtarr[]; } myvar; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.glsl index 22449c5012..7ab38e00b2 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { float age[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { float field0; float age[]; } myvar; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.glsl index af6e73c29b..142d3412f4 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { uint field1[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0; uint field1[]; } myvar; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.glsl index e3420f7b5f..9805c90c30 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { uint field1[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0; uint field1[]; } myvar; diff --git a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.glsl b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.glsl index e3420f7b5f..9805c90c30 100644 --- a/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.glsl +++ b/test/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct S { uint field1[]; }; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0; uint field1[]; } myvar; diff --git a/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.spvasm.expected.glsl index 0b741de7ad..e9b11aa804 100644 --- a/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.spvasm.expected.glsl @@ -12,11 +12,11 @@ struct buf1 { }; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { int global_seed; int data[]; } x_7; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.wgsl.expected.glsl index 5c23beb0ec..64cd1b0aee 100644 --- a/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/0-opt.wgsl.expected.glsl @@ -16,11 +16,11 @@ struct buf1 { }; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { int global_seed; int data[]; } x_7; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.glsl index 1605c6e4b9..5f47c2e412 100644 --- a/test/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_25; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.glsl index 735eacb706..4f456a195a 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.glsl @@ -24,10 +24,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[1]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[1]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.spvasm.expected.glsl index eab9dfd06e..d2367173ee 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.spvasm.expected.glsl @@ -18,7 +18,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.wgsl.expected.glsl index 5d3dffbb8c..1dd827910b 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-module-small-number/0-opt.wgsl.expected.glsl @@ -29,7 +29,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.glsl index bc06be4507..f96b1ee330 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.glsl @@ -17,7 +17,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.glsl index 22ee75e64a..f1e2c9615e 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.glsl @@ -21,7 +21,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.glsl index dd92a4a544..390a73f301 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.glsl @@ -17,10 +17,10 @@ struct buf1 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_8; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.glsl index 24777225d1..d319728885 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.glsl @@ -25,10 +25,10 @@ struct buf1 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_8; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.glsl index 2cc843f881..85ff02e2fc 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.glsl index 9c7a237592..fead835fd1 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.glsl index 67a16e80d7..a623f5547e 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.glsl @@ -33,17 +33,17 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[3]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_12; -layout (binding = 3) uniform buf3_1 { +layout(binding = 3) uniform buf3_1 { int three; } x_14; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_2 x_GLF_uniform_uint_values[1]; } x_16; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.glsl index fadacdd9e8..0d4da519c9 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.glsl @@ -45,17 +45,17 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[3]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_12; -layout (binding = 3) uniform buf3_1 { +layout(binding = 3) uniform buf3_1 { int three; } x_14; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_2 x_GLF_uniform_uint_values[1]; } x_16; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.glsl index 4634aff4b6..d3bc8bed09 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_5; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.glsl index 1406cee22c..6ba4f24b1c 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.glsl index 4a0c00a09d..7bb7851923 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.glsl index c3ee65acc8..b8a9e31f9f 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.glsl @@ -20,13 +20,13 @@ struct buf2 { }; int x_GLF_global_loop_count = 0; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_7; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_10; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { vec2 injectionSwitch; } x_12; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.glsl index 1a820256c2..37216d1f1e 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.glsl @@ -28,13 +28,13 @@ struct buf2 { }; int x_GLF_global_loop_count = 0; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_7; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_10; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { vec2 injectionSwitch; } x_12; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-fold-shift-gte32/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-fold-shift-gte32/0.spvasm.expected.glsl index 38c14a428e..8d054187ba 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-fold-shift-gte32/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-fold-shift-gte32/0.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { uint one; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { uint one; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.glsl index 369310e6d0..961fcfb3d8 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { float one; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { float one; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.glsl index 9144fcdd41..6a250ee793 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { float four; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { float four; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.glsl index 2910942bac..fa0eab9297 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { float one; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { float one; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.glsl index 9f440ea331..4c8a214490 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.glsl index 9f440ea331..4c8a214490 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.glsl index 510663e6ff..a7344c5fef 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 threeandfour; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 threeandfour; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.glsl index 510663e6ff..a7344c5fef 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 threeandfour; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 threeandfour; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.glsl index f0f1cf1a40..87aa1ed1dd 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.glsl @@ -17,11 +17,11 @@ struct buf1 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.glsl index 2bb14f4691..0946941738 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.glsl @@ -25,11 +25,11 @@ struct buf1 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.glsl index ab9adac4e0..bfff2e3285 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_float_values[1]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.glsl index 75f393f688..5f3f1a2a61 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_float_values[1]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.glsl index 36cf34820f..723fe04c1a 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.glsl @@ -11,7 +11,7 @@ struct buf0 { }; int x_GLF_global_loop_count = 0; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_7; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.glsl index 2deb26f5a5..f86ebbe339 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[5]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[5]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.glsl index 44654ec7a0..448c70aae0 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.glsl @@ -28,10 +28,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.glsl index 4fc9b78ba7..8e61de0999 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.glsl @@ -36,10 +36,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.spvasm.expected.glsl index e5465c40b3..2b5249fdae 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.spvasm.expected.glsl @@ -17,11 +17,11 @@ struct buf1 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_8; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.wgsl.expected.glsl index f0ee59e43e..acd0fcc7cf 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-mul-div-rem-if-undefined-divide-mix/0-opt.wgsl.expected.glsl @@ -25,11 +25,11 @@ struct buf1 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_8; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.glsl index 3906e28c66..42429fe138 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.glsl @@ -28,10 +28,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[7]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.glsl index d68afc122a..a80bee34c7 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.glsl @@ -36,10 +36,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[7]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.glsl index 80e791748c..0e38b18e49 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.glsl index 1c7c936112..9f54f3b605 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.glsl @@ -24,10 +24,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[3]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.glsl index 9798a36467..cb8131bb4e 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.glsl @@ -28,10 +28,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[3]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_8; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[3]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.glsl index a2e6745eba..a5e024b0dd 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.glsl @@ -36,10 +36,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[3]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_8; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[3]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.glsl index 2e9cbc657d..b5da1b7da7 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.glsl @@ -28,10 +28,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[4]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.glsl index 656591a630..0dca1d589c 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.glsl @@ -36,10 +36,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[4]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.glsl index c617aca308..f444b77c8c 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_float_values[2]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.glsl index 74c411b488..0f31772963 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.glsl @@ -14,7 +14,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_float_values[2]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.glsl index db649115d2..958bf9111f 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.glsl @@ -25,10 +25,10 @@ struct buf1 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_5; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.glsl index 27129eb9c5..9376c83687 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.glsl @@ -25,10 +25,10 @@ struct buf1 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_5; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[2]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.glsl index aa0726aed2..c27b4d1ad9 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[6]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[6]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.glsl index 57f296ee10..fec84912e3 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.glsl index fa517eb10a..54385d6ec9 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.glsl @@ -24,10 +24,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.glsl index 48c53c7010..00a633d768 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_7; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.glsl index 0d7a2eb7ad..25e9b5dd3b 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[2]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[2]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.glsl index 5e51f3a421..b79327f486 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.glsl @@ -20,11 +20,11 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { uint one; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[1]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.glsl index 56629c29ec..97b3d890b0 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.glsl @@ -24,11 +24,11 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { uint one; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[1]; } x_10; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.glsl index b3de8a20c5..2eea2bf6f2 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.glsl @@ -15,7 +15,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[3]; } x_6; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.glsl index e00f89c56e..0c6fdceaa0 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.glsl @@ -20,14 +20,14 @@ struct buf1 { }; mat4x2 m = mat4x2(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { float one; } x_10; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[1]; } x_12; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_16; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.glsl index 58dfe069cd..d1b75ca1c2 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.glsl @@ -28,10 +28,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[4]; } x_8; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.glsl index 65c6d5517f..9594d1a3ca 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.glsl @@ -36,10 +36,10 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[4]; } x_8; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.glsl index ed4dc9c45d..ab1bb8ab02 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.glsl @@ -11,7 +11,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.glsl index c80dc4e5c1..930cc2b44b 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { int zero; } x_5; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.glsl index 393fe7d9d9..8b5d662f60 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { tint_padded_array_element x_GLF_uniform_int_values[4]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_5; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.glsl index a4f221a387..1cfffa8b63 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.glsl @@ -24,11 +24,11 @@ struct buf1 { tint_padded_array_element_1 x_GLF_uniform_int_values[1]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[1]; } x_8; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.glsl index 24ec5dff6f..8a03a1bcf4 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { float two; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.glsl index e794c8e907..3b423b82fe 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { float two; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.glsl index 30fff29d41..ac647207ad 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.glsl @@ -17,11 +17,11 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_7; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_9; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.glsl index ebe7dbbfc6..5796d7084f 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.glsl @@ -25,11 +25,11 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_7; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_9; diff --git a/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.glsl index 65bdceb278..875d5e0923 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.glsl @@ -29,13 +29,13 @@ struct buf2 { tint_padded_array_element_2 x_GLF_uniform_float_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_uint_values[1]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_8; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { tint_padded_array_element_2 x_GLF_uniform_float_values[3]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.glsl index 786f88619c..e9da9185e7 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.glsl @@ -41,13 +41,13 @@ struct buf2 { tint_padded_array_element_2 x_GLF_uniform_float_values[3]; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element x_GLF_uniform_uint_values[1]; } x_6; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[2]; } x_8; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { tint_padded_array_element_2 x_GLF_uniform_float_values[3]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.spvasm.expected.glsl index 3971f3f330..97444b3658 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[3]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.wgsl.expected.glsl index 5abddefce5..8ebaef2a2d 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-unused-access-past-matrix-elements/0-opt.wgsl.expected.glsl @@ -24,10 +24,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[3]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[4]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.glsl index 487eaea6ff..f6ab9a518d 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_float_values[1]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_int_values[4]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_float_values[1]; } x_10; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.spvasm.expected.glsl index 945dc4975c..ce810c8bf1 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.spvasm.expected.glsl @@ -16,10 +16,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.wgsl.expected.glsl index bf63f9ea2a..09fb7a94d4 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-write-past-matrix-elements-unused/0.wgsl.expected.glsl @@ -24,10 +24,10 @@ struct buf0 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { tint_padded_array_element x_GLF_uniform_float_values[2]; } x_6; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { tint_padded_array_element_1 x_GLF_uniform_int_values[3]; } x_8; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.glsl index 078c224bf8..f096729f31 100644 --- a/test/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.glsl index 47d78acf76..a368ca2704 100644 --- a/test/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_6; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.glsl index 41cca8ea43..00be6d8417 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.glsl @@ -12,7 +12,7 @@ struct buf1 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.glsl index 40315bb4c7..f4467f06a9 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.glsl @@ -12,7 +12,7 @@ struct buf1 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.glsl index ffda297205..9406cd2139 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.glsl @@ -12,7 +12,7 @@ struct buf1 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.glsl index fe16a6a1df..67b5afd8ab 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_8; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.glsl index fa22365366..d17ec3d286 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_8; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.glsl index b5e48e6a04..3f983377de 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.glsl index 49ee1dc3b2..c2247dfd8f 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.glsl index 2619164a56..d6a5651905 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.glsl index 42aee8b008..27dce67042 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.glsl index 66ac7cde9c..cb10bc6a19 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.glsl index 0ecdb4f3f3..527eab9a32 100644 --- a/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.glsl index 0bfdbfc86b..622a1cb746 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 resolution; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_13; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.glsl index db9c3c5113..da6a17e5f1 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.glsl @@ -10,12 +10,12 @@ struct buf1 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_13; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_20; diff --git a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.glsl index b64990fc0c..8909a82197 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.glsl @@ -10,11 +10,11 @@ struct buf1 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_13; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_19; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.glsl index cc9f2607e0..9c0f1e35f0 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 resolution; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_13; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.glsl index eb807cbf5b..bbf17e1bdf 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_34; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.glsl index 8788750eb4..994f694d25 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 injectionSwitch; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_8; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.glsl index 3e67fa4d2a..14f2ee7119 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.glsl @@ -9,7 +9,7 @@ struct buf0 { int data[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); int temp[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_28; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.glsl index 6b97d17d5d..13a0db3dc5 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_24; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.glsl index 6b97d17d5d..13a0db3dc5 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_24; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.glsl index 4d1a5a351d..dc9973c39d 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_24; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.glsl index 4d1a5a351d..dc9973c39d 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_24; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.glsl index e90392217f..cbbffdbe94 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 resolution; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_15; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.glsl index e90392217f..cbbffdbe94 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { vec2 resolution; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_15; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.glsl index 291d3a6055..4469a2d36b 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_24; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.glsl index 6e9922357e..cb8ad32965 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_17; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.glsl index 6e9922357e..cb8ad32965 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.glsl @@ -8,7 +8,7 @@ struct buf0 { }; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_17; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.glsl index 928b29de69..978d47d53a 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.glsl @@ -10,12 +10,12 @@ struct buf0 { vec2 resolution; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_19; diff --git a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.glsl index 928b29de69..978d47d53a 100644 --- a/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.glsl @@ -10,12 +10,12 @@ struct buf0 { vec2 resolution; }; -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_11; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 resolution; } x_19; diff --git a/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.spvasm.expected.glsl index 2a963e89a4..df1b46e8fb 100644 --- a/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.spvasm.expected.glsl @@ -11,10 +11,10 @@ struct doesNotMatter { }; vec4 GLF_live2gl_FragCoord = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf0_1 { +layout(binding = 1) uniform buf0_1 { vec2 injectionSwitch; } x_9; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { uint x_compute_data[]; } x_12; diff --git a/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.wgsl.expected.glsl index c32d5f9791..1460a721f4 100644 --- a/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/two-for-loops-with-barrier-function/0-opt.wgsl.expected.glsl @@ -15,10 +15,10 @@ struct doesNotMatter { }; vec4 GLF_live2gl_FragCoord = vec4(0.0f, 0.0f, 0.0f, 0.0f); -layout (binding = 1) uniform buf0_1 { +layout(binding = 1) uniform buf0_1 { vec2 injectionSwitch; } x_9; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { uint x_compute_data[]; } x_12; diff --git a/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.glsl index ea4016a509..42fd43ad01 100644 --- a/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct doesNotMatter { float x_compute_data[]; }; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { float x_compute_data[]; } x_9; diff --git a/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.glsl index 328549b602..dfa80b0ad2 100644 --- a/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.glsl @@ -11,7 +11,7 @@ struct doesNotMatter { float x_compute_data[]; }; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { float x_compute_data[]; } x_9; diff --git a/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.spvasm.expected.glsl index d81ec782f1..945df04c29 100644 --- a/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.spvasm.expected.glsl @@ -14,13 +14,13 @@ struct doesNotMatter { }; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_10; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { vec2 resolution; } x_13; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { int x_compute_data[]; } x_15; diff --git a/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.wgsl.expected.glsl index 8d3ebad61a..6ab2068e04 100644 --- a/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/unreachable-barrier-in-loops/0-opt.wgsl.expected.glsl @@ -18,13 +18,13 @@ struct doesNotMatter { }; uvec3 tint_symbol = uvec3(0u, 0u, 0u); -layout (binding = 1) uniform buf1_1 { +layout(binding = 1) uniform buf1_1 { vec2 injectionSwitch; } x_10; -layout (binding = 2) uniform buf2_1 { +layout(binding = 2) uniform buf2_1 { vec2 resolution; } x_13; -layout (binding = 0) buffer doesNotMatter_1 { +layout(binding = 0) buffer doesNotMatter_1 { int x_compute_data[]; } x_15; diff --git a/test/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.glsl index 5c12b8b4a9..1fd1e71959 100644 --- a/test/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.glsl @@ -7,7 +7,7 @@ struct buf0 { int injected; }; -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { int injected; } x_9; vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.glsl index 851ada1d53..52969dce24 100644 --- a/test/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.glsl @@ -17,7 +17,7 @@ struct Obj { }; BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0)); -layout (binding = 0) uniform buf0_1 { +layout(binding = 0) uniform buf0_1 { vec2 injectionSwitch; } x_27; vec4 tint_symbol = vec4(0.0f, 0.0f, 0.0f, 0.0f); diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.glsl index 647bb19179..02f715fe81 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.glsl @@ -10,10 +10,10 @@ struct Buf0 { uint values[]; }; -layout (binding = 1) buffer Buf1_1 { +layout(binding = 1) buffer Buf1_1 { int result; } x_4; -layout (binding = 0) buffer Buf0_1 { +layout(binding = 0) buffer Buf0_1 { uint values[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.glsl index 6c74722fa7..326651d7b4 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.glsl @@ -14,10 +14,10 @@ struct Buf0 { uint values[]; }; -layout (binding = 1) buffer Buf1_1 { +layout(binding = 1) buffer Buf1_1 { int result; } x_4; -layout (binding = 0) buffer Buf0_1 { +layout(binding = 0) buffer Buf0_1 { uint values[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.glsl index 4051a8974c..1c5a1d0f0a 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.glsl index 9a5cd5be77..adb3811cca 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.glsl index 00d95b5594..22826d7870 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.glsl index 2db91c2207..1286ac5b1c 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.glsl index 6549a16baf..92d374d759 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.glsl index bd05f99f95..27702e2787 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.glsl index b7820e5075..873316bba0 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.glsl index b26647ca88..3276da59a0 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.glsl index 9c107dfd7b..242678e55d 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.glsl @@ -8,16 +8,16 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { int field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { int field0[]; } x_8; -layout (binding = 3) buffer S_4 { +layout(binding = 3) buffer S_4 { int field0[]; } x_9; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.glsl index 0de377687a..1a3985b0c1 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.glsl @@ -12,16 +12,16 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { int field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { int field0[]; } x_8; -layout (binding = 3) buffer S_4 { +layout(binding = 3) buffer S_4 { int field0[]; } x_9; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.glsl index c2f72f49a2..dc137efeb6 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.glsl @@ -8,10 +8,10 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.glsl index 627ea87bc9..86c90af28e 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.glsl @@ -12,10 +12,10 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.glsl index 0d2cc7a78e..0f91576ce4 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.glsl @@ -8,16 +8,16 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; -layout (binding = 3) buffer S_4 { +layout(binding = 3) buffer S_4 { uint field0[]; } x_9; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.glsl index d7c78d4386..0bb536432a 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.glsl @@ -12,16 +12,16 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; -layout (binding = 3) buffer S_4 { +layout(binding = 3) buffer S_4 { uint field0[]; } x_9; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.glsl index 7c5c515f17..39e0b8a4e7 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.glsl index 1bffd3de06..c096bc4bdc 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.glsl index d0da7f20b4..3e239cb928 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.glsl index 506dc89d4c..0e5cbbdc90 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_3 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_6; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_7; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_8; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.glsl index 714c300023..363699a695 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.glsl @@ -8,13 +8,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.glsl index acf682cd7b..a3952069bf 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.glsl @@ -12,13 +12,13 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; -layout (binding = 2) buffer S_3 { +layout(binding = 2) buffer S_3 { uint field0[]; } x_7; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.glsl index b49fe8952e..58f47fc57a 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.glsl @@ -8,10 +8,10 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.glsl index b7a66dd781..46b371d272 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.glsl @@ -12,10 +12,10 @@ struct S { }; uvec3 x_2 = uvec3(0u, 0u, 0u); -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { uint field0[]; } x_5; -layout (binding = 1) buffer S_2 { +layout(binding = 1) buffer S_2 { uint field0[]; } x_6; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.glsl index fd2d665714..e7a03335e8 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct S { vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_5; 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 b57985acb4..ef745b9fa0 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 @@ -14,7 +14,7 @@ struct S { vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_5; diff --git a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.glsl b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.glsl index f7a6319d1f..50f2abdf79 100644 --- a/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.glsl +++ b/test/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.glsl @@ -10,7 +10,7 @@ struct S { vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_5; 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 e3024bfa13..5a47c561a7 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 @@ -14,7 +14,7 @@ struct S { vec4 x_2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); int x_3 = 0; int x_4 = 0; -layout (binding = 0) buffer S_1 { +layout(binding = 0) buffer S_1 { int field0[]; } x_5;