softpipe: fix release build unused variable warning

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Grazvydas Ignotas
2016-12-10 21:10:47 +02:00
committed by Marek Olšák
parent c81a89f662
commit 15e12ab8fc

View File

@@ -420,7 +420,7 @@ static void
softpipe_delete_compute_state(struct pipe_context *pipe,
void *cs)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
MAYBE_UNUSED struct softpipe_context *softpipe = softpipe_context(pipe);
struct sp_compute_shader *state = (struct sp_compute_shader *)cs;
assert(softpipe->cs != state);