blob: f611976716750214f48e492b56ca75a540fd20f6 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 29
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %main_1 "main_1"
OpName %S "S"
OpMemberName %S 0 "algo"
OpName %var0 "var0"
OpName %S_1 "S_1"
OpMemberName %S_1 0 "rithm"
OpName %var1 "var1"
OpName %x_2_1 "x_2_1"
OpName %x_4_1 "x_4_1"
OpName %main "main"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S_1 0 Offset 0
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%S = OpTypeStruct %uint
%_ptr_Function_S = OpTypePointer Function %S
%9 = OpConstantNull %S
%S_1 = OpTypeStruct %uint
%_ptr_Function_S_1 = OpTypePointer Function %S_1
%13 = OpConstantNull %S_1
%uint_0 = OpConstant %uint 0
%_ptr_Function_uint = OpTypePointer Function %uint
%uint_10 = OpConstant %uint 10
%uint_11 = OpConstant %uint 11
%main_1 = OpFunction %void None %1
%4 = OpLabel
%var0 = OpVariable %_ptr_Function_S Function %9
%var1 = OpVariable %_ptr_Function_S_1 Function %13
%x_2_1 = OpVariable %_ptr_Function_S Function %9
%x_4_1 = OpVariable %_ptr_Function_S_1 Function %13
%14 = OpLoad %S %var0
OpStore %x_2_1 %14
%18 = OpAccessChain %_ptr_Function_uint %x_2_1 %uint_0
OpStore %18 %uint_10
%20 = OpLoad %S %x_2_1
%21 = OpLoad %S_1 %var1
OpStore %x_4_1 %21
%23 = OpAccessChain %_ptr_Function_uint %x_4_1 %uint_0
OpStore %23 %uint_11
%25 = OpLoad %S_1 %x_4_1
OpReturn
OpFunctionEnd
%main = OpFunction %void None %1
%27 = OpLabel
%28 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd