blob: e2895d740505b9e58d0a004a4a17e94b06977dc9 [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 %i "i"
OpName %b "b"
OpName %unused_entry_point "unused_entry_point"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%int = OpTypeInt 32 1
%i = OpConstant %int 1
%v2int = OpTypeVector %int 2
%int_2 = OpConstant %int 2
%8 = OpConstantComposite %v2int %i %int_2
%_ptr_Function_int = OpTypePointer Function %int
%f = OpFunction %void None %3
%4 = OpLabel
%b = OpVariable %_ptr_Function_int Function
%7 = OpVectorExtractDynamic %int %8 %i
OpStore %b %7
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %3
%14 = OpLabel
OpReturn
OpFunctionEnd