blob: b8f18f2b63b82643d11af2fb404c3d8960770fbb [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