radv: only enable the GS copy shader stage if GS is enabled
Ooops. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -3884,7 +3884,7 @@ radv_compute_vgt_shader_stages_en(const struct radv_pipeline *pipeline)
|
||||
|
||||
if (radv_pipeline_has_ngg(pipeline)) {
|
||||
stages |= S_028B54_PRIMGEN_EN(1);
|
||||
} else {
|
||||
} else if (radv_pipeline_has_gs(pipeline)) {
|
||||
stages |= S_028B54_VS_EN(V_028B54_VS_STAGE_COPY_SHADER);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user