• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 31
5; Schema: 0
6               OpCapability Shader
7         %14 = 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 %sign_b8f634 "sign_b8f634"
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%_ptr_Function_v4float = OpTypePointer Function %v4float
35         %17 = OpTypeFunction %v4float
36    %float_1 = OpConstant %float 1
37%sign_b8f634 = OpFunction %void None %9
38         %12 = OpLabel
39        %res = OpVariable %_ptr_Function_v4float Function %5
40         %13 = OpExtInst %v4float %14 FSign %5
41               OpStore %res %13
42               OpReturn
43               OpFunctionEnd
44%vertex_main_inner = OpFunction %v4float None %17
45         %19 = OpLabel
46         %20 = OpFunctionCall %void %sign_b8f634
47               OpReturnValue %5
48               OpFunctionEnd
49%vertex_main = OpFunction %void None %9
50         %22 = OpLabel
51         %23 = OpFunctionCall %v4float %vertex_main_inner
52               OpStore %value %23
53               OpStore %vertex_point_size %float_1
54               OpReturn
55               OpFunctionEnd
56%fragment_main = OpFunction %void None %9
57         %26 = OpLabel
58         %27 = OpFunctionCall %void %sign_b8f634
59               OpReturn
60               OpFunctionEnd
61%compute_main = OpFunction %void None %9
62         %29 = OpLabel
63         %30 = OpFunctionCall %void %sign_b8f634
64               OpReturn
65               OpFunctionEnd
66