blob: 5283e5f3ba76285a23324f2826d4510ab90fd917 [file] [log] [blame]
dan sinclair1b77b6c2024-08-06 15:47:05 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 1
James Price74080ec2024-10-16 00:12:09 +00004; Bound: 15
dan sinclair1b77b6c2024-08-06 15:47:05 +00005; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %main "main"
9 OpExecutionMode %main LocalSize 1 1 1
10 OpName %func "func"
11 OpName %pointer_root "pointer_root"
12 OpName %main "main"
13 OpName %F "F"
14 %void = OpTypeVoid
15 %float = OpTypeFloat 32
16 %v4float = OpTypeVector %float 4
17%_ptr_Function_v4float = OpTypePointer Function %v4float
18 %7 = OpTypeFunction %void %_ptr_Function_v4float
James Price74080ec2024-10-16 00:12:09 +000019 %9 = OpConstantNull %v4float
20 %11 = OpTypeFunction %void
dan sinclair1b77b6c2024-08-06 15:47:05 +000021 %func = OpFunction %void None %7
22%pointer_root = OpFunctionParameter %_ptr_Function_v4float
23 %8 = OpLabel
James Price74080ec2024-10-16 00:12:09 +000024 OpStore %pointer_root %9 None
dan sinclair1b77b6c2024-08-06 15:47:05 +000025 OpReturn
26 OpFunctionEnd
James Price74080ec2024-10-16 00:12:09 +000027 %main = OpFunction %void None %11
28 %12 = OpLabel
29 %F = OpVariable %_ptr_Function_v4float Function %9
30 %14 = OpFunctionCall %void %func %F
dan sinclair1b77b6c2024-08-06 15:47:05 +000031 OpReturn
32 OpFunctionEnd