diff options
author | Marek Olšák <[email protected]> | 2013-08-06 21:30:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-08-17 01:48:25 +0200 |
commit | 356c041167ac96131869622f2a41b3d5b3017f9a (patch) | |
tree | 14e1d840d7d5560ff67187a3359b4ca0d199df91 /src/gallium/drivers/radeonsi/r600_resource.h | |
parent | 4855acd461cc7a540a13da421b74be2198c9369f (diff) |
radeonsi: port texture improvements from r600g
This started as an attempt to add support for MSAA texture transfers and
MSAA depth-stencil decompression for the DB->CB copy path.
It has gotten a bit out of control, but it's for the greater good.
Some changes do not make much sense, they are there just to make it look
like the other driver.
With a few cosmetic modifications, r600_texture.c can be shared with
a symlink.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_resource.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.h b/src/gallium/drivers/radeonsi/r600_resource.h index ab5c7b7a644..da02b070bf5 100644 --- a/src/gallium/drivers/radeonsi/r600_resource.h +++ b/src/gallium/drivers/radeonsi/r600_resource.h @@ -37,7 +37,7 @@ struct r600_transfer { /* Buffer transfer. */ struct pipe_transfer *buffer_transfer; unsigned offset; - struct pipe_resource *staging; + struct si_resource *staging; }; struct r600_fmask_info { @@ -60,11 +60,6 @@ struct r600_cmask_info { struct r600_texture { struct si_resource resource; - /* If this resource is a depth-stencil buffer on evergreen, this contains - * the depth part of the format. There is a separate stencil resource - * for the stencil buffer below. */ - enum pipe_format real_format; - unsigned size; unsigned pitch_override; unsigned is_depth; |