blob: 4b83bf5fa7d4cc1b4b603e89e047f51043029a0b [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 15
; 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 %v "v"
OpName %unused_entry_point "unused_entry_point"
%float = OpTypeFloat 32
%3 = OpTypeFunction %float
%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
%13 = OpTypeFunction %void
%f = OpFunction %float None %3
%4 = OpLabel
%10 = OpCompositeExtract %float %v 1
OpReturnValue %10
OpFunctionEnd
%unused_entry_point = OpFunction %void None %13
%14 = OpLabel
OpReturn
OpFunctionEnd