diff options
author | Jason Ekstrand <[email protected]> | 2015-11-30 11:48:08 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-11-30 11:48:08 -0800 |
commit | a89a485e79ad40793a85979d86d45760362be21a (patch) | |
tree | 26acc2ef861f736838993a420bd1eae691266a34 /src/vulkan/anv_dump.c | |
parent | 6a8a542610243f32ee20989778af06d66d7b5b1a (diff) |
vk/0.210.0: Rename CmdBuffer to CommandBuffer
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r-- | src/vulkan/anv_dump.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c index 3634ae68732..1c5cd4b56f9 100644 --- a/src/vulkan/anv_dump.c +++ b/src/vulkan/anv_dump.c @@ -72,28 +72,28 @@ anv_dump_image_to_ppm(struct anv_device *device, result = anv_BindImageMemory(vk_device, copy_image, memory, 0); assert(result == VK_SUCCESS); - VkCmdPool cmdPool; + VkCommandPool commandPool; result = anv_CreateCommandPool(vk_device, - &(VkCmdPoolCreateInfo) { - .sType = VK_STRUCTURE_TYPE_CMD_POOL_CREATE_INFO, + &(VkCommandPoolCreateInfo) { + .sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, .queueFamilyIndex = 0, .flags = 0, - }, &cmdPool); + }, &commandPool); assert(result == VK_SUCCESS); - VkCmdBuffer cmd; + VkCommandBuffer cmd; result = anv_CreateCommandBuffer(vk_device, - &(VkCmdBufferCreateInfo) { - .sType = VK_STRUCTURE_TYPE_CMD_BUFFER_CREATE_INFO, - .cmdPool = cmdPool, - .level = VK_CMD_BUFFER_LEVEL_PRIMARY, + &(VkCommandBufferCreateInfo) { + .sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_CREATE_INFO, + .commandPool = commandPool, + .level = VK_COMMAND_BUFFER_LEVEL_PRIMARY, .flags = 0, }, &cmd); assert(result == VK_SUCCESS); result = anv_BeginCommandBuffer(cmd, - &(VkCmdBufferBeginInfo) { - .sType = VK_STRUCTURE_TYPE_CMD_BUFFER_BEGIN_INFO, + &(VkCommandBufferBeginInfo) { + .sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, .flags = VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT, }); assert(result == VK_SUCCESS); @@ -169,7 +169,7 @@ anv_dump_image_to_ppm(struct anv_device *device, assert(result == VK_SUCCESS); anv_DestroyFence(vk_device, fence); - anv_DestroyCommandPool(vk_device, cmdPool); + anv_DestroyCommandPool(vk_device, commandPool); uint8_t *map; result = anv_MapMemory(vk_device, memory, 0, reqs.size, 0, (void **)&map); |