dawn-cmake/test/tint/var/initialization/function/array/array_i32.wgsl.expected.spvasm

41 lines
1.6 KiB
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 24
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %main "main"
OpName %zero "zero"
OpName %init "init"
OpDecorate %_arr_int_uint_3 ArrayStride 4
OpDecorate %_arr__arr_int_uint_3_uint_2 ArrayStride 12
%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
%uint_2 = OpConstant %uint 2
%_arr__arr_int_uint_3_uint_2 = OpTypeArray %_arr_int_uint_3 %uint_2
%_ptr_Function__arr__arr_int_uint_3_uint_2 = OpTypePointer Function %_arr__arr_int_uint_3_uint_2
%13 = OpConstantNull %_arr__arr_int_uint_3_uint_2
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%17 = 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
%21 = OpConstantComposite %_arr_int_uint_3 %int_4 %int_5 %int_6
%22 = OpConstantComposite %_arr__arr_int_uint_3_uint_2 %17 %21
%main = OpFunction %void None %1
%4 = OpLabel
%zero = OpVariable %_ptr_Function__arr__arr_int_uint_3_uint_2 Function %13
%init = OpVariable %_ptr_Function__arr__arr_int_uint_3_uint_2 Function %13
OpStore %init %22
OpReturn
OpFunctionEnd