2021-07-18 15:41:25 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2022-08-04 19:48:27 +00:00
|
|
|
; Bound: 30
|
2021-07-18 15:41:25 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
|
|
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
|
|
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
|
|
|
OpName %unused_entry_point "unused_entry_point"
|
|
|
|
OpName %f "f"
|
|
|
|
OpName %v "v"
|
|
|
|
OpName %v2 "v2"
|
|
|
|
OpName %v3 "v3"
|
|
|
|
OpName %v4 "v4"
|
|
|
|
%void = OpTypeVoid
|
|
|
|
%1 = OpTypeFunction %void
|
|
|
|
%int = OpTypeInt 32 1
|
2022-08-04 19:48:27 +00:00
|
|
|
%int_3 = OpConstant %int 3
|
2021-07-18 15:41:25 +00:00
|
|
|
%_ptr_Function_int = OpTypePointer Function %int
|
2022-08-04 19:48:27 +00:00
|
|
|
%11 = OpConstantNull %int
|
2021-07-18 15:41:25 +00:00
|
|
|
%v2int = OpTypeVector %int 2
|
|
|
|
%_ptr_Function_v2int = OpTypePointer Function %v2int
|
2022-08-04 19:48:27 +00:00
|
|
|
%17 = OpConstantNull %v2int
|
2021-07-18 15:41:25 +00:00
|
|
|
%v3int = OpTypeVector %int 3
|
|
|
|
%_ptr_Function_v3int = OpTypePointer Function %v3int
|
2022-08-04 19:48:27 +00:00
|
|
|
%23 = OpConstantNull %v3int
|
2021-07-18 15:41:25 +00:00
|
|
|
%v4int = OpTypeVector %int 4
|
|
|
|
%_ptr_Function_v4int = OpTypePointer Function %v4int
|
2022-08-04 19:48:27 +00:00
|
|
|
%29 = OpConstantNull %v4int
|
2021-07-18 15:41:25 +00:00
|
|
|
%unused_entry_point = OpFunction %void None %1
|
|
|
|
%4 = OpLabel
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
|
|
|
%f = OpFunction %void None %1
|
|
|
|
%6 = OpLabel
|
2022-08-04 19:48:27 +00:00
|
|
|
%v = OpVariable %_ptr_Function_int Function %11
|
|
|
|
%v2 = OpVariable %_ptr_Function_v2int Function %17
|
|
|
|
%v3 = OpVariable %_ptr_Function_v3int Function %23
|
|
|
|
%v4 = OpVariable %_ptr_Function_v4int Function %29
|
|
|
|
OpStore %v %int_3
|
|
|
|
%13 = OpLoad %int %v
|
|
|
|
%14 = OpCompositeConstruct %v2int %13 %13
|
|
|
|
OpStore %v2 %14
|
|
|
|
%19 = OpLoad %int %v
|
|
|
|
%20 = OpCompositeConstruct %v3int %19 %19 %19
|
|
|
|
OpStore %v3 %20
|
|
|
|
%25 = OpLoad %int %v
|
|
|
|
%26 = OpCompositeConstruct %v4int %25 %25 %25 %25
|
|
|
|
OpStore %v4 %26
|
2021-07-18 15:41:25 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|