mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
radv/meta: remove unused parameter from some blit init functions
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30640>
This commit is contained in:
parent
eabbd077cc
commit
2352cb2244
1 changed files with 6 additions and 6 deletions
|
|
@ -771,7 +771,7 @@ create_pipeline(struct radv_device *device, VkImageAspectFlagBits aspect, enum g
|
|||
}
|
||||
|
||||
static VkResult
|
||||
radv_device_init_meta_blit_color(struct radv_device *device, bool on_demand)
|
||||
radv_device_init_meta_blit_color(struct radv_device *device)
|
||||
{
|
||||
VkResult result;
|
||||
|
||||
|
|
@ -799,7 +799,7 @@ radv_device_init_meta_blit_color(struct radv_device *device, bool on_demand)
|
|||
}
|
||||
|
||||
static VkResult
|
||||
radv_device_init_meta_blit_depth(struct radv_device *device, bool on_demand)
|
||||
radv_device_init_meta_blit_depth(struct radv_device *device)
|
||||
{
|
||||
VkResult result;
|
||||
|
||||
|
|
@ -818,7 +818,7 @@ radv_device_init_meta_blit_depth(struct radv_device *device, bool on_demand)
|
|||
}
|
||||
|
||||
static VkResult
|
||||
radv_device_init_meta_blit_stencil(struct radv_device *device, bool on_demand)
|
||||
radv_device_init_meta_blit_stencil(struct radv_device *device)
|
||||
{
|
||||
VkResult result;
|
||||
|
||||
|
|
@ -844,13 +844,13 @@ radv_device_init_meta_blit_state(struct radv_device *device, bool on_demand)
|
|||
if (on_demand)
|
||||
return VK_SUCCESS;
|
||||
|
||||
result = radv_device_init_meta_blit_color(device, on_demand);
|
||||
result = radv_device_init_meta_blit_color(device);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
result = radv_device_init_meta_blit_depth(device, on_demand);
|
||||
result = radv_device_init_meta_blit_depth(device);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
return radv_device_init_meta_blit_stencil(device, on_demand);
|
||||
return radv_device_init_meta_blit_stencil(device);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue