| ; 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 |