radv/gfx10: enable NGG_WAVE_ID_EN for NGG streamout
Otherwise the wave IDs are probably 0 and it hangs. NGG_WAVE_ID_EN generates wave IDs for GDS OA. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -4284,6 +4284,8 @@ radv_compute_vgt_shader_stages_en(const struct radv_pipeline *pipeline)
|
|||||||
|
|
||||||
if (radv_pipeline_has_ngg(pipeline)) {
|
if (radv_pipeline_has_ngg(pipeline)) {
|
||||||
stages |= S_028B54_PRIMGEN_EN(1);
|
stages |= S_028B54_PRIMGEN_EN(1);
|
||||||
|
if (pipeline->streamout_shader)
|
||||||
|
stages |= S_028B54_NGG_WAVE_ID_EN(1);
|
||||||
} else if (radv_pipeline_has_gs(pipeline)) {
|
} else if (radv_pipeline_has_gs(pipeline)) {
|
||||||
stages |= S_028B54_VS_EN(V_028B54_VS_STAGE_COPY_SHADER);
|
stages |= S_028B54_VS_EN(V_028B54_VS_STAGE_COPY_SHADER);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user