blob: 72f012d78102fe44dd0a0c4e2e57aed1d346cd46 [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 %a "a"
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
%_ptr_Function_S = OpTypePointer Function %S
%uint = OpTypeInt 32 0
%uint_1 = OpConstant %uint 1
%int_2 = OpConstant %int 2
%int_1 = OpConstant %int 1
%_ptr_Function_float = OpTypePointer Function %float
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %float None %5
%8 = OpLabel
%a = OpVariable %_ptr_Function_S Function %13
OpStore %a %13
%21 = OpAccessChain %_ptr_Function_float %a %uint_1 %int_2 %int_1
%22 = OpLoad %float %21
OpReturnValue %22
OpFunctionEnd