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_bufimage.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_bufimage.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_bufimage.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c index b460143df2e..d73420aef9c 100644 --- a/src/amd/vulkan/radv_meta_bufimage.c +++ b/src/amd/vulkan/radv_meta_bufimage.c @@ -127,8 +127,6 @@ radv_device_init_meta_itob_state(struct radv_device *device) VkResult result; struct radv_shader_module cs = { .nir = NULL }; - zero(device->meta_state.itob); - cs.nir = build_nir_itob_compute_shader(device); /* @@ -327,8 +325,6 @@ radv_device_init_meta_btoi_state(struct radv_device *device) VkResult result; struct radv_shader_module cs = { .nir = NULL }; - zero(device->meta_state.btoi); - cs.nir = build_nir_btoi_compute_shader(device); /* @@ -521,8 +517,6 @@ radv_device_init_meta_itoi_state(struct radv_device *device) VkResult result; struct radv_shader_module cs = { .nir = NULL }; - zero(device->meta_state.itoi); - cs.nir = build_nir_itoi_compute_shader(device); /* @@ -677,8 +671,6 @@ radv_device_init_meta_cleari_state(struct radv_device *device) VkResult result; struct radv_shader_module cs = { .nir = NULL }; - zero(device->meta_state.cleari); - cs.nir = build_nir_cleari_compute_shader(device); /* |