now that shaders are guaranteed to have a pointsize export, the only time
the variant using the uploaded constant is needed is when pointsize != 1.0
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15699>
dirty |= ST_NEW_SCISSOR;
}
- if (st->lower_point_size && st->ctx->LastVertexStageDirty && !st->ctx->VertexProgram.PointSizeEnabled) {
+ if (st->lower_point_size && st->ctx->LastVertexStageDirty &&
+ !st->ctx->VertexProgram.PointSizeEnabled && !st->ctx->PointSizeIsOne) {
if (new_gp) {
st->dirty |= ST_NEW_GS_CONSTANTS;
} else if (new_tep) {