From 457306fa4c747db5a8f19eb6561b252ddcd211cf Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 27 Sep 2017 21:56:20 +0200 Subject: radv: do not need to double zero-init the meta state structures Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_meta_blit2d.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/amd/vulkan/radv_meta_blit2d.c') diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c index f7809b44861..751f5914fce 100644 --- a/src/amd/vulkan/radv_meta_blit2d.c +++ b/src/amd/vulkan/radv_meta_blit2d.c @@ -1136,8 +1136,6 @@ radv_device_init_meta_blit2d_state(struct radv_device *device) { VkResult result; - zero(device->meta_state.blit2d); - const VkPushConstantRange push_constant_ranges[] = { {VK_SHADER_STAGE_VERTEX_BIT, 0, 16}, {VK_SHADER_STAGE_FRAGMENT_BIT, 16, 4}, -- cgit v1.2.3