blob: 689183ccc79576226f31cc51f0f4cf2f5a100eac [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 14
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %v "v"
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
%8 = OpConstantComposite %v2int %i %i
%_ptr_Function_int = OpTypePointer Function %int
%v = 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
%13 = OpLabel
OpReturn
OpFunctionEnd