radv: remove unused radv_is_raster_enabled()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20517>
This commit is contained in:

committed by
Marge Bot

parent
1099fd71b0
commit
480308c6e5
@@ -59,14 +59,6 @@ struct radv_depth_stencil_state {
|
|||||||
uint32_t db_shader_control;
|
uint32_t db_shader_control;
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool
|
|
||||||
radv_is_raster_enabled(const struct radv_graphics_pipeline *pipeline,
|
|
||||||
const VkGraphicsPipelineCreateInfo *pCreateInfo)
|
|
||||||
{
|
|
||||||
return !pCreateInfo->pRasterizationState->rasterizerDiscardEnable ||
|
|
||||||
(pipeline->dynamic_states & RADV_DYNAMIC_RASTERIZER_DISCARD_ENABLE);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
radv_is_static_vrs_enabled(const struct radv_graphics_pipeline *pipeline,
|
radv_is_static_vrs_enabled(const struct radv_graphics_pipeline *pipeline,
|
||||||
const struct vk_graphics_pipeline_state *state)
|
const struct vk_graphics_pipeline_state *state)
|
||||||
|
Reference in New Issue
Block a user