summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_descriptor_set.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-30 10:31:44 -0800
committerJason Ekstrand <[email protected]>2015-11-30 10:58:02 -0800
commit3db43e8f3e60f8dc746eb4ab2e86f6b1b32d248a (patch)
treeda7417bde92a03475d090f621a43310e00ed8c57 /src/vulkan/anv_descriptor_set.c
parent5cb57806b2fe45bbd902bb4e21d7ea216e65834e (diff)
vk/0.210.0: Switch to the new-style handle declarations
Diffstat (limited to 'src/vulkan/anv_descriptor_set.c')
-rw-r--r--src/vulkan/anv_descriptor_set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_descriptor_set.c b/src/vulkan/anv_descriptor_set.c
index d518dfa34ba..22041b540d6 100644
--- a/src/vulkan/anv_descriptor_set.c
+++ b/src/vulkan/anv_descriptor_set.c
@@ -286,7 +286,7 @@ VkResult anv_CreateDescriptorPool(
VkDescriptorPool* pDescriptorPool)
{
anv_finishme("VkDescriptorPool is a stub");
- pDescriptorPool->handle = 1;
+ *pDescriptorPool = (VkDescriptorPool)1;
return VK_SUCCESS;
}
@@ -466,7 +466,7 @@ void anv_UpdateDescriptorSets(
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
for (uint32_t j = 0; j < write->count; j++) {
- assert(write->pDescriptors[j].bufferInfo.buffer.handle);
+ assert(write->pDescriptors[j].bufferInfo.buffer);
ANV_FROM_HANDLE(anv_buffer, buffer,
write->pDescriptors[j].bufferInfo.buffer);
assert(buffer);