diff options
author | Marek Olšák <[email protected]> | 2017-10-09 18:42:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-10-12 19:03:33 +0200 |
commit | 5f2073be3282a233a8b5bcb5342ea5e599b9b316 (patch) | |
tree | f80d4a27f109ea95e889cfbbf62b7b6d8bde6908 /src/amd/common/ac_surface.h | |
parent | c3f3685fd655550bb189aac814126e5feb56db2b (diff) |
ac/surface: add ac_surface::is_displayable
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r-- | src/amd/common/ac_surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 96138b968ab..7ac4737e6df 100644 --- a/src/amd/common/ac_surface.h +++ b/src/amd/common/ac_surface.h @@ -161,6 +161,8 @@ struct radeon_surf { unsigned num_dcc_levels:4; unsigned is_linear:1; unsigned has_stencil:1; + /* This might be true even if micro_tile_mode isn't displayable or rotated. */ + unsigned is_displayable:1; /* Displayable, thin, depth, rotated. AKA D,S,Z,R swizzle modes. */ unsigned micro_tile_mode:3; uint32_t flags; |