mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
intel/isl: Add a better comment for format_supports_ccs_e
Reviewed-by: Chad Versace <chadversary@chromium.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
45b3eb4dfc
commit
37a6f48ceb
1 changed files with 6 additions and 0 deletions
|
|
@ -459,6 +459,12 @@ isl_format_supports_ccs_d(const struct gen_device_info *devinfo,
|
|||
return fmtl->bpb == 32 || fmtl->bpb == 64 || fmtl->bpb == 128;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the given format can support single-sample color
|
||||
* compression. This function only checks the format. In order to determine
|
||||
* if a surface supports CCS_E, several other factors need to be considered
|
||||
* such as tiling and sample count. See isl_surf_get_ccs_surf for details.
|
||||
*/
|
||||
bool
|
||||
isl_format_supports_ccs_e(const struct gen_device_info *devinfo,
|
||||
enum isl_format format)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue