diff options
author | Guido Günther <[email protected]> | 2019-04-03 18:13:49 +0200 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2019-04-04 17:30:19 +0200 |
commit | 593614f4d47fbc8aadec6930d7c7c417c46bbd85 (patch) | |
tree | 560324e4fa040473eb34e8c7e3dac92783548faf /src | |
parent | a5e24dc41655a15a719a91fd0bdaafe37e0ac3e6 (diff) |
gallium/u_dump: util_dump_sampler_view: Dump u.tex.first_level
Dump u.tex.first_level instead of dumping u.tex.last_level twice.
Signed-off-by: Guido Günther <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_dump_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |