diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 1a139d591c2..dd0fc93259d 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -2170,6 +2170,11 @@ radv_remove_point_size(const struct radv_pipeline_key *pipeline_key, if (producer->xfb_info) return; + /* Do not remove PSIZ for vertex shaders when the topology is unknown. */ + if (producer->info.stage == MESA_SHADER_VERTEX && + pipeline_key->vs.topology == V_008958_DI_PT_NONE) + return; + /* Do not remove PSIZ if the rasterization primitive uses points. */ if (consumer->info.stage == MESA_SHADER_FRAGMENT && ((producer->info.stage == MESA_SHADER_VERTEX &&