diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-26 16:55:27 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-02 14:12:19 -0700 |
| commit | 25e69b09b5a95e668165313a69c86ea6af8aee61 (patch) | |
| tree | daea26dbc070cbb91a3e5f10ed34eb319ed88142 /loader/table_ops.h | |
| parent | 915f84a9f5657ee8d017f8f0489aafcfe00681cf (diff) | |
| download | usermoji-25e69b09b5a95e668165313a69c86ea6af8aee61.tar.xz | |
bug 14848: Verifying Sparse Behavior (WIP)
Merge vkQueueBindSparse*() to one.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14848
Diffstat (limited to 'loader/table_ops.h')
| -rw-r--r-- | loader/table_ops.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h index 6f135c7c..d4a167e7 100644 --- a/loader/table_ops.h +++ b/loader/table_ops.h @@ -55,9 +55,7 @@ static inline void loader_init_device_dispatch_table(VkLayerDispatchTable *table table->GetImageMemoryRequirements = (PFN_vkGetImageMemoryRequirements) gpa(dev, "vkGetImageMemoryRequirements"); table->BindBufferMemory = (PFN_vkBindBufferMemory) gpa(dev, "vkBindBufferMemory"); table->BindImageMemory = (PFN_vkBindImageMemory) gpa(dev, "vkBindImageMemory"); - table->QueueBindSparseBufferMemory = (PFN_vkQueueBindSparseBufferMemory) gpa(dev, "vkQueueBindSparseBufferMemory"); - table->QueueBindSparseImageMemory = (PFN_vkQueueBindSparseImageMemory) gpa(dev, "vkQueueBindSparseImageMemory"); - table->QueueBindSparseImageOpaqueMemory = (PFN_vkQueueBindSparseImageOpaqueMemory) gpa(dev, "vkQueueBindSparseImageOpaqueMemory"); + table->QueueBindSparse = (PFN_vkQueueBindSparse) gpa(dev, "vkQueueBindSparse"); table->CreateFence = (PFN_vkCreateFence) gpa(dev, "vkCreateFence"); table->DestroyFence = (PFN_vkDestroyFence) gpa(dev, "vkDestroyFence"); table->ResetFences = (PFN_vkResetFences) gpa(dev, "vkResetFences"); @@ -221,12 +219,8 @@ static inline void *loader_lookup_device_dispatch_table( return (void *) table->BindBufferMemory; if (!strcmp(name, "BindImageMemory")) return (void *) table->BindImageMemory; - if (!strcmp(name, "QueueBindSparseBufferMemory")) - return (void *) table->QueueBindSparseBufferMemory; - if (!strcmp(name, "QueueBindSparseImageMemory")) - return (void *) table->QueueBindSparseImageMemory; - if (!strcmp(name, "QueueBindSparseImageOpaqueMemory")) - return (void *) table->QueueBindSparseImageOpaqueMemory; + if (!strcmp(name, "QueueBindSparse")) + return (void *) table->QueueBindSparse; if (!strcmp(name, "CreateFence")) return (void *) table->CreateFence; if (!strcmp(name, "DestroyFence")) |
