• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 36
5; Schema: 0
6               OpCapability Shader
7               OpCapability Image1D
8               OpCapability ImageQuery
9               OpMemoryModel Logical GLSL450
10               OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
11               OpEntryPoint Fragment %fragment_main "fragment_main"
12               OpEntryPoint GLCompute %compute_main "compute_main"
13               OpExecutionMode %fragment_main OriginUpperLeft
14               OpExecutionMode %compute_main LocalSize 1 1 1
15               OpName %value "value"
16               OpName %vertex_point_size "vertex_point_size"
17               OpName %arg_0 "arg_0"
18               OpName %textureDimensions_6adac6 "textureDimensions_6adac6"
19               OpName %res "res"
20               OpName %vertex_main_inner "vertex_main_inner"
21               OpName %vertex_main "vertex_main"
22               OpName %fragment_main "fragment_main"
23               OpName %compute_main "compute_main"
24               OpDecorate %value BuiltIn Position
25               OpDecorate %vertex_point_size BuiltIn PointSize
26               OpDecorate %arg_0 NonReadable
27               OpDecorate %arg_0 DescriptorSet 1
28               OpDecorate %arg_0 Binding 0
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        %int = OpTypeInt 32 1
38         %11 = OpTypeImage %int 1D 0 0 0 2 Rgba32i
39%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
40      %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
41       %void = OpTypeVoid
42         %13 = OpTypeFunction %void
43%_ptr_Function_int = OpTypePointer Function %int
44         %21 = OpConstantNull %int
45         %22 = OpTypeFunction %v4float
46    %float_1 = OpConstant %float 1
47%textureDimensions_6adac6 = OpFunction %void None %13
48         %16 = OpLabel
49        %res = OpVariable %_ptr_Function_int Function %21
50         %18 = OpLoad %11 %arg_0
51         %17 = OpImageQuerySize %int %18
52               OpStore %res %17
53               OpReturn
54               OpFunctionEnd
55%vertex_main_inner = OpFunction %v4float None %22
56         %24 = OpLabel
57         %25 = OpFunctionCall %void %textureDimensions_6adac6
58               OpReturnValue %5
59               OpFunctionEnd
60%vertex_main = OpFunction %void None %13
61         %27 = OpLabel
62         %28 = OpFunctionCall %v4float %vertex_main_inner
63               OpStore %value %28
64               OpStore %vertex_point_size %float_1
65               OpReturn
66               OpFunctionEnd
67%fragment_main = OpFunction %void None %13
68         %31 = OpLabel
69         %32 = OpFunctionCall %void %textureDimensions_6adac6
70               OpReturn
71               OpFunctionEnd
72%compute_main = OpFunction %void None %13
73         %34 = OpLabel
74         %35 = OpFunctionCall %void %textureDimensions_6adac6
75               OpReturn
76               OpFunctionEnd
77