blob: b342c7a9c748a3ad07dcab815d7a29ec4edac447 [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 26
; 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 %v2 "v2"
OpName %v3 "v3"
OpName %v4 "v4"
OpName %unused_entry_point "unused_entry_point"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%int = OpTypeInt 32 1
%_ptr_Function_int = OpTypePointer Function %int
%int_3 = OpConstant %int 3
%v2int = OpTypeVector %int 2
%_ptr_Function_v2int = OpTypePointer Function %v2int
%v3int = OpTypeVector %int 3
%_ptr_Function_v3int = OpTypePointer Function %v3int
%v4int = OpTypeVector %int 4
%_ptr_Function_v4int = OpTypePointer Function %v4int
%f = OpFunction %void None %3
%4 = OpLabel
%v = OpVariable %_ptr_Function_int Function
%v2 = OpVariable %_ptr_Function_v2int Function
%v3 = OpVariable %_ptr_Function_v3int Function
%v4 = OpVariable %_ptr_Function_v4int Function
OpStore %v %int_3
%9 = OpLoad %int %v None
%11 = OpCompositeConstruct %v2int %9 %9
OpStore %v2 %11
%14 = OpLoad %int %v None
%16 = OpCompositeConstruct %v3int %14 %14 %14
OpStore %v3 %16
%19 = OpLoad %int %v None
%21 = OpCompositeConstruct %v4int %19 %19 %19 %19
OpStore %v4 %21
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %3
%25 = OpLabel
OpReturn
OpFunctionEnd