r600g: also set TILE_MODE of the base level

This commit is contained in:
Marek Olšák 2011-06-15 04:16:05 +02:00
parent 677a4406d2
commit d9ca94836e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {