From df7322e7dce723e25f5e9ab110ae4e7a799db4f5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 20 Jul 2018 06:25:51 +1000 Subject: [PATCH] ssbo: reorder var assignment Just a review nit fixup --- src/vrend_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index e428f0b..4086abd 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -2300,9 +2300,9 @@ void vrend_set_single_ssbo(struct vrend_context *ctx, report_context_error(ctx, VIRGL_ERROR_CTX_ILLEGAL_RESOURCE, handle); return; } + ssbo->res = res; ssbo->buffer_offset = offset; ssbo->buffer_size = length; - ssbo->res = res; ctx->sub->ssbo_used_mask[shader_type] |= (1 << index); } else { ssbo->res = 0;