mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
radv: remove unused pipeline param in radv_generate_ps_epilog_key()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22981>
This commit is contained in:
parent
def2ac22b3
commit
d73b6ce1c7
3 changed files with 3 additions and 7 deletions
|
|
@ -4301,7 +4301,6 @@ radv_cmp_ps_epilog(const void *a_, const void *b_)
|
|||
static struct radv_shader_part *
|
||||
lookup_ps_epilog(struct radv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
const struct radv_graphics_pipeline *pipeline = cmd_buffer->state.graphics_pipeline;
|
||||
const struct radv_rendering_state *render = &cmd_buffer->state.render;
|
||||
const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
|
||||
struct radv_device *device = cmd_buffer->device;
|
||||
|
|
@ -4338,7 +4337,7 @@ lookup_ps_epilog(struct radv_cmd_buffer *cmd_buffer)
|
|||
state.need_src_alpha |= 0x1;
|
||||
}
|
||||
|
||||
struct radv_ps_epilog_key key = radv_generate_ps_epilog_key(device, pipeline, &state, true);
|
||||
struct radv_ps_epilog_key key = radv_generate_ps_epilog_key(device, &state, true);
|
||||
uint32_t hash = radv_hash_ps_epilog(&key);
|
||||
|
||||
u_rwlock_rdlock(&device->ps_epilogs_lock);
|
||||
|
|
|
|||
|
|
@ -1813,7 +1813,6 @@ radv_graphics_pipeline_link(const struct radv_device *device,
|
|||
|
||||
struct radv_ps_epilog_key
|
||||
radv_generate_ps_epilog_key(const struct radv_device *device,
|
||||
const struct radv_graphics_pipeline *pipeline,
|
||||
const struct radv_ps_epilog_state *state, bool disable_mrt_compaction)
|
||||
{
|
||||
unsigned col_format = 0, is_int8 = 0, is_int10 = 0, is_float32 = 0;
|
||||
|
|
@ -1881,7 +1880,6 @@ radv_generate_ps_epilog_key(const struct radv_device *device,
|
|||
|
||||
static struct radv_ps_epilog_key
|
||||
radv_pipeline_generate_ps_epilog_key(const struct radv_device *device,
|
||||
const struct radv_graphics_pipeline *pipeline,
|
||||
const struct vk_graphics_pipeline_state *state,
|
||||
bool disable_mrt_compaction)
|
||||
{
|
||||
|
|
@ -1938,7 +1936,7 @@ radv_pipeline_generate_ps_epilog_key(const struct radv_device *device,
|
|||
}
|
||||
}
|
||||
|
||||
return radv_generate_ps_epilog_key(device, pipeline, &ps_epilog, disable_mrt_compaction);
|
||||
return radv_generate_ps_epilog_key(device, &ps_epilog, disable_mrt_compaction);
|
||||
}
|
||||
|
||||
static struct radv_pipeline_key
|
||||
|
|
@ -2079,7 +2077,7 @@ radv_generate_graphics_pipeline_key(const struct radv_device *device,
|
|||
!(lib_flags & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT));
|
||||
|
||||
key.ps.epilog =
|
||||
radv_pipeline_generate_ps_epilog_key(device, pipeline, state, disable_mrt_compaction);
|
||||
radv_pipeline_generate_ps_epilog_key(device, state, disable_mrt_compaction);
|
||||
|
||||
key.dynamic_patch_control_points =
|
||||
!!(pipeline->dynamic_states & RADV_DYNAMIC_PATCH_CONTROL_POINTS);
|
||||
|
|
|
|||
|
|
@ -1955,7 +1955,6 @@ struct radv_ps_epilog_state
|
|||
};
|
||||
|
||||
struct radv_ps_epilog_key radv_generate_ps_epilog_key(const struct radv_device *device,
|
||||
const struct radv_graphics_pipeline *pipeline,
|
||||
const struct radv_ps_epilog_state *state,
|
||||
bool disable_mrt_compaction);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue