blob: 153988246865c27bab3f34fa28c5589d8cfaade1 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %arr "arr"
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %v "v"
OpDecorate %_arr_v2float_uint_2 ArrayStride 8
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%uint = OpTypeInt 32 0
%uint_2 = OpConstant %uint 2
%_arr_v2float_uint_2 = OpTypeArray %v2float %uint_2
%float_1 = OpConstant %float 1
%7 = OpConstantComposite %v2float %float_1 %float_1
%float_2 = OpConstant %float 2
%9 = OpConstantComposite %v2float %float_2 %float_2
%10 = OpConstantComposite %_arr_v2float_uint_2 %7 %9
%_ptr_Private__arr_v2float_uint_2 = OpTypePointer Private %_arr_v2float_uint_2
%arr = OpVariable %_ptr_Private__arr_v2float_uint_2 Private %10
%void = OpTypeVoid
%13 = OpTypeFunction %void
%_ptr_Function__arr_v2float_uint_2 = OpTypePointer Function %_arr_v2float_uint_2
%22 = OpConstantNull %_arr_v2float_uint_2
%unused_entry_point = OpFunction %void None %13
%16 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %13
%18 = OpLabel
%v = OpVariable %_ptr_Function__arr_v2float_uint_2 Function %22
%19 = OpLoad %_arr_v2float_uint_2 %arr
OpStore %v %19
OpReturn
OpFunctionEnd