mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
r600g: flushing texture needs all levels.
For mipmap generation we need all levels in the flushing texture. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
cd6864c079
commit
2271c793e8
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ int r600_texture_depth_flush(struct pipe_context *ctx,
|
|||
resource.width0 = texture->width0;
|
||||
resource.height0 = texture->height0;
|
||||
resource.depth0 = 1;
|
||||
resource.last_level = 0;
|
||||
resource.last_level = texture->last_level;
|
||||
resource.nr_samples = 0;
|
||||
resource.usage = PIPE_USAGE_DYNAMIC;
|
||||
resource.bind = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue