• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2if (!(ptrs_.vkAllocateCommandBuffers = reinterpret_cast<PFN_vkAllocateCommandBuffers>(getInstanceProcAddr(instance_, "vkAllocateCommandBuffers")))) {
3  return Result("Vulkan: Unable to load vkAllocateCommandBuffers pointer");
4}
5
6if (!(ptrs_.vkAllocateDescriptorSets = reinterpret_cast<PFN_vkAllocateDescriptorSets>(getInstanceProcAddr(instance_, "vkAllocateDescriptorSets")))) {
7  return Result("Vulkan: Unable to load vkAllocateDescriptorSets pointer");
8}
9
10if (!(ptrs_.vkAllocateMemory = reinterpret_cast<PFN_vkAllocateMemory>(getInstanceProcAddr(instance_, "vkAllocateMemory")))) {
11  return Result("Vulkan: Unable to load vkAllocateMemory pointer");
12}
13
14if (!(ptrs_.vkBeginCommandBuffer = reinterpret_cast<PFN_vkBeginCommandBuffer>(getInstanceProcAddr(instance_, "vkBeginCommandBuffer")))) {
15  return Result("Vulkan: Unable to load vkBeginCommandBuffer pointer");
16}
17
18if (!(ptrs_.vkBindBufferMemory = reinterpret_cast<PFN_vkBindBufferMemory>(getInstanceProcAddr(instance_, "vkBindBufferMemory")))) {
19  return Result("Vulkan: Unable to load vkBindBufferMemory pointer");
20}
21
22if (!(ptrs_.vkBindImageMemory = reinterpret_cast<PFN_vkBindImageMemory>(getInstanceProcAddr(instance_, "vkBindImageMemory")))) {
23  return Result("Vulkan: Unable to load vkBindImageMemory pointer");
24}
25
26if (!(ptrs_.vkCmdBeginRenderPass = reinterpret_cast<PFN_vkCmdBeginRenderPass>(getInstanceProcAddr(instance_, "vkCmdBeginRenderPass")))) {
27  return Result("Vulkan: Unable to load vkCmdBeginRenderPass pointer");
28}
29
30if (!(ptrs_.vkCmdBindDescriptorSets = reinterpret_cast<PFN_vkCmdBindDescriptorSets>(getInstanceProcAddr(instance_, "vkCmdBindDescriptorSets")))) {
31  return Result("Vulkan: Unable to load vkCmdBindDescriptorSets pointer");
32}
33
34if (!(ptrs_.vkCmdBindIndexBuffer = reinterpret_cast<PFN_vkCmdBindIndexBuffer>(getInstanceProcAddr(instance_, "vkCmdBindIndexBuffer")))) {
35  return Result("Vulkan: Unable to load vkCmdBindIndexBuffer pointer");
36}
37
38if (!(ptrs_.vkCmdBindPipeline = reinterpret_cast<PFN_vkCmdBindPipeline>(getInstanceProcAddr(instance_, "vkCmdBindPipeline")))) {
39  return Result("Vulkan: Unable to load vkCmdBindPipeline pointer");
40}
41
42if (!(ptrs_.vkCmdBindVertexBuffers = reinterpret_cast<PFN_vkCmdBindVertexBuffers>(getInstanceProcAddr(instance_, "vkCmdBindVertexBuffers")))) {
43  return Result("Vulkan: Unable to load vkCmdBindVertexBuffers pointer");
44}
45
46if (!(ptrs_.vkCmdClearAttachments = reinterpret_cast<PFN_vkCmdClearAttachments>(getInstanceProcAddr(instance_, "vkCmdClearAttachments")))) {
47  return Result("Vulkan: Unable to load vkCmdClearAttachments pointer");
48}
49
50if (!(ptrs_.vkCmdCopyBuffer = reinterpret_cast<PFN_vkCmdCopyBuffer>(getInstanceProcAddr(instance_, "vkCmdCopyBuffer")))) {
51  return Result("Vulkan: Unable to load vkCmdCopyBuffer pointer");
52}
53
54if (!(ptrs_.vkCmdCopyBufferToImage = reinterpret_cast<PFN_vkCmdCopyBufferToImage>(getInstanceProcAddr(instance_, "vkCmdCopyBufferToImage")))) {
55  return Result("Vulkan: Unable to load vkCmdCopyBufferToImage pointer");
56}
57
58if (!(ptrs_.vkCmdCopyImageToBuffer = reinterpret_cast<PFN_vkCmdCopyImageToBuffer>(getInstanceProcAddr(instance_, "vkCmdCopyImageToBuffer")))) {
59  return Result("Vulkan: Unable to load vkCmdCopyImageToBuffer pointer");
60}
61
62if (!(ptrs_.vkCmdDispatch = reinterpret_cast<PFN_vkCmdDispatch>(getInstanceProcAddr(instance_, "vkCmdDispatch")))) {
63  return Result("Vulkan: Unable to load vkCmdDispatch pointer");
64}
65
66if (!(ptrs_.vkCmdDraw = reinterpret_cast<PFN_vkCmdDraw>(getInstanceProcAddr(instance_, "vkCmdDraw")))) {
67  return Result("Vulkan: Unable to load vkCmdDraw pointer");
68}
69
70if (!(ptrs_.vkCmdDrawIndexed = reinterpret_cast<PFN_vkCmdDrawIndexed>(getInstanceProcAddr(instance_, "vkCmdDrawIndexed")))) {
71  return Result("Vulkan: Unable to load vkCmdDrawIndexed pointer");
72}
73
74if (!(ptrs_.vkCmdEndRenderPass = reinterpret_cast<PFN_vkCmdEndRenderPass>(getInstanceProcAddr(instance_, "vkCmdEndRenderPass")))) {
75  return Result("Vulkan: Unable to load vkCmdEndRenderPass pointer");
76}
77
78if (!(ptrs_.vkCmdPipelineBarrier = reinterpret_cast<PFN_vkCmdPipelineBarrier>(getInstanceProcAddr(instance_, "vkCmdPipelineBarrier")))) {
79  return Result("Vulkan: Unable to load vkCmdPipelineBarrier pointer");
80}
81
82if (!(ptrs_.vkCmdPushConstants = reinterpret_cast<PFN_vkCmdPushConstants>(getInstanceProcAddr(instance_, "vkCmdPushConstants")))) {
83  return Result("Vulkan: Unable to load vkCmdPushConstants pointer");
84}
85
86if (!(ptrs_.vkCreateBuffer = reinterpret_cast<PFN_vkCreateBuffer>(getInstanceProcAddr(instance_, "vkCreateBuffer")))) {
87  return Result("Vulkan: Unable to load vkCreateBuffer pointer");
88}
89
90if (!(ptrs_.vkCreateBufferView = reinterpret_cast<PFN_vkCreateBufferView>(getInstanceProcAddr(instance_, "vkCreateBufferView")))) {
91  return Result("Vulkan: Unable to load vkCreateBufferView pointer");
92}
93
94if (!(ptrs_.vkCreateCommandPool = reinterpret_cast<PFN_vkCreateCommandPool>(getInstanceProcAddr(instance_, "vkCreateCommandPool")))) {
95  return Result("Vulkan: Unable to load vkCreateCommandPool pointer");
96}
97
98if (!(ptrs_.vkCreateComputePipelines = reinterpret_cast<PFN_vkCreateComputePipelines>(getInstanceProcAddr(instance_, "vkCreateComputePipelines")))) {
99  return Result("Vulkan: Unable to load vkCreateComputePipelines pointer");
100}
101
102if (!(ptrs_.vkCreateDescriptorPool = reinterpret_cast<PFN_vkCreateDescriptorPool>(getInstanceProcAddr(instance_, "vkCreateDescriptorPool")))) {
103  return Result("Vulkan: Unable to load vkCreateDescriptorPool pointer");
104}
105
106if (!(ptrs_.vkCreateDescriptorSetLayout = reinterpret_cast<PFN_vkCreateDescriptorSetLayout>(getInstanceProcAddr(instance_, "vkCreateDescriptorSetLayout")))) {
107  return Result("Vulkan: Unable to load vkCreateDescriptorSetLayout pointer");
108}
109
110if (!(ptrs_.vkCreateFence = reinterpret_cast<PFN_vkCreateFence>(getInstanceProcAddr(instance_, "vkCreateFence")))) {
111  return Result("Vulkan: Unable to load vkCreateFence pointer");
112}
113
114if (!(ptrs_.vkCreateFramebuffer = reinterpret_cast<PFN_vkCreateFramebuffer>(getInstanceProcAddr(instance_, "vkCreateFramebuffer")))) {
115  return Result("Vulkan: Unable to load vkCreateFramebuffer pointer");
116}
117
118if (!(ptrs_.vkCreateGraphicsPipelines = reinterpret_cast<PFN_vkCreateGraphicsPipelines>(getInstanceProcAddr(instance_, "vkCreateGraphicsPipelines")))) {
119  return Result("Vulkan: Unable to load vkCreateGraphicsPipelines pointer");
120}
121
122if (!(ptrs_.vkCreateImage = reinterpret_cast<PFN_vkCreateImage>(getInstanceProcAddr(instance_, "vkCreateImage")))) {
123  return Result("Vulkan: Unable to load vkCreateImage pointer");
124}
125
126if (!(ptrs_.vkCreateImageView = reinterpret_cast<PFN_vkCreateImageView>(getInstanceProcAddr(instance_, "vkCreateImageView")))) {
127  return Result("Vulkan: Unable to load vkCreateImageView pointer");
128}
129
130if (!(ptrs_.vkCreatePipelineLayout = reinterpret_cast<PFN_vkCreatePipelineLayout>(getInstanceProcAddr(instance_, "vkCreatePipelineLayout")))) {
131  return Result("Vulkan: Unable to load vkCreatePipelineLayout pointer");
132}
133
134if (!(ptrs_.vkCreateRenderPass = reinterpret_cast<PFN_vkCreateRenderPass>(getInstanceProcAddr(instance_, "vkCreateRenderPass")))) {
135  return Result("Vulkan: Unable to load vkCreateRenderPass pointer");
136}
137
138if (!(ptrs_.vkCreateSampler = reinterpret_cast<PFN_vkCreateSampler>(getInstanceProcAddr(instance_, "vkCreateSampler")))) {
139  return Result("Vulkan: Unable to load vkCreateSampler pointer");
140}
141
142if (!(ptrs_.vkCreateShaderModule = reinterpret_cast<PFN_vkCreateShaderModule>(getInstanceProcAddr(instance_, "vkCreateShaderModule")))) {
143  return Result("Vulkan: Unable to load vkCreateShaderModule pointer");
144}
145
146if (!(ptrs_.vkDestroyBuffer = reinterpret_cast<PFN_vkDestroyBuffer>(getInstanceProcAddr(instance_, "vkDestroyBuffer")))) {
147  return Result("Vulkan: Unable to load vkDestroyBuffer pointer");
148}
149
150if (!(ptrs_.vkDestroyBufferView = reinterpret_cast<PFN_vkDestroyBufferView>(getInstanceProcAddr(instance_, "vkDestroyBufferView")))) {
151  return Result("Vulkan: Unable to load vkDestroyBufferView pointer");
152}
153
154if (!(ptrs_.vkDestroyCommandPool = reinterpret_cast<PFN_vkDestroyCommandPool>(getInstanceProcAddr(instance_, "vkDestroyCommandPool")))) {
155  return Result("Vulkan: Unable to load vkDestroyCommandPool pointer");
156}
157
158if (!(ptrs_.vkDestroyDescriptorPool = reinterpret_cast<PFN_vkDestroyDescriptorPool>(getInstanceProcAddr(instance_, "vkDestroyDescriptorPool")))) {
159  return Result("Vulkan: Unable to load vkDestroyDescriptorPool pointer");
160}
161
162if (!(ptrs_.vkDestroyDescriptorSetLayout = reinterpret_cast<PFN_vkDestroyDescriptorSetLayout>(getInstanceProcAddr(instance_, "vkDestroyDescriptorSetLayout")))) {
163  return Result("Vulkan: Unable to load vkDestroyDescriptorSetLayout pointer");
164}
165
166if (!(ptrs_.vkDestroyFence = reinterpret_cast<PFN_vkDestroyFence>(getInstanceProcAddr(instance_, "vkDestroyFence")))) {
167  return Result("Vulkan: Unable to load vkDestroyFence pointer");
168}
169
170if (!(ptrs_.vkDestroyFramebuffer = reinterpret_cast<PFN_vkDestroyFramebuffer>(getInstanceProcAddr(instance_, "vkDestroyFramebuffer")))) {
171  return Result("Vulkan: Unable to load vkDestroyFramebuffer pointer");
172}
173
174if (!(ptrs_.vkDestroyImage = reinterpret_cast<PFN_vkDestroyImage>(getInstanceProcAddr(instance_, "vkDestroyImage")))) {
175  return Result("Vulkan: Unable to load vkDestroyImage pointer");
176}
177
178if (!(ptrs_.vkDestroyImageView = reinterpret_cast<PFN_vkDestroyImageView>(getInstanceProcAddr(instance_, "vkDestroyImageView")))) {
179  return Result("Vulkan: Unable to load vkDestroyImageView pointer");
180}
181
182if (!(ptrs_.vkDestroyPipeline = reinterpret_cast<PFN_vkDestroyPipeline>(getInstanceProcAddr(instance_, "vkDestroyPipeline")))) {
183  return Result("Vulkan: Unable to load vkDestroyPipeline pointer");
184}
185
186if (!(ptrs_.vkDestroyPipelineLayout = reinterpret_cast<PFN_vkDestroyPipelineLayout>(getInstanceProcAddr(instance_, "vkDestroyPipelineLayout")))) {
187  return Result("Vulkan: Unable to load vkDestroyPipelineLayout pointer");
188}
189
190if (!(ptrs_.vkDestroyRenderPass = reinterpret_cast<PFN_vkDestroyRenderPass>(getInstanceProcAddr(instance_, "vkDestroyRenderPass")))) {
191  return Result("Vulkan: Unable to load vkDestroyRenderPass pointer");
192}
193
194if (!(ptrs_.vkDestroySampler = reinterpret_cast<PFN_vkDestroySampler>(getInstanceProcAddr(instance_, "vkDestroySampler")))) {
195  return Result("Vulkan: Unable to load vkDestroySampler pointer");
196}
197
198if (!(ptrs_.vkDestroyShaderModule = reinterpret_cast<PFN_vkDestroyShaderModule>(getInstanceProcAddr(instance_, "vkDestroyShaderModule")))) {
199  return Result("Vulkan: Unable to load vkDestroyShaderModule pointer");
200}
201
202if (!(ptrs_.vkEndCommandBuffer = reinterpret_cast<PFN_vkEndCommandBuffer>(getInstanceProcAddr(instance_, "vkEndCommandBuffer")))) {
203  return Result("Vulkan: Unable to load vkEndCommandBuffer pointer");
204}
205
206if (!(ptrs_.vkFreeCommandBuffers = reinterpret_cast<PFN_vkFreeCommandBuffers>(getInstanceProcAddr(instance_, "vkFreeCommandBuffers")))) {
207  return Result("Vulkan: Unable to load vkFreeCommandBuffers pointer");
208}
209
210if (!(ptrs_.vkFreeMemory = reinterpret_cast<PFN_vkFreeMemory>(getInstanceProcAddr(instance_, "vkFreeMemory")))) {
211  return Result("Vulkan: Unable to load vkFreeMemory pointer");
212}
213
214if (!(ptrs_.vkGetBufferMemoryRequirements = reinterpret_cast<PFN_vkGetBufferMemoryRequirements>(getInstanceProcAddr(instance_, "vkGetBufferMemoryRequirements")))) {
215  return Result("Vulkan: Unable to load vkGetBufferMemoryRequirements pointer");
216}
217
218if (!(ptrs_.vkGetImageMemoryRequirements = reinterpret_cast<PFN_vkGetImageMemoryRequirements>(getInstanceProcAddr(instance_, "vkGetImageMemoryRequirements")))) {
219  return Result("Vulkan: Unable to load vkGetImageMemoryRequirements pointer");
220}
221
222if (!(ptrs_.vkGetPhysicalDeviceFormatProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties>(getInstanceProcAddr(instance_, "vkGetPhysicalDeviceFormatProperties")))) {
223  return Result("Vulkan: Unable to load vkGetPhysicalDeviceFormatProperties pointer");
224}
225
226if (!(ptrs_.vkGetPhysicalDeviceMemoryProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceMemoryProperties>(getInstanceProcAddr(instance_, "vkGetPhysicalDeviceMemoryProperties")))) {
227  return Result("Vulkan: Unable to load vkGetPhysicalDeviceMemoryProperties pointer");
228}
229
230if (!(ptrs_.vkGetPhysicalDeviceProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceProperties>(getInstanceProcAddr(instance_, "vkGetPhysicalDeviceProperties")))) {
231  return Result("Vulkan: Unable to load vkGetPhysicalDeviceProperties pointer");
232}
233
234if (!(ptrs_.vkMapMemory = reinterpret_cast<PFN_vkMapMemory>(getInstanceProcAddr(instance_, "vkMapMemory")))) {
235  return Result("Vulkan: Unable to load vkMapMemory pointer");
236}
237
238if (!(ptrs_.vkQueueSubmit = reinterpret_cast<PFN_vkQueueSubmit>(getInstanceProcAddr(instance_, "vkQueueSubmit")))) {
239  return Result("Vulkan: Unable to load vkQueueSubmit pointer");
240}
241
242if (!(ptrs_.vkResetCommandBuffer = reinterpret_cast<PFN_vkResetCommandBuffer>(getInstanceProcAddr(instance_, "vkResetCommandBuffer")))) {
243  return Result("Vulkan: Unable to load vkResetCommandBuffer pointer");
244}
245
246if (!(ptrs_.vkResetFences = reinterpret_cast<PFN_vkResetFences>(getInstanceProcAddr(instance_, "vkResetFences")))) {
247  return Result("Vulkan: Unable to load vkResetFences pointer");
248}
249
250if (!(ptrs_.vkUnmapMemory = reinterpret_cast<PFN_vkUnmapMemory>(getInstanceProcAddr(instance_, "vkUnmapMemory")))) {
251  return Result("Vulkan: Unable to load vkUnmapMemory pointer");
252}
253
254if (!(ptrs_.vkUpdateDescriptorSets = reinterpret_cast<PFN_vkUpdateDescriptorSets>(getInstanceProcAddr(instance_, "vkUpdateDescriptorSets")))) {
255  return Result("Vulkan: Unable to load vkUpdateDescriptorSets pointer");
256}
257
258if (!(ptrs_.vkWaitForFences = reinterpret_cast<PFN_vkWaitForFences>(getInstanceProcAddr(instance_, "vkWaitForFences")))) {
259  return Result("Vulkan: Unable to load vkWaitForFences pointer");
260}
261