radv: Use const on vi_alpha_is_on_msb arguments.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25770>
This commit is contained in:
@@ -966,7 +966,7 @@ gfx9_border_color_swizzle(const struct util_format_description *desc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
vi_alpha_is_on_msb(struct radv_device *device, VkFormat format)
|
vi_alpha_is_on_msb(const struct radv_device *device, const VkFormat format)
|
||||||
{
|
{
|
||||||
if (device->physical_device->rad_info.gfx_level >= GFX11)
|
if (device->physical_device->rad_info.gfx_level >= GFX11)
|
||||||
return false;
|
return false;
|
||||||
|
@@ -2938,7 +2938,7 @@ VkResult radv_image_create(VkDevice _device, const struct radv_image_create_info
|
|||||||
bool radv_are_formats_dcc_compatible(const struct radv_physical_device *pdev, const void *pNext, VkFormat format,
|
bool radv_are_formats_dcc_compatible(const struct radv_physical_device *pdev, const void *pNext, VkFormat format,
|
||||||
VkImageCreateFlags flags, bool *sign_reinterpret);
|
VkImageCreateFlags flags, bool *sign_reinterpret);
|
||||||
|
|
||||||
bool vi_alpha_is_on_msb(struct radv_device *device, VkFormat format);
|
bool vi_alpha_is_on_msb(const struct radv_device *device, const VkFormat format);
|
||||||
|
|
||||||
VkResult radv_image_from_gralloc(VkDevice device_h, const VkImageCreateInfo *base_info,
|
VkResult radv_image_from_gralloc(VkDevice device_h, const VkImageCreateInfo *base_info,
|
||||||
const VkNativeBufferANDROID *gralloc_info, const VkAllocationCallbacks *alloc,
|
const VkNativeBufferANDROID *gralloc_info, const VkAllocationCallbacks *alloc,
|
||||||
|
Reference in New Issue
Block a user