blob: 0ca3cd6979cc17b891e2e0b6067713e0fb77a6d7 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 22
; 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
%int = OpTypeInt 32 1
%uint = OpTypeInt 32 0
%uint_3 = OpConstant %uint 3
%_arr_int_uint_3 = OpTypeArray %int %uint_3
%_ptr_Private__arr_int_uint_3 = OpTypePointer Private %_arr_int_uint_3
%7 = OpConstantNull %_arr_int_uint_3
%zero = OpVariable %_ptr_Private__arr_int_uint_3 Private %7
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%11 = OpConstantComposite %_arr_int_uint_3 %int_1 %int_2 %int_3
%init = OpVariable %_ptr_Private__arr_int_uint_3 Private %11
%void = OpTypeVoid
%13 = OpTypeFunction %void
%_ptr_Function__arr_int_uint_3 = OpTypePointer Function %_arr_int_uint_3
%main = OpFunction %void None %13
%16 = OpLabel
%v0 = OpVariable %_ptr_Function__arr_int_uint_3 Function %7
%v1 = OpVariable %_ptr_Function__arr_int_uint_3 Function %7
%17 = OpLoad %_arr_int_uint_3 %zero
OpStore %v0 %17
%20 = OpLoad %_arr_int_uint_3 %init
OpStore %v1 %20
OpReturn
OpFunctionEnd