blob: e5071ef92a7ef37b1015f1cdb203a46e712b0605 [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: 42
5; Schema: 0
6 OpCapability Shader
7 OpCapability Float16
8 OpCapability UniformAndStorageBuffer16BitAccess
9 OpCapability StorageBuffer16BitAccess
10 OpCapability StorageInputOutput16
11 %20 = 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 %tint_acosh "tint_acosh"
21 OpName %x "x"
22 OpName %acosh_a37dfe "acosh_a37dfe"
23 OpName %res "res"
24 OpName %vertex_main_inner "vertex_main_inner"
25 OpName %vertex_main "vertex_main"
26 OpName %fragment_main "fragment_main"
27 OpName %compute_main "compute_main"
28 OpDecorate %value BuiltIn Position
29 OpDecorate %vertex_point_size BuiltIn PointSize
30 %float = OpTypeFloat 32
31 %v4float = OpTypeVector %float 4
32%_ptr_Output_v4float = OpTypePointer Output %v4float
33 %5 = OpConstantNull %v4float
34 %value = OpVariable %_ptr_Output_v4float Output %5
35%_ptr_Output_float = OpTypePointer Output %float
36 %8 = OpConstantNull %float
37%vertex_point_size = OpVariable %_ptr_Output_float Output %8
38 %half = OpTypeFloat 16
39 %9 = OpTypeFunction %half %half
40%half_0x1p_0 = OpConstant %half 0x1p+0
41 %bool = OpTypeBool
42 %18 = OpConstantNull %half
43 %void = OpTypeVoid
44 %21 = OpTypeFunction %void
45%_ptr_Function_half = OpTypePointer Function %half
46 %28 = OpTypeFunction %v4float
47 %float_1 = OpConstant %float 1
48 %tint_acosh = OpFunction %half None %9
49 %x = OpFunctionParameter %half
50 %13 = OpLabel
51 %16 = OpFOrdLessThan %bool %x %half_0x1p_0
52 %19 = OpExtInst %half %20 Acosh %x
53 %14 = OpSelect %half %16 %18 %19
54 OpReturnValue %14
55 OpFunctionEnd
56%acosh_a37dfe = OpFunction %void None %21
57 %24 = OpLabel
58 %res = OpVariable %_ptr_Function_half Function %18
59 %25 = OpFunctionCall %half %tint_acosh %18
60 OpStore %res %25
61 OpReturn
62 OpFunctionEnd
63%vertex_main_inner = OpFunction %v4float None %28
64 %30 = OpLabel
65 %31 = OpFunctionCall %void %acosh_a37dfe
66 OpReturnValue %5
67 OpFunctionEnd
68%vertex_main = OpFunction %void None %21
69 %33 = OpLabel
70 %34 = OpFunctionCall %v4float %vertex_main_inner
71 OpStore %value %34
72 OpStore %vertex_point_size %float_1
73 OpReturn
74 OpFunctionEnd
75%fragment_main = OpFunction %void None %21
76 %37 = OpLabel
77 %38 = OpFunctionCall %void %acosh_a37dfe
78 OpReturn
79 OpFunctionEnd
80%compute_main = OpFunction %void None %21
81 %40 = OpLabel
82 %41 = OpFunctionCall %void %acosh_a37dfe
83 OpReturn
84 OpFunctionEnd