blob: 5d9347f4b74b2e244c4deec425ba02c2be0eb969 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; 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"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S 1 Offset 16
OpMemberDecorate %S 1 ColMajor
OpMemberDecorate %S 1 MatrixStride 16
%void = OpTypeVoid
%1 = OpTypeFunction %void
%float = OpTypeFloat 32
%5 = OpTypeFunction %float
%int = OpTypeInt 32 1
%v4float = OpTypeVector %float 4
%mat4v4float = OpTypeMatrix %v4float 4
%S = OpTypeStruct %int %mat4v4float
%13 = 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 %float None %5
%8 = OpLabel
%14 = OpCompositeExtract %mat4v4float %13 1
%16 = OpCompositeExtract %v4float %14 2
%18 = OpCompositeExtract %float %16 1
OpReturnValue %18
OpFunctionEnd