blob: d81d5df51a501a51cf09cfcd48e219d46d338c99 [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 %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %S "S"
OpMemberName %S 0 "m"
OpMemberName %S 1 "n"
OpName %T "T"
OpMemberName %T 0 "k"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S 1 Offset 4
OpMemberDecorate %T 0 Offset 0
OpDecorate %_arr_uint_uint_2 ArrayStride 4
OpDecorate %_arr_T_uint_4 ArrayStride 8
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%5 = OpTypeFunction %uint
%int = OpTypeInt 32 1
%uint_2 = OpConstant %uint 2
%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
%T = OpTypeStruct %_arr_uint_uint_2
%uint_4 = OpConstant %uint 4
%_arr_T_uint_4 = OpTypeArray %T %uint_4
%S = OpTypeStruct %int %_arr_T_uint_4
%16 = OpConstantNull %S
%int_2 = OpConstant %int 2
%int_1 = OpConstant %int 1
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %uint None %5
%8 = OpLabel
%17 = OpCompositeExtract %_arr_T_uint_4 %16 1
%19 = OpCompositeExtract %T %17 2
%20 = OpCompositeExtract %_arr_uint_uint_2 %19 0
%22 = OpCompositeExtract %uint %20 1
OpReturnValue %22
OpFunctionEnd