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_decompress.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/amd/vulkan/radv_meta_decompress.c') diff --git a/src/amd/vulkan/radv_meta_decompress.c b/src/amd/vulkan/radv_meta_decompress.c index 1a1a5612e2b..23bc2e6dfd4 100644 --- a/src/amd/vulkan/radv_meta_decompress.c +++ b/src/amd/vulkan/radv_meta_decompress.c @@ -232,8 +232,6 @@ radv_device_init_meta_depth_decomp_state(struct radv_device *device) struct radv_meta_state *state = &device->meta_state; VkResult res = VK_SUCCESS; - zero(state->depth_decomp); - struct radv_shader_module vs_module = { .nir = radv_meta_build_nir_vs_generate_vertices() }; if (!vs_module.nir) { /* XXX: Need more accurate error */ -- cgit v1.2.3