summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.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_meta.c
parent5cb57806b2fe45bbd902bb4e21d7ea216e65834e (diff)
vk/0.210.0: Switch to the new-style handle declarations
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index c9e46a9286e..96792e9d6da 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -335,7 +335,7 @@ anv_device_init_meta_blit_state(struct anv_device *device)
}, {
.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
.stage = VK_SHADER_STAGE_FRAGMENT,
- .shader = {0}, /* TEMPLATE VALUE! FILL ME IN! */
+ .shader = VK_NULL_HANDLE, /* TEMPLATE VALUE! FILL ME IN! */
.pSpecializationInfo = NULL
},
};
@@ -452,7 +452,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
VkTexFilter blit_filter)
{
struct anv_device *device = cmd_buffer->device;
- VkDescriptorPool dummy_desc_pool = { .handle = 1 };
+ VkDescriptorPool dummy_desc_pool = (VkDescriptorPool)1;
struct blit_vb_data {
float pos[2];