blob: 84442c5048d946d84e818a3baeeb3fb2d0c7d663 [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 %A "A"
OpName %_A "_A"
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %B "B"
OpName %_B "_B"
%int = OpTypeInt 32 1
%int_1 = OpConstant %int 1
%_ptr_Private_int = OpTypePointer Private %int
%A = OpVariable %_ptr_Private_int Private %int_1
%int_2 = OpConstant %int 2
%_A = OpVariable %_ptr_Private_int Private %int_2
%void = OpTypeVoid
%7 = OpTypeFunction %void
%_ptr_Function_int = OpTypePointer Function %int
%16 = OpConstantNull %int
%unused_entry_point = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %7
%12 = OpLabel
%B = OpVariable %_ptr_Function_int Function %16
%_B = OpVariable %_ptr_Function_int Function %16
%13 = OpLoad %int %A
OpStore %B %13
%17 = OpLoad %int %_A
OpStore %_B %17
OpReturn
OpFunctionEnd