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:
Jesse Natalie
2020-11-25 17:02:25 -08:00
committed by Marge Bot
parent 6060291c0e
commit 4358af87e7
7 changed files with 40 additions and 36 deletions

View File

@@ -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;