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:
committed by
Marge Bot
parent
2336058bbb
commit
a1dcf943ab
+1
-1
@@ -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 |
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user