summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r--src/vulkan/anv_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c
index 3a1430d49a0..7aef32b8648 100644
--- a/src/vulkan/anv_dump.c
+++ b/src/vulkan/anv_dump.c
@@ -87,7 +87,7 @@ anv_dump_image_to_ppm(struct anv_device *device,
.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,
.commandPool = commandPool,
.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY,
- .bufferCount = 1,
+ .commandBufferCount = 1,
}, &cmd);
assert(result == VK_SUCCESS);