From abc226cf41574454c79477c217e60e8ff1fddfad Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 19 Jun 2019 12:47:19 +0100 Subject: tree-wide: replace MAYBE_UNUSED with ASSERTED Suggested-by: Jason Ekstrand Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/gallium/drivers/virgl/virgl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/virgl') diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c index e511750dc69..f68ac815f15 100644 --- a/src/gallium/drivers/virgl/virgl_context.c +++ b/src/gallium/drivers/virgl/virgl_context.c @@ -88,7 +88,7 @@ virgl_rebind_resource(struct virgl_context *vctx, /* Queries use internally created buffers and do not go through transfers. * Index buffers are not bindable. They are not tracked. */ - MAYBE_UNUSED const unsigned tracked_bind = (PIPE_BIND_VERTEX_BUFFER | + ASSERTED const unsigned tracked_bind = (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_CONSTANT_BUFFER | PIPE_BIND_SHADER_BUFFER | PIPE_BIND_SHADER_IMAGE); -- cgit v1.2.3