blob: 439736603a522ef7d56c5bd8a2e2d0108478263f [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 15
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %f "f"
OpMemberName %S 0 "m"
OpMemberName %S 1 "n"
OpName %S "S"
OpName %a "a"
OpName %main "main"
%uint = OpTypeInt 32 0
%3 = OpTypeFunction %uint
%int = OpTypeInt 32 1
%v3uint = OpTypeVector %uint 3
%S = OpTypeStruct %int %v3uint
%a = OpConstantNull %S
%void = OpTypeVoid
%12 = OpTypeFunction %void
%f = OpFunction %uint None %3
%4 = OpLabel
%9 = OpCompositeExtract %uint %a 1 2
OpReturnValue %9
OpFunctionEnd
%main = OpFunction %void None %12
%13 = OpLabel
%14 = OpFunctionCall %uint %f
OpReturn
OpFunctionEnd