diff options
author | Marek Olšák <[email protected]> | 2011-06-15 04:16:05 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-06-15 04:16:05 +0200 |
commit | d9ca94836ee99c87841e24bfa23a6fab9464d04d (patch) | |
tree | e94a82cfcaafe56b6d6fa0a52b2da1dcaa35a8ff | |
parent | 677a4406d20e0a2b6d92c34e9ff6716f31ba1382 (diff) |
r600g: also set TILE_MODE of the base level
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 197279920a2..d927e4a945e 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -467,7 +467,7 @@ static struct pipe_sampler_view *r600_create_sampler_view(struct pipe_context *c pitch = align(tmp->pitch_in_blocks[offset_level] * util_format_get_blockwidth(state->format), 8); - array_mode = tmp->array_mode[0]; + array_mode = tmp->array_mode[offset_level]; tile_type = tmp->tile_type; if (texture->target == PIPE_TEXTURE_1D_ARRAY) { |