Home
last modified time | relevance | path

Searched refs:batch_uses (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c468 uint32_t batch_uses = 0; in get_resource_usage() local
470 batch_uses |= p_atomic_read(&res->batch_uses[i]) << i; in get_resource_usage()
471 return batch_uses; in get_resource_usage()
485 uint32_t batch_uses = get_resource_usage(res); in zink_transfer_map() local
502 if ((usage & PIPE_MAP_READ && batch_uses >= ZINK_RESOURCE_ACCESS_WRITE) || in zink_transfer_map()
503 (usage & PIPE_MAP_WRITE && batch_uses)) { in zink_transfer_map()
588 if (batch_uses >= ZINK_RESOURCE_ACCESS_WRITE) in zink_transfer_map()
629 uint32_t batch_uses = get_resource_usage(res); in zink_transfer_unmap() local
630 if (batch_uses >= ZINK_RESOURCE_ACCESS_WRITE) in zink_transfer_unmap()
Dzink_batch.c134 res->batch_uses[batch->batch_id] |= mask; in zink_batch_reference_resource_rw()
137 stencil->batch_uses[batch->batch_id] |= mask; in zink_batch_reference_resource_rw()
Dzink_resource.h60 uint8_t batch_uses[4]; member
Dzink_fence.c106 p_atomic_set(&res->batch_uses[fence->batch_id], 0); in fence_remove_resource_access()