mirror of https://gitlab.freedesktop.org/mesa/mesa
radv: make radv_pipeline_has_ngg static
radv_pipeline_has_ngg has no external user anymore. Also remove the unused radv_pipeline_has_gs_copy_shader. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29200>
This commit is contained in:
parent
be391fdb33
commit
59babe9fa0
|
@ -72,7 +72,7 @@ radv_pipeline_has_color_attachments(const struct vk_render_pass_state *rp)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
radv_pipeline_has_ngg(const struct radv_graphics_pipeline *pipeline)
|
||||
{
|
||||
struct radv_shader *shader = pipeline->base.shaders[pipeline->last_vgt_api_stage];
|
||||
|
@ -80,12 +80,6 @@ radv_pipeline_has_ngg(const struct radv_graphics_pipeline *pipeline)
|
|||
return shader->info.is_ngg;
|
||||
}
|
||||
|
||||
bool
|
||||
radv_pipeline_has_gs_copy_shader(const struct radv_pipeline *pipeline)
|
||||
{
|
||||
return !!pipeline->gs_copy_shader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get rid of DST in the blend factors by commuting the operands:
|
||||
* func(src * DST, dst * 0) ---> func(src * 0, dst * SRC)
|
||||
|
|
|
@ -562,10 +562,6 @@ radv_normalize_blend_factor(VkBlendOp op, VkBlendFactor *src_factor, VkBlendFact
|
|||
}
|
||||
}
|
||||
|
||||
bool radv_pipeline_has_ngg(const struct radv_graphics_pipeline *pipeline);
|
||||
|
||||
bool radv_pipeline_has_gs_copy_shader(const struct radv_pipeline *pipeline);
|
||||
|
||||
void radv_blend_remove_dst(VkBlendOp *func, VkBlendFactor *src_factor, VkBlendFactor *dst_factor,
|
||||
VkBlendFactor expected_dst, VkBlendFactor replacement_src);
|
||||
|
||||
|
|
Loading…
Reference in New Issue