radeonsi: set VS_OUT_MISC_SIDE_BUS_ENA=1 for clip distance exports on gfx10.3
This should improve performance of clip distances. Reviewed-by: Pierre-eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18639>
This commit is contained in:
@@ -1336,7 +1336,9 @@ static unsigned si_get_vs_out_cntl(const struct si_shader_selector *sel,
|
||||
S_02881C_USE_VTX_RENDER_TARGET_INDX(sel->info.writes_layer) |
|
||||
S_02881C_USE_VTX_VIEWPORT_INDX(sel->info.writes_viewport_index) |
|
||||
S_02881C_VS_OUT_MISC_VEC_ENA(misc_vec_ena) |
|
||||
S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(misc_vec_ena);
|
||||
S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(misc_vec_ena ||
|
||||
(sel->screen->info.gfx_level >= GFX10_3 &&
|
||||
shader->info.nr_pos_exports > 1));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user