• 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 %log_b2ce28 "log_b2ce28"
17               OpName %res "res"
18               OpName %vertex_main_inner "vertex_main_inner"
19               OpName %vertex_main "vertex_main"
20               OpName %fragment_main "fragment_main"
21               OpName %compute_main "compute_main"
22               OpDecorate %value BuiltIn Position
23               OpDecorate %vertex_point_size BuiltIn PointSize
24      %float = OpTypeFloat 32
25    %v4float = OpTypeVector %float 4
26%_ptr_Output_v4float = OpTypePointer Output %v4float
27          %5 = OpConstantNull %v4float
28      %value = OpVariable %_ptr_Output_v4float Output %5
29%_ptr_Output_float = OpTypePointer Output %float
30          %8 = OpConstantNull %float
31%vertex_point_size = OpVariable %_ptr_Output_float Output %8
32       %void = OpTypeVoid
33          %9 = OpTypeFunction %void
34    %v2float = OpTypeVector %float 2
35         %16 = OpConstantNull %v2float
36%_ptr_Function_v2float = OpTypePointer Function %v2float
37         %19 = OpTypeFunction %v4float
38    %float_1 = OpConstant %float 1
39 %log_b2ce28 = OpFunction %void None %9
40         %12 = OpLabel
41        %res = OpVariable %_ptr_Function_v2float Function %16
42         %13 = OpExtInst %v2float %15 Log %16
43               OpStore %res %13
44               OpReturn
45               OpFunctionEnd
46%vertex_main_inner = OpFunction %v4float None %19
47         %21 = OpLabel
48         %22 = OpFunctionCall %void %log_b2ce28
49               OpReturnValue %5
50               OpFunctionEnd
51%vertex_main = OpFunction %void None %9
52         %24 = OpLabel
53         %25 = OpFunctionCall %v4float %vertex_main_inner
54               OpStore %value %25
55               OpStore %vertex_point_size %float_1
56               OpReturn
57               OpFunctionEnd
58%fragment_main = OpFunction %void None %9
59         %28 = OpLabel
60         %29 = OpFunctionCall %void %log_b2ce28
61               OpReturn
62               OpFunctionEnd
63%compute_main = OpFunction %void None %9
64         %31 = OpLabel
65         %32 = OpFunctionCall %void %log_b2ce28
66               OpReturn
67               OpFunctionEnd
68