diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-27 21:56:20 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-10-02 11:56:20 +0200 |
commit | 457306fa4c747db5a8f19eb6561b252ddcd211cf (patch) | |
tree | 5fb3b8c5a90454d6bab6ede29f118e63298c9c4b /src/amd/vulkan/radv_meta_resolve.c | |
parent | af62984c8a76a039d182f2929f3741925d129ec3 (diff) |
radv: do not need to double zero-init the meta state structures
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_resolve.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_resolve.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c index dd811c25142..80b44c89e97 100644 --- a/src/amd/vulkan/radv_meta_resolve.c +++ b/src/amd/vulkan/radv_meta_resolve.c @@ -238,8 +238,6 @@ radv_device_init_meta_resolve_state(struct radv_device *device) { VkResult res = VK_SUCCESS; - zero(device->meta_state.resolve); - struct radv_shader_module vs_module = { .nir = radv_meta_build_nir_vs_generate_vertices() }; if (!vs_module.nir) { /* XXX: Need more accurate error */ |