aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-05-23 22:42:49 -0400
committerMarek Olšák <[email protected]>2018-07-31 18:28:41 -0400
commit20dd75a9268a1adf0a8b47267ba2c5acc55cb207 (patch)
tree20aa9d150a6b6c3bd64405e88ef5ec115036f627 /src/amd/common/ac_surface.h
parent966f155623e5a626f1d788af7e0f602cdcee6993 (diff)
radeonsi: use storage_samples instead of color_samples in most places
and use pipe_resource::nr_storage_samples instead of r600_texture::num_color_samples. Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 6d95e610a59..8ba964e64ec 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -226,7 +226,7 @@ struct ac_surf_info {
uint32_t height;
uint32_t depth;
uint8_t samples; /* For Z/S: samples; For color: FMASK coverage samples */
- uint8_t color_samples; /* For color: color samples */
+ uint8_t storage_samples; /* For color: allocated samples */
uint8_t levels;
uint8_t num_channels; /* heuristic for displayability */
uint16_t array_size;