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:

committed by
Marek Olšák

parent
c81a89f662
commit
15e12ab8fc
@@ -420,7 +420,7 @@ static void
|
|||||||
softpipe_delete_compute_state(struct pipe_context *pipe,
|
softpipe_delete_compute_state(struct pipe_context *pipe,
|
||||||
void *cs)
|
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;
|
struct sp_compute_shader *state = (struct sp_compute_shader *)cs;
|
||||||
|
|
||||||
assert(softpipe->cs != state);
|
assert(softpipe->cs != state);
|
||||||
|
Reference in New Issue
Block a user