mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 19:10:12 +01:00
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:
parent
ff39212e28
commit
614bb47cbf
2 changed files with 2 additions and 2 deletions
|
|
@ -966,7 +966,7 @@ gfx9_border_color_swizzle(const struct util_format_description *desc)
|
|||
}
|
||||
|
||||
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)
|
||||
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,
|
||||
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,
|
||||
const VkNativeBufferANDROID *gralloc_info, const VkAllocationCallbacks *alloc,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue