aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-30 22:29:14 -0400
committerMarek Olšák <[email protected]>2018-05-10 18:34:31 -0400
commit912b0163dc5d6929d8a9ae4c6d475807e764832a (patch)
tree115fb6be4b3eaa68306e94a442d4bcc6baeb3f17 /src/amd/common/ac_surface.h
parentee31762ef56a5af6caf9c056e2b7d88ae6d7664d (diff)
ac/surface: add EQAA support
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 45fb8045e53..864b5bad529 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -224,7 +224,8 @@ struct ac_surf_info {
uint32_t width;
uint32_t height;
uint32_t depth;
- uint8_t samples;
+ uint8_t samples; /* For Z/S: samples; For color: FMASK coverage samples */
+ uint8_t color_samples; /* For color: color samples */
uint8_t levels;
uint8_t num_channels; /* heuristic for displayability */
uint16_t array_size;