gallium/radeon: remove unused RADEON_DEPENDENCY_START_FENCE
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13478>
This commit is contained in:
parent
b5cf0d118c
commit
90ff5ef5c0
|
@ -78,14 +78,6 @@ enum radeon_bo_flag
|
|||
RADEON_FLAG_DRIVER_INTERNAL = (1 << 9),
|
||||
};
|
||||
|
||||
enum radeon_dependency_flag
|
||||
{
|
||||
/* Instead of waiting for a job to finish execution, the dependency will
|
||||
* be signaled when the job starts execution.
|
||||
*/
|
||||
RADEON_DEPENDENCY_START_FENCE = 1 << 1,
|
||||
};
|
||||
|
||||
enum radeon_bo_usage
|
||||
{ /* bitfield */
|
||||
RADEON_USAGE_READ = 2,
|
||||
|
|
|
@ -1225,9 +1225,6 @@ static void amdgpu_cs_add_fence_dependency(struct radeon_cmdbuf *rws,
|
|||
|
||||
util_queue_fence_wait(&fence->submitted);
|
||||
|
||||
/* Start fences are not needed here. */
|
||||
assert(!(dependency_flags & RADEON_DEPENDENCY_START_FENCE));
|
||||
|
||||
if (is_noop_fence_dependency(acs, fence))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue