aco: remove early_rast wait insert
It's done in nir position export. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20691>
This commit is contained in:
@@ -258,14 +258,6 @@ setup_vs_output_info(isel_context* ctx, nir_shader* nir)
|
||||
ctx->num_cull_distances = util_bitcount(outinfo->cull_dist_mask);
|
||||
|
||||
assert(ctx->num_clip_distances + ctx->num_cull_distances <= 8);
|
||||
|
||||
/* GFX10+ early rasterization:
|
||||
* When there are no param exports in an NGG (or legacy VS) shader,
|
||||
* RADV sets NO_PC_EXPORT=1, which means the HW will start clipping and rasterization
|
||||
* as soon as it encounters a DONE pos export. When this happens, PS waves can launch
|
||||
* before the NGG (or VS) waves finish.
|
||||
*/
|
||||
ctx->program->early_rast = ctx->program->gfx_level >= GFX10 && outinfo->param_exports == 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user