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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user