| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 12 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %S "S" |
| OpMemberName %S 0 "inner" |
| OpName %Inner "Inner" |
| OpMemberName %Inner 0 "f" |
| OpName %in "in" |
| OpName %out "out" |
| OpName %main "main" |
| OpDecorate %S Block |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %Inner 0 Offset 0 |
| OpDecorate %in NonWritable |
| OpDecorate %in DescriptorSet 0 |
| OpDecorate %in Binding 0 |
| OpDecorate %out DescriptorSet 0 |
| OpDecorate %out Binding 1 |
| %float = OpTypeFloat 32 |
| %Inner = OpTypeStruct %float |
| %S = OpTypeStruct %Inner |
| %_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S |
| %in = OpVariable %_ptr_StorageBuffer_S StorageBuffer |
| %out = OpVariable %_ptr_StorageBuffer_S StorageBuffer |
| %void = OpTypeVoid |
| %7 = OpTypeFunction %void |
| %main = OpFunction %void None %7 |
| %10 = OpLabel |
| %11 = OpLoad %S %in |
| OpStore %out %11 |
| OpReturn |
| OpFunctionEnd |