tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git] / src / gallium / drivers / softpipe / sp_state_sampler.c
index 356196c1917aa1359b59fb33118412ace014dcf9..fda638dcea1ce1aa4e38b54446e37acdd14bb10f 100644 (file)
@@ -200,7 +200,7 @@ prepare_shader_sampling(
 
          if (!sp_tex->dt) {
             /* regular texture - setup array of mipmap level offsets */
-            MAYBE_UNUSED struct pipe_resource *res = view->texture;
+            ASSERTED struct pipe_resource *res = view->texture;
             int j;
 
             if (view->target != PIPE_BUFFER) {