blob: 321829fe0ab533deec572dbf3f751943b4622a5e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 24
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %f "f"
OpMemberName %S 0 "m"
OpMemberName %S 1 "n"
OpName %S "S"
OpName %a "a"
OpName %unused_entry_point "unused_entry_point"
%float = OpTypeFloat 32
%3 = OpTypeFunction %float
%int = OpTypeInt 32 1
%v4float = OpTypeVector %float 4
%mat4v4float = OpTypeMatrix %v4float 4
%S = OpTypeStruct %int %mat4v4float
%_ptr_Function_S = OpTypePointer Function %S
%11 = OpConstantNull %S
%_ptr_Function_v4float = OpTypePointer Function %v4float
%uint = OpTypeInt 32 0
%uint_1 = OpConstant %uint 1
%uint_2 = OpConstant %uint 2
%_ptr_Function_float = OpTypePointer Function %float
%void = OpTypeVoid
%22 = OpTypeFunction %void
%f = OpFunction %float None %3
%4 = OpLabel
%a = OpVariable %_ptr_Function_S Function
OpStore %a %11
%12 = OpAccessChain %_ptr_Function_v4float %a %uint_1 %uint_2
%17 = OpAccessChain %_ptr_Function_float %12 %uint_1
%19 = OpLoad %float %17 None
OpReturnValue %19
OpFunctionEnd
%unused_entry_point = OpFunction %void None %22
%23 = OpLabel
OpReturn
OpFunctionEnd