projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677a440
)
r600g: also set TILE_MODE of the base level
author
Marek Olšák
<maraeo@gmail.com>
Wed, 15 Jun 2011 02:16:05 +0000
(
04:16
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 15 Jun 2011 02:16:05 +0000
(
04:16
+0200)
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index 197279920a2e8d3e463adb8744ea7f5e91409169..d927e4a945e743710fb8e606d5ffab9d0f9ba14e 100644
(file)
--- 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) {