mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
r600g: fix cb offset for flushed_depth_texture
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
d5e91a2364
commit
3d441153a1
1 changed files with 1 additions and 1 deletions
|
|
@ -1357,7 +1357,7 @@ static void evergreen_cb(struct r600_pipe_context *rctx, struct r600_pipe_state
|
|||
}
|
||||
|
||||
/* XXX quite sure for dx10+ hw don't need any offset hacks */
|
||||
offset = r600_texture_get_offset((struct r600_resource_texture *)state->cbufs[cb]->texture,
|
||||
offset = r600_texture_get_offset(rtex,
|
||||
level, state->cbufs[cb]->u.tex.first_layer);
|
||||
pitch = rtex->pitch_in_blocks[level] / 8 - 1;
|
||||
slice = rtex->pitch_in_blocks[level] * surf->aligned_height / 64 - 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue