• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 33
5; Schema: 0
6               OpCapability Shader
7         %15 = OpExtInstImport "GLSL.std.450"
8               OpMemoryModel Logical GLSL450
9               OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
10               OpEntryPoint Fragment %fragment_main "fragment_main"
11               OpEntryPoint GLCompute %compute_main "compute_main"
12               OpExecutionMode %fragment_main OriginUpperLeft
13               OpExecutionMode %compute_main LocalSize 1 1 1
14               OpName %value "value"
15               OpName %vertex_point_size "vertex_point_size"
16               OpName %modf_180fed "modf_180fed"
17               OpName %__modf_result "__modf_result"
18               OpMemberName %__modf_result 0 "fract"
19               OpMemberName %__modf_result 1 "whole"
20               OpName %res "res"
21               OpName %vertex_main_inner "vertex_main_inner"
22               OpName %vertex_main "vertex_main"
23               OpName %fragment_main "fragment_main"
24               OpName %compute_main "compute_main"
25               OpDecorate %value BuiltIn Position
26               OpDecorate %vertex_point_size BuiltIn PointSize
27               OpMemberDecorate %__modf_result 0 Offset 0
28               OpMemberDecorate %__modf_result 1 Offset 4
29      %float = OpTypeFloat 32
30    %v4float = OpTypeVector %float 4
31%_ptr_Output_v4float = OpTypePointer Output %v4float
32          %5 = OpConstantNull %v4float
33      %value = OpVariable %_ptr_Output_v4float Output %5
34%_ptr_Output_float = OpTypePointer Output %float
35          %8 = OpConstantNull %float
36%vertex_point_size = OpVariable %_ptr_Output_float Output %8
37       %void = OpTypeVoid
38          %9 = OpTypeFunction %void
39%__modf_result = OpTypeStruct %float %float
40    %float_1 = OpConstant %float 1
41%_ptr_Function___modf_result = OpTypePointer Function %__modf_result
42         %19 = OpConstantNull %__modf_result
43         %20 = OpTypeFunction %v4float
44%modf_180fed = OpFunction %void None %9
45         %12 = OpLabel
46        %res = OpVariable %_ptr_Function___modf_result Function %19
47         %13 = OpExtInst %__modf_result %15 ModfStruct %float_1
48               OpStore %res %13
49               OpReturn
50               OpFunctionEnd
51%vertex_main_inner = OpFunction %v4float None %20
52         %22 = OpLabel
53         %23 = OpFunctionCall %void %modf_180fed
54               OpReturnValue %5
55               OpFunctionEnd
56%vertex_main = OpFunction %void None %9
57         %25 = OpLabel
58         %26 = OpFunctionCall %v4float %vertex_main_inner
59               OpStore %value %26
60               OpStore %vertex_point_size %float_1
61               OpReturn
62               OpFunctionEnd
63%fragment_main = OpFunction %void None %9
64         %28 = OpLabel
65         %29 = OpFunctionCall %void %modf_180fed
66               OpReturn
67               OpFunctionEnd
68%compute_main = OpFunction %void None %9
69         %31 = OpLabel
70         %32 = OpFunctionCall %void %modf_180fed
71               OpReturn
72               OpFunctionEnd
73