projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_state_sampler.c
diff --git
a/src/gallium/drivers/softpipe/sp_state_sampler.c
b/src/gallium/drivers/softpipe/sp_state_sampler.c
index 356196c1917aa1359b59fb33118412ace014dcf9..fda638dcea1ce1aa4e38b54446e37acdd14bb10f 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_state_sampler.c
+++ b/
src/gallium/drivers/softpipe/sp_state_sampler.c
@@
-200,7
+200,7
@@
prepare_shader_sampling(
if (!sp_tex->dt) {
/* regular texture - setup array of mipmap level offsets */
-
MAYBE_UNUS
ED struct pipe_resource *res = view->texture;
+
ASSERT
ED struct pipe_resource *res = view->texture;
int j;
if (view->target != PIPE_BUFFER) {