d3d12: Fix signed-unsigned comparison warnings
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7780>
This commit is contained in:
@@ -73,7 +73,7 @@ resource_is_busy(struct d3d12_context *ctx,
|
||||
{
|
||||
bool busy = false;
|
||||
|
||||
for (int i = 0; i < ARRAY_SIZE(ctx->batches); i++)
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(ctx->batches); i++)
|
||||
busy |= d3d12_batch_has_references(&ctx->batches[i], res->bo);
|
||||
|
||||
return busy;
|
||||
|
Reference in New Issue
Block a user