Skip to content

nir: reuse existing psiz-variable

For shaders where there's already a psiz-variable, we should rather reuse it than create a second one. This can happen if a shader writes gl_PointSize, but disables GL_PROGRAM_POINT_SIZE.

Fixes: 878c9428 ("nir: add lowering-pass for point-size mov") Reviewed-by: Alyssa Rosenzweig alyssa.rosenzweig@collabora.com

Merge request reports