aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-29 15:59:50 -0600
committerBrian Paul <[email protected]>2015-06-01 07:42:02 -0600
commit875918587156e139a82ac9ece9c1290b8019d007 (patch)
treedb6b40391db5a93ae9672ce92f089b54f81c8c70
parentae5d6db924d304a6b4af4f802e4ca1e1e2f25489 (diff)
st/mesa: silence unused var warnings for non-debug build
Reviewed-by: Jose Fonseca <[email protected]>
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 719d08145ea..db190c943a4 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -4209,6 +4209,7 @@ get_pixel_transfer_visitor(struct st_fragment_program *fp,
st_dst_reg temp_dst = st_dst_reg(temp);
assert(st->pixel_xfer.pixelmap_texture);
+ (void) st;
/* With a little effort, we can do four pixel map look-ups with
* two TEX instructions: