[Mesa-dev] [PATCH] gallium/u_dump: util_dump_sampler_view: Dump u.tex.first_level
Guido Günther
agx at sigxcpu.org
Wed Apr 3 16:13:49 UTC 2019
Dump u.tex.first_level instead of dumping u.tex.last_level twice.
Signed-off-by: Guido Günther <agx at sigxcpu.org>
---
src/gallium/auxiliary/util/u_dump_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c
index 638dac79db2..6b11f10408a 100644
--- a/src/gallium/auxiliary/util/u_dump_state.c
+++ b/src/gallium/auxiliary/util/u_dump_state.c
@@ -789,7 +789,7 @@ util_dump_sampler_view(FILE *stream, const struct pipe_sampler_view *state)
else {
util_dump_member(stream, uint, state, u.tex.first_layer);
util_dump_member(stream, uint, state, u.tex.last_layer);
- util_dump_member(stream, uint, state, u.tex.last_level);
+ util_dump_member(stream, uint, state, u.tex.first_level);
util_dump_member(stream, uint, state, u.tex.last_level);
}
--
2.20.1
More information about the mesa-dev
mailing list