diff options
author | Samuel Pitoiset <[email protected]> | 2019-01-17 09:33:38 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-01-23 11:31:12 +0100 |
commit | 5f0b17d5818163d6f46144071ebd5544fc341bc0 (patch) | |
tree | 706afd46dd2a6ad0ba714a19c5f4ddf0f3103d74 /src/amd/vulkan/radv_private.h | |
parent | e7ac7924001d87d6c3083562969ff74306cc59d5 (diff) |
radv: compute the GFX9 fence VA at allocation time
Instead of doing every time we emit cache flushes.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index dbe483d05f8..85c18906f84 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1116,8 +1116,7 @@ struct radv_cmd_buffer { VkResult record_result; - uint32_t gfx9_fence_offset; - struct radeon_winsys_bo *gfx9_fence_bo; + uint64_t gfx9_fence_va; uint32_t gfx9_fence_idx; uint64_t gfx9_eop_bug_va; |