| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 15 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" |
| OpExecutionMode %main OriginUpperLeft |
| OpName %S "S" |
| OpMemberName %S 0 "field0" |
| OpMemberName %S 1 "field1" |
| OpMemberName %S 2 "field2" |
| OpName %x_1 "x_1" |
| OpName %main_1 "main_1" |
| OpName %main "main" |
| OpDecorate %S Block |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 4 |
| OpMemberDecorate %S 2 Offset 8 |
| OpDecorate %_arr_uint_uint_2 ArrayStride 4 |
| OpDecorate %x_1 DescriptorSet 3 |
| OpDecorate %x_1 Binding 9 |
| %uint = OpTypeInt 32 0 |
| %float = OpTypeFloat 32 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_uint_uint_2 = OpTypeArray %uint %uint_2 |
| %S = OpTypeStruct %uint %float %_arr_uint_uint_2 |
| %_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S |
| %x_1 = OpVariable %_ptr_StorageBuffer_S StorageBuffer |
| %void = OpTypeVoid |
| %8 = OpTypeFunction %void |
| %main_1 = OpFunction %void None %8 |
| %11 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %8 |
| %13 = OpLabel |
| %14 = OpFunctionCall %void %main_1 |
| OpReturn |
| OpFunctionEnd |