blob: 1938672a01b23faedc3a8f4c07b501ec8095e1be [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
%uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint
%uint_3 = OpConstant %uint 3
%v2uint = OpTypeVector %uint 2
%_ptr_Function_v2uint = OpTypePointer Function %v2uint
%v3uint = OpTypeVector %uint 3
%_ptr_Function_v3uint = OpTypePointer Function %v3uint
%v4uint = OpTypeVector %uint 4
%_ptr_Function_v4uint = OpTypePointer Function %v4uint
%f = OpFunction %void None %3
%4 = OpLabel
%v = OpVariable %_ptr_Function_uint Function
%v2 = OpVariable %_ptr_Function_v2uint Function
%v3 = OpVariable %_ptr_Function_v3uint Function
%v4 = OpVariable %_ptr_Function_v4uint Function
OpStore %v %uint_3
%9 = OpLoad %uint %v None
%11 = OpCompositeConstruct %v2uint %9 %9
OpStore %v2 %11
%14 = OpLoad %uint %v None
%16 = OpCompositeConstruct %v3uint %14 %14 %14
OpStore %v3 %16
%19 = OpLoad %uint %v None
%21 = OpCompositeConstruct %v4uint %19 %19 %19 %19
OpStore %v4 %21
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %3
%25 = OpLabel
OpReturn
OpFunctionEnd