summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-11-10 09:17:59 +0100
committerSamuel Pitoiset <[email protected]>2017-11-13 11:05:28 +0100
commit3d95fde661dfc7824527b341ce6ea7c13b4dc9a1 (patch)
tree17a19fc2ca296b570158d152b44856bf32ca2673 /src/amd/vulkan
parentcd64a4f705ef7e1fc552ef907b9c61ea13593ef4 (diff)
radv: remove useless memset() in radv_CreateFence()
All radv_fence fields are initialized here. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 5754816b149..aa0511fd8d5 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -2544,7 +2544,6 @@ VkResult radv_CreateFence(
if (!fence)
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
- memset(fence, 0, sizeof(*fence));
fence->submitted = false;
fence->signalled = !!(pCreateInfo->flags & VK_FENCE_CREATE_SIGNALED_BIT);
fence->fence = device->ws->create_fence();