st/mesa: silence unused var warnings for non-debug build
authorBrian Paul <brianp@vmware.com>
Fri, 29 May 2015 21:59:50 +0000 (15:59 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 1 Jun 2015 13:42:02 +0000 (07:42 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index 719d08145eadd8833021ddd80905f3e798f4fabe..db190c943a4fc7c094fbde5b5f9668966462a250 100644 (file)
@@ -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: