bc88896ab8d1b833a71d0a7eef0107af25662d96
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / framework / vulkan / vkDeviceDriverImpl.inl
1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2  * be lost! Modify the generating script instead.
3  */
4
5 void DeviceDriver::destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const
6 {
7         m_vk.destroyDevice(device, pAllocator);
8 }
9
10 void DeviceDriver::getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex, VkQueue* pQueue) const
11 {
12         m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
13 }
14
15 VkResult DeviceDriver::queueSubmit (VkQueue queue, deUint32 submitCount, const VkSubmitInfo* pSubmits, VkFence fence) const
16 {
17         return m_vk.queueSubmit(queue, submitCount, pSubmits, fence);
18 }
19
20 VkResult DeviceDriver::queueWaitIdle (VkQueue queue) const
21 {
22         return m_vk.queueWaitIdle(queue);
23 }
24
25 VkResult DeviceDriver::deviceWaitIdle (VkDevice device) const
26 {
27         return m_vk.deviceWaitIdle(device);
28 }
29
30 VkResult DeviceDriver::allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const
31 {
32         return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
33 }
34
35 void DeviceDriver::freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) const
36 {
37         m_vk.freeMemory(device, memory, pAllocator);
38 }
39
40 VkResult DeviceDriver::mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) const
41 {
42         return m_vk.mapMemory(device, memory, offset, size, flags, ppData);
43 }
44
45 void DeviceDriver::unmapMemory (VkDevice device, VkDeviceMemory memory) const
46 {
47         m_vk.unmapMemory(device, memory);
48 }
49
50 VkResult DeviceDriver::flushMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const
51 {
52         return m_vk.flushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
53 }
54
55 VkResult DeviceDriver::invalidateMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const
56 {
57         return m_vk.invalidateMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
58 }
59
60 void DeviceDriver::getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) const
61 {
62         m_vk.getDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes);
63 }
64
65 VkResult DeviceDriver::bindBufferMemory (VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) const
66 {
67         return m_vk.bindBufferMemory(device, buffer, memory, memoryOffset);
68 }
69
70 VkResult DeviceDriver::bindImageMemory (VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) const
71 {
72         return m_vk.bindImageMemory(device, image, memory, memoryOffset);
73 }
74
75 void DeviceDriver::getBufferMemoryRequirements (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const
76 {
77         m_vk.getBufferMemoryRequirements(device, buffer, pMemoryRequirements);
78 }
79
80 void DeviceDriver::getImageMemoryRequirements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const
81 {
82         m_vk.getImageMemoryRequirements(device, image, pMemoryRequirements);
83 }
84
85 void DeviceDriver::getImageSparseMemoryRequirements (VkDevice device, VkImage image, deUint32* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) const
86 {
87         m_vk.getImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
88 }
89
90 VkResult DeviceDriver::queueBindSparse (VkQueue queue, deUint32 bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence) const
91 {
92         return m_vk.queueBindSparse(queue, bindInfoCount, pBindInfo, fence);
93 }
94
95 VkResult DeviceDriver::createFence (VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence) const
96 {
97         return m_vk.createFence(device, pCreateInfo, pAllocator, pFence);
98 }
99
100 void DeviceDriver::destroyFence (VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator) const
101 {
102         m_vk.destroyFence(device, fence, pAllocator);
103 }
104
105 VkResult DeviceDriver::resetFences (VkDevice device, deUint32 fenceCount, const VkFence* pFences) const
106 {
107         return m_vk.resetFences(device, fenceCount, pFences);
108 }
109
110 VkResult DeviceDriver::getFenceStatus (VkDevice device, VkFence fence) const
111 {
112         return m_vk.getFenceStatus(device, fence);
113 }
114
115 VkResult DeviceDriver::waitForFences (VkDevice device, deUint32 fenceCount, const VkFence* pFences, VkBool32 waitAll, deUint64 timeout) const
116 {
117         return m_vk.waitForFences(device, fenceCount, pFences, waitAll, timeout);
118 }
119
120 VkResult DeviceDriver::createSemaphore (VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) const
121 {
122         return m_vk.createSemaphore(device, pCreateInfo, pAllocator, pSemaphore);
123 }
124
125 void DeviceDriver::destroySemaphore (VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator) const
126 {
127         m_vk.destroySemaphore(device, semaphore, pAllocator);
128 }
129
130 VkResult DeviceDriver::createEvent (VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent) const
131 {
132         return m_vk.createEvent(device, pCreateInfo, pAllocator, pEvent);
133 }
134
135 void DeviceDriver::destroyEvent (VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator) const
136 {
137         m_vk.destroyEvent(device, event, pAllocator);
138 }
139
140 VkResult DeviceDriver::getEventStatus (VkDevice device, VkEvent event) const
141 {
142         return m_vk.getEventStatus(device, event);
143 }
144
145 VkResult DeviceDriver::setEvent (VkDevice device, VkEvent event) const
146 {
147         return m_vk.setEvent(device, event);
148 }
149
150 VkResult DeviceDriver::resetEvent (VkDevice device, VkEvent event) const
151 {
152         return m_vk.resetEvent(device, event);
153 }
154
155 VkResult DeviceDriver::createQueryPool (VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) const
156 {
157         return m_vk.createQueryPool(device, pCreateInfo, pAllocator, pQueryPool);
158 }
159
160 void DeviceDriver::destroyQueryPool (VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) const
161 {
162         m_vk.destroyQueryPool(device, queryPool, pAllocator);
163 }
164
165 VkResult DeviceDriver::getQueryPoolResults (VkDevice device, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, deUintptr dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) const
166 {
167         return m_vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
168 }
169
170 VkResult DeviceDriver::createBuffer (VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) const
171 {
172         return m_vk.createBuffer(device, pCreateInfo, pAllocator, pBuffer);
173 }
174
175 void DeviceDriver::destroyBuffer (VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator) const
176 {
177         m_vk.destroyBuffer(device, buffer, pAllocator);
178 }
179
180 VkResult DeviceDriver::createBufferView (VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) const
181 {
182         return m_vk.createBufferView(device, pCreateInfo, pAllocator, pView);
183 }
184
185 void DeviceDriver::destroyBufferView (VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) const
186 {
187         m_vk.destroyBufferView(device, bufferView, pAllocator);
188 }
189
190 VkResult DeviceDriver::createImage (VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage) const
191 {
192         return m_vk.createImage(device, pCreateInfo, pAllocator, pImage);
193 }
194
195 void DeviceDriver::destroyImage (VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator) const
196 {
197         m_vk.destroyImage(device, image, pAllocator);
198 }
199
200 void DeviceDriver::getImageSubresourceLayout (VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) const
201 {
202         m_vk.getImageSubresourceLayout(device, image, pSubresource, pLayout);
203 }
204
205 VkResult DeviceDriver::createImageView (VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView) const
206 {
207         return m_vk.createImageView(device, pCreateInfo, pAllocator, pView);
208 }
209
210 void DeviceDriver::destroyImageView (VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator) const
211 {
212         m_vk.destroyImageView(device, imageView, pAllocator);
213 }
214
215 VkResult DeviceDriver::createShaderModule (VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) const
216 {
217         return m_vk.createShaderModule(device, pCreateInfo, pAllocator, pShaderModule);
218 }
219
220 void DeviceDriver::destroyShaderModule (VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) const
221 {
222         m_vk.destroyShaderModule(device, shaderModule, pAllocator);
223 }
224
225 VkResult DeviceDriver::createPipelineCache (VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) const
226 {
227         return m_vk.createPipelineCache(device, pCreateInfo, pAllocator, pPipelineCache);
228 }
229
230 void DeviceDriver::destroyPipelineCache (VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) const
231 {
232         m_vk.destroyPipelineCache(device, pipelineCache, pAllocator);
233 }
234
235 VkResult DeviceDriver::getPipelineCacheData (VkDevice device, VkPipelineCache pipelineCache, deUintptr* pDataSize, void* pData) const
236 {
237         return m_vk.getPipelineCacheData(device, pipelineCache, pDataSize, pData);
238 }
239
240 VkResult DeviceDriver::mergePipelineCaches (VkDevice device, VkPipelineCache dstCache, deUint32 srcCacheCount, const VkPipelineCache* pSrcCaches) const
241 {
242         return m_vk.mergePipelineCaches(device, dstCache, srcCacheCount, pSrcCaches);
243 }
244
245 VkResult DeviceDriver::createGraphicsPipelines (VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const
246 {
247         return m_vk.createGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
248 }
249
250 VkResult DeviceDriver::createComputePipelines (VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const
251 {
252         return m_vk.createComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
253 }
254
255 void DeviceDriver::destroyPipeline (VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator) const
256 {
257         m_vk.destroyPipeline(device, pipeline, pAllocator);
258 }
259
260 VkResult DeviceDriver::createPipelineLayout (VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) const
261 {
262         return m_vk.createPipelineLayout(device, pCreateInfo, pAllocator, pPipelineLayout);
263 }
264
265 void DeviceDriver::destroyPipelineLayout (VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator) const
266 {
267         m_vk.destroyPipelineLayout(device, pipelineLayout, pAllocator);
268 }
269
270 VkResult DeviceDriver::createSampler (VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) const
271 {
272         return m_vk.createSampler(device, pCreateInfo, pAllocator, pSampler);
273 }
274
275 void DeviceDriver::destroySampler (VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator) const
276 {
277         m_vk.destroySampler(device, sampler, pAllocator);
278 }
279
280 VkResult DeviceDriver::createDescriptorSetLayout (VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) const
281 {
282         return m_vk.createDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout);
283 }
284
285 void DeviceDriver::destroyDescriptorSetLayout (VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) const
286 {
287         m_vk.destroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator);
288 }
289
290 VkResult DeviceDriver::createDescriptorPool (VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) const
291 {
292         return m_vk.createDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool);
293 }
294
295 void DeviceDriver::destroyDescriptorPool (VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) const
296 {
297         m_vk.destroyDescriptorPool(device, descriptorPool, pAllocator);
298 }
299
300 VkResult DeviceDriver::resetDescriptorPool (VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) const
301 {
302         return m_vk.resetDescriptorPool(device, descriptorPool, flags);
303 }
304
305 VkResult DeviceDriver::allocateDescriptorSets (VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) const
306 {
307         return m_vk.allocateDescriptorSets(device, pAllocateInfo, pDescriptorSets);
308 }
309
310 VkResult DeviceDriver::freeDescriptorSets (VkDevice device, VkDescriptorPool descriptorPool, deUint32 descriptorSetCount, const VkDescriptorSet* pDescriptorSets) const
311 {
312         return m_vk.freeDescriptorSets(device, descriptorPool, descriptorSetCount, pDescriptorSets);
313 }
314
315 void DeviceDriver::updateDescriptorSets (VkDevice device, deUint32 descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, deUint32 descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies) const
316 {
317         m_vk.updateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
318 }
319
320 VkResult DeviceDriver::createFramebuffer (VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) const
321 {
322         return m_vk.createFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer);
323 }
324
325 void DeviceDriver::destroyFramebuffer (VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator) const
326 {
327         m_vk.destroyFramebuffer(device, framebuffer, pAllocator);
328 }
329
330 VkResult DeviceDriver::createRenderPass (VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const
331 {
332         return m_vk.createRenderPass(device, pCreateInfo, pAllocator, pRenderPass);
333 }
334
335 void DeviceDriver::destroyRenderPass (VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator) const
336 {
337         m_vk.destroyRenderPass(device, renderPass, pAllocator);
338 }
339
340 void DeviceDriver::getRenderAreaGranularity (VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) const
341 {
342         m_vk.getRenderAreaGranularity(device, renderPass, pGranularity);
343 }
344
345 VkResult DeviceDriver::createCommandPool (VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) const
346 {
347         return m_vk.createCommandPool(device, pCreateInfo, pAllocator, pCommandPool);
348 }
349
350 void DeviceDriver::destroyCommandPool (VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) const
351 {
352         m_vk.destroyCommandPool(device, commandPool, pAllocator);
353 }
354
355 VkResult DeviceDriver::resetCommandPool (VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) const
356 {
357         return m_vk.resetCommandPool(device, commandPool, flags);
358 }
359
360 VkResult DeviceDriver::allocateCommandBuffers (VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) const
361 {
362         return m_vk.allocateCommandBuffers(device, pAllocateInfo, pCommandBuffers);
363 }
364
365 void DeviceDriver::freeCommandBuffers (VkDevice device, VkCommandPool commandPool, deUint32 commandBufferCount, const VkCommandBuffer* pCommandBuffers) const
366 {
367         m_vk.freeCommandBuffers(device, commandPool, commandBufferCount, pCommandBuffers);
368 }
369
370 VkResult DeviceDriver::beginCommandBuffer (VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo) const
371 {
372         return m_vk.beginCommandBuffer(commandBuffer, pBeginInfo);
373 }
374
375 VkResult DeviceDriver::endCommandBuffer (VkCommandBuffer commandBuffer) const
376 {
377         return m_vk.endCommandBuffer(commandBuffer);
378 }
379
380 VkResult DeviceDriver::resetCommandBuffer (VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags) const
381 {
382         return m_vk.resetCommandBuffer(commandBuffer, flags);
383 }
384
385 void DeviceDriver::cmdBindPipeline (VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) const
386 {
387         m_vk.cmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline);
388 }
389
390 void DeviceDriver::cmdSetViewport (VkCommandBuffer commandBuffer, deUint32 firstViewport, deUint32 viewportCount, const VkViewport* pViewports) const
391 {
392         m_vk.cmdSetViewport(commandBuffer, firstViewport, viewportCount, pViewports);
393 }
394
395 void DeviceDriver::cmdSetScissor (VkCommandBuffer commandBuffer, deUint32 firstScissor, deUint32 scissorCount, const VkRect2D* pScissors) const
396 {
397         m_vk.cmdSetScissor(commandBuffer, firstScissor, scissorCount, pScissors);
398 }
399
400 void DeviceDriver::cmdSetLineWidth (VkCommandBuffer commandBuffer, float lineWidth) const
401 {
402         m_vk.cmdSetLineWidth(commandBuffer, lineWidth);
403 }
404
405 void DeviceDriver::cmdSetDepthBias (VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) const
406 {
407         m_vk.cmdSetDepthBias(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
408 }
409
410 void DeviceDriver::cmdSetBlendConstants (VkCommandBuffer commandBuffer, const float blendConstants[4]) const
411 {
412         m_vk.cmdSetBlendConstants(commandBuffer, blendConstants);
413 }
414
415 void DeviceDriver::cmdSetDepthBounds (VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds) const
416 {
417         m_vk.cmdSetDepthBounds(commandBuffer, minDepthBounds, maxDepthBounds);
418 }
419
420 void DeviceDriver::cmdSetStencilCompareMask (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 compareMask) const
421 {
422         m_vk.cmdSetStencilCompareMask(commandBuffer, faceMask, compareMask);
423 }
424
425 void DeviceDriver::cmdSetStencilWriteMask (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 writeMask) const
426 {
427         m_vk.cmdSetStencilWriteMask(commandBuffer, faceMask, writeMask);
428 }
429
430 void DeviceDriver::cmdSetStencilReference (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 reference) const
431 {
432         m_vk.cmdSetStencilReference(commandBuffer, faceMask, reference);
433 }
434
435 void DeviceDriver::cmdBindDescriptorSets (VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, deUint32 firstSet, deUint32 descriptorSetCount, const VkDescriptorSet* pDescriptorSets, deUint32 dynamicOffsetCount, const deUint32* pDynamicOffsets) const
436 {
437         m_vk.cmdBindDescriptorSets(commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
438 }
439
440 void DeviceDriver::cmdBindIndexBuffer (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) const
441 {
442         m_vk.cmdBindIndexBuffer(commandBuffer, buffer, offset, indexType);
443 }
444
445 void DeviceDriver::cmdBindVertexBuffers (VkCommandBuffer commandBuffer, deUint32 firstBinding, deUint32 bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) const
446 {
447         m_vk.cmdBindVertexBuffers(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
448 }
449
450 void DeviceDriver::cmdDraw (VkCommandBuffer commandBuffer, deUint32 vertexCount, deUint32 instanceCount, deUint32 firstVertex, deUint32 firstInstance) const
451 {
452         m_vk.cmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
453 }
454
455 void DeviceDriver::cmdDrawIndexed (VkCommandBuffer commandBuffer, deUint32 indexCount, deUint32 instanceCount, deUint32 firstIndex, deInt32 vertexOffset, deUint32 firstInstance) const
456 {
457         m_vk.cmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
458 }
459
460 void DeviceDriver::cmdDrawIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint32 drawCount, deUint32 stride) const
461 {
462         m_vk.cmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride);
463 }
464
465 void DeviceDriver::cmdDrawIndexedIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint32 drawCount, deUint32 stride) const
466 {
467         m_vk.cmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride);
468 }
469
470 void DeviceDriver::cmdDispatch (VkCommandBuffer commandBuffer, deUint32 x, deUint32 y, deUint32 z) const
471 {
472         m_vk.cmdDispatch(commandBuffer, x, y, z);
473 }
474
475 void DeviceDriver::cmdDispatchIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) const
476 {
477         m_vk.cmdDispatchIndirect(commandBuffer, buffer, offset);
478 }
479
480 void DeviceDriver::cmdCopyBuffer (VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions) const
481 {
482         m_vk.cmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
483 }
484
485 void DeviceDriver::cmdCopyImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions) const
486 {
487         m_vk.cmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
488 }
489
490 void DeviceDriver::cmdBlitImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter) const
491 {
492         m_vk.cmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
493 }
494
495 void DeviceDriver::cmdCopyBufferToImage (VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
496 {
497         m_vk.cmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
498 }
499
500 void DeviceDriver::cmdCopyImageToBuffer (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions) const
501 {
502         m_vk.cmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
503 }
504
505 void DeviceDriver::cmdUpdateBuffer (VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData) const
506 {
507         m_vk.cmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData);
508 }
509
510 void DeviceDriver::cmdFillBuffer (VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, deUint32 data) const
511 {
512         m_vk.cmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data);
513 }
514
515 void DeviceDriver::cmdClearColorImage (VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, deUint32 rangeCount, const VkImageSubresourceRange* pRanges) const
516 {
517         m_vk.cmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
518 }
519
520 void DeviceDriver::cmdClearDepthStencilImage (VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, deUint32 rangeCount, const VkImageSubresourceRange* pRanges) const
521 {
522         m_vk.cmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
523 }
524
525 void DeviceDriver::cmdClearAttachments (VkCommandBuffer commandBuffer, deUint32 attachmentCount, const VkClearAttachment* pAttachments, deUint32 rectCount, const VkClearRect* pRects) const
526 {
527         m_vk.cmdClearAttachments(commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
528 }
529
530 void DeviceDriver::cmdResolveImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageResolve* pRegions) const
531 {
532         m_vk.cmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
533 }
534
535 void DeviceDriver::cmdSetEvent (VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) const
536 {
537         m_vk.cmdSetEvent(commandBuffer, event, stageMask);
538 }
539
540 void DeviceDriver::cmdResetEvent (VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) const
541 {
542         m_vk.cmdResetEvent(commandBuffer, event, stageMask);
543 }
544
545 void DeviceDriver::cmdWaitEvents (VkCommandBuffer commandBuffer, deUint32 eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, deUint32 memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, deUint32 bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, deUint32 imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers) const
546 {
547         m_vk.cmdWaitEvents(commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
548 }
549
550 void DeviceDriver::cmdPipelineBarrier (VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, deUint32 memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, deUint32 bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, deUint32 imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers) const
551 {
552         m_vk.cmdPipelineBarrier(commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
553 }
554
555 void DeviceDriver::cmdBeginQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 query, VkQueryControlFlags flags) const
556 {
557         m_vk.cmdBeginQuery(commandBuffer, queryPool, query, flags);
558 }
559
560 void DeviceDriver::cmdEndQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 query) const
561 {
562         m_vk.cmdEndQuery(commandBuffer, queryPool, query);
563 }
564
565 void DeviceDriver::cmdResetQueryPool (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount) const
566 {
567         m_vk.cmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount);
568 }
569
570 void DeviceDriver::cmdWriteTimestamp (VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, deUint32 query) const
571 {
572         m_vk.cmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query);
573 }
574
575 void DeviceDriver::cmdCopyQueryPoolResults (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) const
576 {
577         m_vk.cmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
578 }
579
580 void DeviceDriver::cmdPushConstants (VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, deUint32 offset, deUint32 size, const void* pValues) const
581 {
582         m_vk.cmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues);
583 }
584
585 void DeviceDriver::cmdBeginRenderPass (VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents) const
586 {
587         m_vk.cmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents);
588 }
589
590 void DeviceDriver::cmdNextSubpass (VkCommandBuffer commandBuffer, VkSubpassContents contents) const
591 {
592         m_vk.cmdNextSubpass(commandBuffer, contents);
593 }
594
595 void DeviceDriver::cmdEndRenderPass (VkCommandBuffer commandBuffer) const
596 {
597         m_vk.cmdEndRenderPass(commandBuffer);
598 }
599
600 void DeviceDriver::cmdExecuteCommands (VkCommandBuffer commandBuffer, deUint32 commandBufferCount, const VkCommandBuffer* pCommandBuffers) const
601 {
602         m_vk.cmdExecuteCommands(commandBuffer, commandBufferCount, pCommandBuffers);
603 }
604
605 VkResult DeviceDriver::createSwapchainKHR (VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) const
606 {
607         return m_vk.createSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain);
608 }
609
610 void DeviceDriver::destroySwapchainKHR (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) const
611 {
612         m_vk.destroySwapchainKHR(device, swapchain, pAllocator);
613 }
614
615 VkResult DeviceDriver::getSwapchainImagesKHR (VkDevice device, VkSwapchainKHR swapchain, deUint32* pSwapchainImageCount, VkImage* pSwapchainImages) const
616 {
617         return m_vk.getSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
618 }
619
620 VkResult DeviceDriver::acquireNextImageKHR (VkDevice device, VkSwapchainKHR swapchain, deUint64 timeout, VkSemaphore semaphore, VkFence fence, deUint32* pImageIndex) const
621 {
622         return m_vk.acquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
623 }
624
625 VkResult DeviceDriver::queuePresentKHR (VkQueue queue, const VkPresentInfoKHR* pPresentInfo) const
626 {
627         return m_vk.queuePresentKHR(queue, pPresentInfo);
628 }
629
630 VkResult DeviceDriver::createSharedSwapchainsKHR (VkDevice device, deUint32 swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) const
631 {
632         return m_vk.createSharedSwapchainsKHR(device, swapchainCount, pCreateInfos, pAllocator, pSwapchains);
633 }
634
635 void DeviceDriver::trimCommandPoolKHR (VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlagsKHR flags) const
636 {
637         m_vk.trimCommandPoolKHR(device, commandPool, flags);
638 }
639
640 VkResult DeviceDriver::getSwapchainStatusKHR (VkDevice device, VkSwapchainKHR swapchain) const
641 {
642         return m_vk.getSwapchainStatusKHR(device, swapchain);
643 }
644
645 VkResult DeviceDriver::debugMarkerSetObjectTagEXT (VkDevice device, VkDebugMarkerObjectTagInfoEXT* pTagInfo) const
646 {
647         return m_vk.debugMarkerSetObjectTagEXT(device, pTagInfo);
648 }
649
650 VkResult DeviceDriver::debugMarkerSetObjectNameEXT (VkDevice device, VkDebugMarkerObjectNameInfoEXT* pNameInfo) const
651 {
652         return m_vk.debugMarkerSetObjectNameEXT(device, pNameInfo);
653 }
654
655 void DeviceDriver::cmdDebugMarkerBeginEXT (VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo) const
656 {
657         m_vk.cmdDebugMarkerBeginEXT(commandBuffer, pMarkerInfo);
658 }
659
660 void DeviceDriver::cmdDebugMarkerEndEXT (VkCommandBuffer commandBuffer) const
661 {
662         m_vk.cmdDebugMarkerEndEXT(commandBuffer);
663 }
664
665 void DeviceDriver::cmdDebugMarkerInsertEXT (VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo) const
666 {
667         m_vk.cmdDebugMarkerInsertEXT(commandBuffer, pMarkerInfo);
668 }
669
670 void DeviceDriver::cmdDrawIndirectCountAMD (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, deUint32 maxDrawCount, deUint32 stride) const
671 {
672         m_vk.cmdDrawIndirectCountAMD(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
673 }
674
675 void DeviceDriver::cmdDrawIndexedIndirectCountAMD (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, deUint32 maxDrawCount, deUint32 stride) const
676 {
677         m_vk.cmdDrawIndexedIndirectCountAMD(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
678 }
679
680 VkResult DeviceDriver::getMemoryWin32HandleNV (VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, pt::Win32Handle* pHandle) const
681 {
682         return m_vk.getMemoryWin32HandleNV(device, memory, handleType, pHandle);
683 }
684
685 void DeviceDriver::cmdProcessCommandsNVX (VkCommandBuffer commandBuffer, const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo) const
686 {
687         m_vk.cmdProcessCommandsNVX(commandBuffer, pProcessCommandsInfo);
688 }
689
690 void DeviceDriver::cmdReserveSpaceForCommandsNVX (VkCommandBuffer commandBuffer, const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo) const
691 {
692         m_vk.cmdReserveSpaceForCommandsNVX(commandBuffer, pReserveSpaceInfo);
693 }
694
695 VkResult DeviceDriver::createIndirectCommandsLayoutNVX (VkDevice device, const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) const
696 {
697         return m_vk.createIndirectCommandsLayoutNVX(device, pCreateInfo, pAllocator, pIndirectCommandsLayout);
698 }
699
700 void DeviceDriver::destroyIndirectCommandsLayoutNVX (VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, const VkAllocationCallbacks* pAllocator) const
701 {
702         m_vk.destroyIndirectCommandsLayoutNVX(device, indirectCommandsLayout, pAllocator);
703 }
704
705 VkResult DeviceDriver::createObjectTableNVX (VkDevice device, const VkObjectTableCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable) const
706 {
707         return m_vk.createObjectTableNVX(device, pCreateInfo, pAllocator, pObjectTable);
708 }
709
710 void DeviceDriver::destroyObjectTableNVX (VkDevice device, VkObjectTableNVX objectTable, const VkAllocationCallbacks* pAllocator) const
711 {
712         m_vk.destroyObjectTableNVX(device, objectTable, pAllocator);
713 }
714
715 VkResult DeviceDriver::registerObjectsNVX (VkDevice device, VkObjectTableNVX objectTable, deUint32 objectCount, const VkObjectTableEntryNVX* const* ppObjectTableEntries, const deUint32* pObjectIndices) const
716 {
717         return m_vk.registerObjectsNVX(device, objectTable, objectCount, ppObjectTableEntries, pObjectIndices);
718 }
719
720 VkResult DeviceDriver::unregisterObjectsNVX (VkDevice device, VkObjectTableNVX objectTable, deUint32 objectCount, const VkObjectEntryTypeNVX* pObjectEntryTypes, const deUint32* pObjectIndices) const
721 {
722         return m_vk.unregisterObjectsNVX(device, objectTable, objectCount, pObjectEntryTypes, pObjectIndices);
723 }
724
725 void DeviceDriver::getPhysicalDeviceGeneratedCommandsPropertiesNVX (VkPhysicalDevice physicalDevice, VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits) const
726 {
727         m_vk.getPhysicalDeviceGeneratedCommandsPropertiesNVX(physicalDevice, pFeatures, pLimits);
728 }
729
730 void DeviceDriver::cmdPushDescriptorSetKHR (VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, deUint32 set, deUint32 descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites) const
731 {
732         m_vk.cmdPushDescriptorSetKHR(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites);
733 }
734
735 VkResult DeviceDriver::createDescriptorUpdateTemplateKHR (VkDevice device, const VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) const
736 {
737         return m_vk.createDescriptorUpdateTemplateKHR(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
738 }
739
740 void DeviceDriver::destroyDescriptorUpdateTemplateKHR (VkDevice device, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator) const
741 {
742         m_vk.destroyDescriptorUpdateTemplateKHR(device, descriptorUpdateTemplate, pAllocator);
743 }
744
745 void DeviceDriver::updateDescriptorSetWithTemplateKHR (VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, const void* pData) const
746 {
747         m_vk.updateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, pData);
748 }
749
750 void DeviceDriver::cmdPushDescriptorSetWithTemplateKHR (VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, VkPipelineLayout layout, deUint32 set, const void* pData) const
751 {
752         m_vk.cmdPushDescriptorSetWithTemplateKHR(commandBuffer, descriptorUpdateTemplate, layout, set, pData);
753 }
754
755 VkResult DeviceDriver::getRefreshCycleDurationGOOGLE (VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) const
756 {
757         return m_vk.getRefreshCycleDurationGOOGLE(device, swapchain, pDisplayTimingProperties);
758 }
759
760 VkResult DeviceDriver::getPastPresentationTimingGOOGLE (VkDevice device, VkSwapchainKHR swapchain, deUint32* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) const
761 {
762         return m_vk.getPastPresentationTimingGOOGLE(device, swapchain, pPresentationTimingCount, pPresentationTimings);
763 }