When a geometry shader is present, not writing the gl_PrimitiveID is
undefined, so this is unnecessary. Note that this was never reached
on <= GFX8 because vs_common_out.export_prim_id from the GS key was
always FALSE.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13062>
case MESA_SHADER_TESS_EVAL:
info->tes.outinfo.export_prim_id = true;
break;
- case MESA_SHADER_GEOMETRY:
- info->vs.outinfo.export_prim_id = true;
- break;
default:
break;
}