projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
softpipe: fix release build unused variable warning
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_state_shader.c
diff --git
a/src/gallium/drivers/softpipe/sp_state_shader.c
b/src/gallium/drivers/softpipe/sp_state_shader.c
index a7456628d80ae2575863ee5907b85efab7bb8d57..b2eda244268508a67f53e372eb6a89d821225917 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_state_shader.c
+++ b/
src/gallium/drivers/softpipe/sp_state_shader.c
@@
-420,7
+420,7
@@
static void
softpipe_delete_compute_state(struct pipe_context *pipe,
void *cs)
{
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);
struct sp_compute_shader *state = (struct sp_compute_shader *)cs;
assert(softpipe->cs != state);