zink: remove extra program ref from cached descriptor updates

this happens in draw/compute now

Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12582>
This commit is contained in:
Mike Blumenkrantz 2021-08-06 10:54:05 -04:00 committed by Marge Bot
parent 5c3db42d1d
commit 9bc61108d7
1 changed files with 0 additions and 1 deletions

View File

@ -1373,7 +1373,6 @@ zink_descriptors_update(struct zink_context *ctx, bool is_compute)
ctx->dd->changed[is_compute][h] = false;
}
struct zink_batch *batch = &ctx->batch;
zink_batch_reference_program(batch, pg);
uint32_t dynamic_offsets[PIPE_MAX_CONSTANT_BUFFERS];
unsigned dynamic_offset_idx = 0;