blob: 3472743c09999602c67dc83897db0e8526fefe5a [file] [log] [blame]
Zhaoming Jiang9443ceb2022-08-05 15:15:17 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 33
5; Schema: 0
6 OpCapability Shader
7 OpCapability Float16
8 OpCapability UniformAndStorageBuffer16BitAccess
9 OpCapability StorageBuffer16BitAccess
10 OpCapability StorageInputOutput16
11 %15 = OpExtInstImport "GLSL.std.450"
12 OpMemoryModel Logical GLSL450
13 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
14 OpEntryPoint Fragment %fragment_main "fragment_main"
15 OpEntryPoint GLCompute %compute_main "compute_main"
16 OpExecutionMode %fragment_main OriginUpperLeft
17 OpExecutionMode %compute_main LocalSize 1 1 1
18 OpName %value "value"
19 OpName %vertex_point_size "vertex_point_size"
20 OpName %abs_fd247f "abs_fd247f"
21 OpName %res "res"
22 OpName %vertex_main_inner "vertex_main_inner"
23 OpName %vertex_main "vertex_main"
24 OpName %fragment_main "fragment_main"
25 OpName %compute_main "compute_main"
26 OpDecorate %value BuiltIn Position
27 OpDecorate %vertex_point_size BuiltIn PointSize
28 %float = OpTypeFloat 32
29 %v4float = OpTypeVector %float 4
30%_ptr_Output_v4float = OpTypePointer Output %v4float
31 %5 = OpConstantNull %v4float
32 %value = OpVariable %_ptr_Output_v4float Output %5
33%_ptr_Output_float = OpTypePointer Output %float
34 %8 = OpConstantNull %float
35%vertex_point_size = OpVariable %_ptr_Output_float Output %8
36 %void = OpTypeVoid
37 %9 = OpTypeFunction %void
38 %half = OpTypeFloat 16
39 %16 = OpConstantNull %half
40%_ptr_Function_half = OpTypePointer Function %half
41 %19 = OpTypeFunction %v4float
42 %float_1 = OpConstant %float 1
43 %abs_fd247f = OpFunction %void None %9
44 %12 = OpLabel
45 %res = OpVariable %_ptr_Function_half Function %16
46 %13 = OpExtInst %half %15 FAbs %16
47 OpStore %res %13
48 OpReturn
49 OpFunctionEnd
50%vertex_main_inner = OpFunction %v4float None %19
51 %21 = OpLabel
52 %22 = OpFunctionCall %void %abs_fd247f
53 OpReturnValue %5
54 OpFunctionEnd
55%vertex_main = OpFunction %void None %9
56 %24 = OpLabel
57 %25 = OpFunctionCall %v4float %vertex_main_inner
58 OpStore %value %25
59 OpStore %vertex_point_size %float_1
60 OpReturn
61 OpFunctionEnd
62%fragment_main = OpFunction %void None %9
63 %28 = OpLabel
64 %29 = OpFunctionCall %void %abs_fd247f
65 OpReturn
66 OpFunctionEnd
67%compute_main = OpFunction %void None %9
68 %31 = OpLabel
69 %32 = OpFunctionCall %void %abs_fd247f
70 OpReturn
71 OpFunctionEnd