radv: rework dirtying scissors when the line width changes
The guardband state (part of scissors) needs to be re-emitted when the line width changes. Given this is a dynamic state, it's not necessary to look at the pipeline line width. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18247>
This commit is contained in:

committed by
Marge Bot

parent
5bbb7de514
commit
3c2966fa1b
@@ -6705,7 +6705,6 @@ radv_graphics_pipeline_init(struct radv_graphics_pipeline *pipeline, struct radv
|
||||
pipeline->base.shaders[pipeline->last_vgt_api_stage]->info.force_vrs_per_vertex;
|
||||
pipeline->uses_user_sample_locations = state.ms && state.ms->sample_locations_enable;
|
||||
pipeline->rast_prim = vgt_gs_out_prim_type;
|
||||
pipeline->line_width = state.rs->line.width;
|
||||
|
||||
pipeline->base.push_constant_size = pipeline_layout.push_constant_size;
|
||||
pipeline->base.dynamic_offset_count = pipeline_layout.dynamic_offset_count;
|
||||
|
Reference in New Issue
Block a user