2021-06-30 15:59:40 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2022-06-24 17:01:59 +00:00
|
|
|
; Bound: 17
|
2021-06-30 15:59:40 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
|
|
|
OpEntryPoint GLCompute %main "main"
|
|
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
|
|
OpName %main "main"
|
2022-06-24 17:01:59 +00:00
|
|
|
OpName %zero "zero"
|
|
|
|
OpName %init "init"
|
2021-06-30 15:59:40 +00:00
|
|
|
OpDecorate %_arr_int_uint_3 ArrayStride 4
|
|
|
|
%void = OpTypeVoid
|
|
|
|
%1 = OpTypeFunction %void
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%uint = OpTypeInt 32 0
|
|
|
|
%uint_3 = OpConstant %uint 3
|
|
|
|
%_arr_int_uint_3 = OpTypeArray %int %uint_3
|
|
|
|
%_ptr_Function__arr_int_uint_3 = OpTypePointer Function %_arr_int_uint_3
|
|
|
|
%11 = OpConstantNull %_arr_int_uint_3
|
2022-06-24 17:01:59 +00:00
|
|
|
%int_1 = OpConstant %int 1
|
|
|
|
%int_2 = OpConstant %int 2
|
|
|
|
%int_3 = OpConstant %int 3
|
|
|
|
%15 = OpConstantComposite %_arr_int_uint_3 %int_1 %int_2 %int_3
|
2021-06-30 15:59:40 +00:00
|
|
|
%main = OpFunction %void None %1
|
|
|
|
%4 = OpLabel
|
2022-06-24 17:01:59 +00:00
|
|
|
%zero = OpVariable %_ptr_Function__arr_int_uint_3 Function %11
|
|
|
|
%init = OpVariable %_ptr_Function__arr_int_uint_3 Function %11
|
|
|
|
OpStore %init %15
|
2021-06-30 15:59:40 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|