mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
r600g: fix depth0 setting
This commit is contained in:
parent
71fa3f8fe2
commit
833b4fc11e
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ int r600_texture_depth_flush(struct pipe_context *ctx,
|
|||
resource.format = texture->format;
|
||||
resource.width0 = texture->width0;
|
||||
resource.height0 = texture->height0;
|
||||
resource.depth0 = 0;
|
||||
resource.depth0 = 1;
|
||||
resource.last_level = 0;
|
||||
resource.nr_samples = 0;
|
||||
resource.usage = PIPE_USAGE_DYNAMIC;
|
||||
|
|
@ -297,7 +297,7 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx,
|
|||
resource.format = texture->format;
|
||||
resource.width0 = box->width;
|
||||
resource.height0 = box->height;
|
||||
resource.depth0 = 0;
|
||||
resource.depth0 = 1;
|
||||
resource.last_level = 0;
|
||||
resource.nr_samples = 0;
|
||||
resource.usage = PIPE_USAGE_DYNAMIC;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue