projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8af3b
)
r600g: fix regression in r6/7xx since mipmap rework
author
Dave Airlie
<airlied@redhat.com>
Tue, 15 Feb 2011 08:42:48 +0000
(18:42 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 15 Feb 2011 08:43:56 +0000
(18:43 +1000)
I typod this when copy-pasting.
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 bd591bdd8cc0c51fed447b726b0a65088c87bd1d..5e6821004df8b83831dcc59d6db3790d7ed77ddc 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-709,7
+709,7
@@
static void r600_cb(struct r600_pipe_context *rctx, struct r600_pipe_state *rsta
/* XXX quite sure for dx10+ hw don't need any offset hacks */
offset = r600_texture_get_offset(rtex,
level, state->cbufs[cb]->u.tex.first_layer);
- pitch = rtex->pitch_in_blocks[
0
] / 8 - 1;
+ pitch = rtex->pitch_in_blocks[
level
] / 8 - 1;
slice = rtex->pitch_in_blocks[level] * surf->aligned_height / 64 - 1;
ntype = 0;
desc = util_format_description(surf->base.format);