summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_buffer.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-09-27 21:56:20 +0200
committerSamuel Pitoiset <[email protected]>2017-10-02 11:56:20 +0200
commit457306fa4c747db5a8f19eb6561b252ddcd211cf (patch)
tree5fb3b8c5a90454d6bab6ede29f118e63298c9c4b /src/amd/vulkan/radv_meta_buffer.c
parentaf62984c8a76a039d182f2929f3741925d129ec3 (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_buffer.c')
-rw-r--r--src/amd/vulkan/radv_meta_buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta_buffer.c b/src/amd/vulkan/radv_meta_buffer.c
index 14f848664c2..f95d8823fcc 100644
--- a/src/amd/vulkan/radv_meta_buffer.c
+++ b/src/amd/vulkan/radv_meta_buffer.c
@@ -121,8 +121,6 @@ VkResult radv_device_init_meta_buffer_state(struct radv_device *device)
struct radv_shader_module fill_cs = { .nir = NULL };
struct radv_shader_module copy_cs = { .nir = NULL };
- zero(device->meta_state.buffer);
-
fill_cs.nir = build_buffer_fill_shader(device);
copy_cs.nir = build_buffer_copy_shader(device);