blob: 28e924a7964fecce736a66da7de68c5e7a9cd920 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 17
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %f "f"
OpName %i "i"
OpName %v "v"
OpName %unused_entry_point "unused_entry_point"
%float = OpTypeFloat 32
%int = OpTypeInt 32 1
%5 = OpTypeFunction %float %int
%v3float = OpTypeVector %float 3
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%v = OpConstantComposite %v3float %float_1 %float_2 %float_3
%void = OpTypeVoid
%15 = OpTypeFunction %void
%f = OpFunction %float None %5
%i = OpFunctionParameter %int
%6 = OpLabel
%12 = OpVectorExtractDynamic %float %v %i
OpReturnValue %12
OpFunctionEnd
%unused_entry_point = OpFunction %void None %15
%16 = OpLabel
OpReturn
OpFunctionEnd