mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
zink: remove no longer used internal resource function
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12008>
This commit is contained in:
parent
3137795e38
commit
7665e656c1
1 changed files with 0 additions and 13 deletions
|
|
@ -78,19 +78,6 @@ debug_describe_zink_resource_object(char *buf, const struct zink_resource_object
|
|||
sprintf(buf, "zink_resource_object");
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
get_resource_usage(struct zink_resource *res)
|
||||
{
|
||||
bool reads = zink_batch_usage_exists(res->obj->reads);
|
||||
bool writes = zink_batch_usage_exists(res->obj->writes);
|
||||
uint32_t batch_uses = 0;
|
||||
if (reads)
|
||||
batch_uses |= ZINK_RESOURCE_ACCESS_READ;
|
||||
if (writes)
|
||||
batch_uses |= ZINK_RESOURCE_ACCESS_WRITE;
|
||||
return batch_uses;
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
mem_hash(const void *key)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue