summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-06 09:40:39 -0700
committerJason Ekstrand <[email protected]>2015-10-06 09:40:39 -0700
commitd1908d2c332a4f2d18940bbe14f1e584b1a11ffc (patch)
tree2af364ebde5a8663dc89c16569245bb992f62e6a /src/vulkan/anv_meta.c
parent02a9be31d617ff83f02ff4ce7d3c4288b72ce31b (diff)
vk/0.170.2: Rework parameters to CmdClearDepthStencil functions
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index 0fb4c50adba..4e6ddf49f76 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -1654,8 +1654,7 @@ void anv_CmdClearDepthStencilImage(
VkCmdBuffer cmdBuffer,
VkImage image,
VkImageLayout imageLayout,
- float depth,
- uint32_t stencil,
+ const VkClearDepthStencilValue* pDepthStencil,
uint32_t rangeCount,
const VkImageSubresourceRange* pRanges)
{
@@ -1675,10 +1674,9 @@ void anv_CmdClearColorAttachment(
void anv_CmdClearDepthStencilAttachment(
VkCmdBuffer cmdBuffer,
- VkImageAspectFlags imageAspectMask,
+ VkImageAspectFlags aspectMask,
VkImageLayout imageLayout,
- float depth,
- uint32_t stencil,
+ const VkClearDepthStencilValue* pDepthStencil,
uint32_t rectCount,
const VkRect3D* pRects)
{