diff options
author | Samuel Pitoiset <[email protected]> | 2018-07-10 16:13:38 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-07-12 11:08:40 +0200 |
commit | 6248fbe5e42ef2a620b4c3793af2b809fab6f169 (patch) | |
tree | df2b4e2031c5b866130abe0245da7e7f3ef285a2 /src/amd/vulkan/radv_radeon_winsys.h | |
parent | 501d0edeca321637b20a0ad1b9d476e6919131c3 (diff) |
radv: get rid of buffer object priorities
We mostly use the same priority for all buffer objects, so
I don't think that matter much. This should reduce CPU
overhead a little bit.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_radeon_winsys.h')
-rw-r--r-- | src/amd/vulkan/radv_radeon_winsys.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 8b723e9fb88..526661754fd 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -257,8 +257,7 @@ struct radeon_winsys { struct radeon_winsys_fence *fence); void (*cs_add_buffer)(struct radeon_cmdbuf *cs, - struct radeon_winsys_bo *bo, - uint8_t priority); + struct radeon_winsys_bo *bo); void (*cs_execute_secondary)(struct radeon_cmdbuf *parent, struct radeon_cmdbuf *child); @@ -326,13 +325,12 @@ static inline uint64_t radv_buffer_get_va(struct radeon_winsys_bo *bo) static inline void radv_cs_add_buffer(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, - struct radeon_winsys_bo *bo, - uint8_t priority) + struct radeon_winsys_bo *bo) { if (bo->is_local) return; - ws->cs_add_buffer(cs, bo, priority); + ws->cs_add_buffer(cs, bo); } #endif /* RADV_RADEON_WINSYS_H */ |