summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-09-07 00:13:37 +0200
committerMarek Olšák <[email protected]>2017-09-07 17:59:37 +0200
commit4bd2bdbb3c1df08c185b7461474ce9b323fc1b7d (patch)
treeb5066b738a74df87e8c25c30080523b62ed4c975 /src/amd/common/ac_surface.h
parentc4741bbb6fb98f78551f9e42ae570dcc924e0031 (diff)
ac/surface: add radeon_surf::has_stencil for convenience
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 3b993860773..96138b968ab 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -160,6 +160,7 @@ struct radeon_surf {
*/
unsigned num_dcc_levels:4;
unsigned is_linear:1;
+ unsigned has_stencil:1;
/* Displayable, thin, depth, rotated. AKA D,S,Z,R swizzle modes. */
unsigned micro_tile_mode:3;
uint32_t flags;