| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 15 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint GLCompute %main "main" | |
| OpExecutionMode %main LocalSize 1 1 1 | |
| OpName %P "P" | |
| OpName %func "func" | |
| OpName %main "main" | |
| OpName %r "r" | |
| %float = OpTypeFloat 32 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Private_v4float = OpTypePointer Private %v4float | |
| %5 = OpConstantNull %v4float | |
| %P = OpVariable %_ptr_Private_v4float Private %5 | |
| %7 = OpTypeFunction %v4float | |
| %void = OpTypeVoid | |
| %12 = OpTypeFunction %void | |
| %func = OpFunction %v4float None %7 | |
| %8 = OpLabel | |
| %9 = OpLoad %v4float %P None | |
| OpReturnValue %9 | |
| OpFunctionEnd | |
| %main = OpFunction %void None %12 | |
| %13 = OpLabel | |
| %r = OpFunctionCall %v4float %func | |
| OpReturn | |
| OpFunctionEnd |