mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 19:40:34 +01:00
isl: constify isl_device_get_sample_counts()
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26632>
This commit is contained in:
parent
2336058bbb
commit
a1dcf943ab
2 changed files with 2 additions and 2 deletions
|
|
@ -420,7 +420,7 @@ isl_device_init(struct isl_device *dev,
|
|||
* supported.
|
||||
*/
|
||||
isl_sample_count_mask_t ATTRIBUTE_CONST
|
||||
isl_device_get_sample_counts(struct isl_device *dev)
|
||||
isl_device_get_sample_counts(const struct isl_device *dev)
|
||||
{
|
||||
if (ISL_GFX_VER(dev) >= 9) {
|
||||
return ISL_SAMPLE_COUNT_1_BIT |
|
||||
|
|
|
|||
|
|
@ -1927,7 +1927,7 @@ isl_device_init(struct isl_device *dev,
|
|||
const struct intel_device_info *info);
|
||||
|
||||
isl_sample_count_mask_t ATTRIBUTE_CONST
|
||||
isl_device_get_sample_counts(struct isl_device *dev);
|
||||
isl_device_get_sample_counts(const struct isl_device *dev);
|
||||
|
||||
/**
|
||||
* :returns: The isl_format_layout for the given isl_format
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue