blob: db6ee7e53a7d4cef9d64bcd62bbe7e9ab42fba47 [file] [log] [blame]
Ben Clayton3a431d72023-03-04 00:43:21 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 38
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
9 OpEntryPoint Fragment %fragment_main "fragment_main"
10 OpEntryPoint GLCompute %compute_main "compute_main"
11 OpExecutionMode %fragment_main OriginUpperLeft
12 OpExecutionMode %compute_main LocalSize 1 1 1
13 OpName %value "value"
14 OpName %vertex_point_size "vertex_point_size"
15 OpName %arg_0 "arg_0"
16 OpName %textureStore_d2b565 "textureStore_d2b565"
17 OpName %vertex_main_inner "vertex_main_inner"
18 OpName %vertex_main "vertex_main"
19 OpName %fragment_main "fragment_main"
20 OpName %compute_main "compute_main"
21 OpDecorate %value BuiltIn Position
22 OpDecorate %vertex_point_size BuiltIn PointSize
23 OpDecorate %arg_0 NonReadable
24 OpDecorate %arg_0 DescriptorSet 1
25 OpDecorate %arg_0 Binding 0
26 %float = OpTypeFloat 32
27 %v4float = OpTypeVector %float 4
28%_ptr_Output_v4float = OpTypePointer Output %v4float
29 %5 = OpConstantNull %v4float
30 %value = OpVariable %_ptr_Output_v4float Output %5
31%_ptr_Output_float = OpTypePointer Output %float
32 %8 = OpConstantNull %float
33%vertex_point_size = OpVariable %_ptr_Output_float Output %8
34 %uint = OpTypeInt 32 0
35 %11 = OpTypeImage %uint 3D 0 0 0 2 Rgba8ui
36%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
37 %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
38 %void = OpTypeVoid
39 %13 = OpTypeFunction %void
40 %v3uint = OpTypeVector %uint 3
41 %uint_1 = OpConstant %uint 1
42 %21 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
43 %v4uint = OpTypeVector %uint 4
44 %23 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
45 %24 = OpTypeFunction %v4float
46 %float_1 = OpConstant %float 1
47%textureStore_d2b565 = OpFunction %void None %13
48 %16 = OpLabel
49 %18 = OpLoad %11 %arg_0
50 OpImageWrite %18 %21 %23
51 OpReturn
52 OpFunctionEnd
53%vertex_main_inner = OpFunction %v4float None %24
54 %26 = OpLabel
55 %27 = OpFunctionCall %void %textureStore_d2b565
56 OpReturnValue %5
57 OpFunctionEnd
58%vertex_main = OpFunction %void None %13
59 %29 = OpLabel
60 %30 = OpFunctionCall %v4float %vertex_main_inner
61 OpStore %value %30
62 OpStore %vertex_point_size %float_1
63 OpReturn
64 OpFunctionEnd
65%fragment_main = OpFunction %void None %13
66 %33 = OpLabel
67 %34 = OpFunctionCall %void %textureStore_d2b565
68 OpReturn
69 OpFunctionEnd
70%compute_main = OpFunction %void None %13
71 %36 = OpLabel
72 %37 = OpFunctionCall %void %textureStore_d2b565
73 OpReturn
74 OpFunctionEnd