49 lines
2.1 KiB
Plaintext
49 lines
2.1 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 29
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %main "main"
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
OpName %zero "zero"
|
|
OpName %init "init"
|
|
OpName %main "main"
|
|
OpName %v0 "v0"
|
|
OpName %v1 "v1"
|
|
OpDecorate %_arr_int_uint_3 ArrayStride 4
|
|
OpDecorate %_arr__arr_int_uint_3_uint_2 ArrayStride 12
|
|
%int = OpTypeInt 32 1
|
|
%uint = OpTypeInt 32 0
|
|
%uint_3 = OpConstant %uint 3
|
|
%_arr_int_uint_3 = OpTypeArray %int %uint_3
|
|
%uint_2 = OpConstant %uint 2
|
|
%_arr__arr_int_uint_3_uint_2 = OpTypeArray %_arr_int_uint_3 %uint_2
|
|
%_ptr_Private__arr__arr_int_uint_3_uint_2 = OpTypePointer Private %_arr__arr_int_uint_3_uint_2
|
|
%9 = OpConstantNull %_arr__arr_int_uint_3_uint_2
|
|
%zero = OpVariable %_ptr_Private__arr__arr_int_uint_3_uint_2 Private %9
|
|
%int_1 = OpConstant %int 1
|
|
%int_2 = OpConstant %int 2
|
|
%int_3 = OpConstant %int 3
|
|
%13 = OpConstantComposite %_arr_int_uint_3 %int_1 %int_2 %int_3
|
|
%int_4 = OpConstant %int 4
|
|
%int_5 = OpConstant %int 5
|
|
%int_6 = OpConstant %int 6
|
|
%17 = OpConstantComposite %_arr_int_uint_3 %int_4 %int_5 %int_6
|
|
%18 = OpConstantComposite %_arr__arr_int_uint_3_uint_2 %13 %17
|
|
%init = OpVariable %_ptr_Private__arr__arr_int_uint_3_uint_2 Private %18
|
|
%void = OpTypeVoid
|
|
%20 = OpTypeFunction %void
|
|
%_ptr_Function__arr__arr_int_uint_3_uint_2 = OpTypePointer Function %_arr__arr_int_uint_3_uint_2
|
|
%main = OpFunction %void None %20
|
|
%23 = OpLabel
|
|
%v0 = OpVariable %_ptr_Function__arr__arr_int_uint_3_uint_2 Function %9
|
|
%v1 = OpVariable %_ptr_Function__arr__arr_int_uint_3_uint_2 Function %9
|
|
%24 = OpLoad %_arr__arr_int_uint_3_uint_2 %zero
|
|
OpStore %v0 %24
|
|
%27 = OpLoad %_arr__arr_int_uint_3_uint_2 %init
|
|
OpStore %v1 %27
|
|
OpReturn
|
|
OpFunctionEnd
|