From 593614f4d47fbc8aadec6930d7c7c417c46bbd85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Wed, 3 Apr 2019 18:13:49 +0200 Subject: [PATCH] gallium/u_dump: util_dump_sampler_view: Dump u.tex.first_level MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Dump u.tex.first_level instead of dumping u.tex.last_level twice. Signed-off-by: Guido Günther Reviewed-by: Marek Olšák --- 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.30.2