blob: a27392168b390bf6aa1f5c29160e31d9aa636f39 [file] [log] [blame]
James Price1ffc5982023-08-11 00:45:54 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 46
5; Schema: 0
6 OpCapability Shader
7 OpCapability Image1D
8 OpCapability StorageImageExtendedFormats
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 %textureStore_4cce74 "textureStore_4cce74"
19 OpName %arg_1 "arg_1"
20 OpName %arg_2 "arg_2"
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 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 %uint = OpTypeInt 32 0
38 %11 = OpTypeImage %uint 1D 0 0 0 2 Rg32ui
39%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
40 %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
41 %void = OpTypeVoid
42 %13 = OpTypeFunction %void
43 %int = OpTypeInt 32 1
44 %int_1 = OpConstant %int 1
45%_ptr_Function_int = OpTypePointer Function %int
46 %21 = OpConstantNull %int
47 %v4uint = OpTypeVector %uint 4
48 %uint_1 = OpConstant %uint 1
49 %24 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
50%_ptr_Function_v4uint = OpTypePointer Function %v4uint
51 %27 = OpConstantNull %v4uint
52 %32 = OpTypeFunction %v4float
53 %float_1 = OpConstant %float 1
54%textureStore_4cce74 = OpFunction %void None %13
55 %16 = OpLabel
56 %arg_1 = OpVariable %_ptr_Function_int Function %21
57 %arg_2 = OpVariable %_ptr_Function_v4uint Function %27
58 OpStore %arg_1 %int_1
59 OpStore %arg_2 %24
60 %29 = OpLoad %11 %arg_0
61 %30 = OpLoad %int %arg_1
62 %31 = OpLoad %v4uint %arg_2
63 OpImageWrite %29 %30 %31
64 OpReturn
65 OpFunctionEnd
66%vertex_main_inner = OpFunction %v4float None %32
67 %34 = OpLabel
68 %35 = OpFunctionCall %void %textureStore_4cce74
69 OpReturnValue %5
70 OpFunctionEnd
71%vertex_main = OpFunction %void None %13
72 %37 = OpLabel
73 %38 = OpFunctionCall %v4float %vertex_main_inner
74 OpStore %value %38
75 OpStore %vertex_point_size %float_1
76 OpReturn
77 OpFunctionEnd
78%fragment_main = OpFunction %void None %13
79 %41 = OpLabel
80 %42 = OpFunctionCall %void %textureStore_4cce74
81 OpReturn
82 OpFunctionEnd
83%compute_main = OpFunction %void None %13
84 %44 = OpLabel
85 %45 = OpFunctionCall %void %textureStore_4cce74
86 OpReturn
87 OpFunctionEnd