blob: 4713045413225b3f908fd1f767f862a00a7e4e68 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 18
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpMemberName %S 0 "i"
OpName %S "S"
OpMemberName %u_block 0 "inner"
OpName %u_block "u_block"
OpName %main "main"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %u_block 0 Offset 0
OpDecorate %u_block Block
OpDecorate %1 DescriptorSet 0
OpDecorate %1 Binding 0
OpDecorate %1 NonWritable
%int = OpTypeInt 32 1
%S = OpTypeStruct %int
%u_block = OpTypeStruct %S
%_ptr_Uniform_u_block = OpTypePointer Uniform %u_block
%1 = OpVariable %_ptr_Uniform_u_block Uniform
%void = OpTypeVoid
%8 = OpTypeFunction %void
%_ptr_Uniform_S = OpTypePointer Uniform %S
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_Uniform_int = OpTypePointer Uniform %int
%main = OpFunction %void None %8
%9 = OpLabel
%10 = OpAccessChain %_ptr_Uniform_S %1 %uint_0
%14 = OpLoad %S %10 None
%15 = OpAccessChain %_ptr_Uniform_int %1 %uint_0 %uint_0
%17 = OpLoad %int %15 None
OpReturn
OpFunctionEnd