| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 14 |
| ; 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_0 "a" |
| OpName %a_1 "a" |
| OpName %b "b" |
| OpName %unused_entry_point "unused_entry_point" |
| %void = OpTypeVoid |
| %int = OpTypeInt 32 1 |
| %5 = OpTypeFunction %void %int |
| %_ptr_Function_int = OpTypePointer Function %int |
| %12 = OpTypeFunction %void |
| %a = OpFunction %void None %5 |
| %a_0 = OpFunctionParameter %int |
| %6 = OpLabel |
| %a_1 = OpVariable %_ptr_Function_int Function |
| %b = OpVariable %_ptr_Function_int Function |
| OpStore %a_1 %a_0 |
| %9 = OpLoad %int %a_1 None |
| OpStore %b %9 |
| OpReturn |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %12 |
| %13 = OpLabel |
| OpReturn |
| OpFunctionEnd |