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:
Samuel Pitoiset
2023-01-04 15:22:59 +01:00
committed by Marge Bot
parent 1099fd71b0
commit 480308c6e5

View File

@@ -59,14 +59,6 @@ struct radv_depth_stencil_state {
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
radv_is_static_vrs_enabled(const struct radv_graphics_pipeline *pipeline,
const struct vk_graphics_pipeline_state *state)