aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-30 22:48:00 -0400
committerMarek Olšák <[email protected]>2018-05-10 18:26:33 -0400
commit835095973df84e3970582c6a3d4a9729990ddda2 (patch)
treef2ffbb417c06bcd932da5fd04cf75953ea6c246e /src/gallium/drivers/radeonsi/si_pipe.h
parentbdc3e410f75d6fd2a3e979447fd5ab69512fd724 (diff)
radeonsi: remove r600_fmask_info
radeon_surf contains almost everything. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 27efc5099f0..b5caf944759 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -230,17 +230,6 @@ struct r600_transfer {
unsigned offset;
};
-struct r600_fmask_info {
- uint64_t offset;
- uint64_t size;
- unsigned alignment;
- unsigned pitch_in_pixels;
- unsigned bank_height;
- unsigned slice_tile_max;
- unsigned tile_mode_index;
- unsigned tile_swizzle;
-};
-
struct r600_cmask_info {
uint64_t offset;
uint64_t size;
@@ -257,7 +246,7 @@ struct r600_texture {
struct r600_texture *flushed_depth_texture;
/* Colorbuffer compression and fast clear. */
- struct r600_fmask_info fmask;
+ uint64_t fmask_offset;
struct r600_cmask_info cmask;
struct r600_resource *cmask_buffer;
uint64_t dcc_offset; /* 0 = disabled */
@@ -1230,10 +1219,6 @@ bool si_prepare_for_dma_blit(struct si_context *sctx,
struct r600_texture *rsrc,
unsigned src_level,
const struct pipe_box *src_box);
-void si_texture_get_fmask_info(struct si_screen *sscreen,
- struct r600_texture *rtex,
- unsigned nr_samples,
- struct r600_fmask_info *out);
void si_texture_get_cmask_info(struct si_screen *sscreen,
struct r600_texture *rtex,
struct r600_cmask_info *out);