1OpCapability Shader
2OpCapability VariablePointers
3OpCapability VariablePointersStorageBuffer
4OpMemoryModel Logical GLSL450
5
6OpEntryPoint Vertex %fn_vert "main"
7
8%F = OpTypeFloat 32
9%PF = OpTypePointer StorageBuffer %F
10%PPF = OpTypePointer Private %PF
11%PPPF = OpTypePointer Function %PPF
12
13%V = OpTypeVoid
14%Fn0V = OpTypeFunction %V
15
16%FnArg = OpTypeFunction %V %PPPF
17
18%uPPF = OpUndef %PPF
19
20%fn_ptr = OpFunction %V None %FnArg
21	%arg = OpFunctionParameter %PPPF
22	%fn_ptr_bb0 = OpLabel
23	OpReturn
24OpFunctionEnd
25
26%fn_vert = OpFunction %V None %Fn0V
27	%fn_vert_bb0 = OpLabel
28	%VPPPF = OpVariable %PPPF Function
29	OpStore %VPPPF %uPPF
30	%VV = OpFunctionCall %V %fn_ptr %VPPPF
31	OpReturn
32OpFunctionEnd
33
34
35