aboutsummaryrefslogtreecommitdiff
path: root/loader/table_ops.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-15 16:51:05 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-23 17:31:13 -0600
commit21eb93d89a7ac0cd281d7bb3ca277c7fc7163380 (patch)
treeed2b12c9c8e9ba82ce9360cb1c15be6b2083d5a6 /loader/table_ops.h
parent0db2c910ea48122e229ea45ad3301bf9a70a5331 (diff)
downloadusermoji-21eb93d89a7ac0cd281d7bb3ca277c7fc7163380.tar.xz
bug-14291: combine color and depth/stencil clears
Diffstat (limited to 'loader/table_ops.h')
-rw-r--r--loader/table_ops.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h
index 6c732d0a..a10fe8a1 100644
--- a/loader/table_ops.h
+++ b/loader/table_ops.h
@@ -149,8 +149,7 @@ static inline void loader_init_device_dispatch_table(VkLayerDispatchTable *table
table->CmdFillBuffer = (PFN_vkCmdFillBuffer) gpa(dev, "vkCmdFillBuffer");
table->CmdClearColorImage = (PFN_vkCmdClearColorImage) gpa(dev, "vkCmdClearColorImage");
table->CmdClearDepthStencilImage = (PFN_vkCmdClearDepthStencilImage) gpa(dev, "vkCmdClearDepthStencilImage");
- table->CmdClearColorAttachment = (PFN_vkCmdClearColorAttachment) gpa(dev, "vkCmdClearColorAttachment");
- table->CmdClearDepthStencilAttachment = (PFN_vkCmdClearDepthStencilAttachment) gpa(dev, "vkCmdClearDepthStencilAttachment");
+ table->CmdClearAttachments = (PFN_vkCmdClearAttachments) gpa(dev, "vkCmdClearAttachments");
table->CmdResolveImage = (PFN_vkCmdResolveImage) gpa(dev, "vkCmdResolveImage");
table->CmdSetEvent = (PFN_vkCmdSetEvent) gpa(dev, "vkCmdSetEvent");
table->CmdResetEvent = (PFN_vkCmdResetEvent) gpa(dev, "vkCmdResetEvent");
@@ -413,10 +412,8 @@ static inline void *loader_lookup_device_dispatch_table(
return (void *) table->CmdClearColorImage;
if (!strcmp(name, "CmdClearDepthStencilImage"))
return (void *) table->CmdClearDepthStencilImage;
- if (!strcmp(name, "CmdClearColorAttachment"))
- return (void *) table->CmdClearColorAttachment;
- if (!strcmp(name, "CmdClearDepthStencilAttachment"))
- return (void *) table->CmdClearDepthStencilAttachment;
+ if (!strcmp(name, "CmdClearAttachments"))
+ return (void *) table->CmdClearAttachments;
if (!strcmp(name, "CmdResolveImage"))
return (void *) table->CmdResolveImage;
if (!strcmp(name, "CmdSetEvent"))