Skip to content

prog_to_nir: produce scalar PSIZ output

Iago Toral requested to merge itoral/mesa:nir_psiz_scalar into master

Fixed function vertex programs were producing vec4 PSIZ with all components undefined but the first, this makes it so it produces a scalar output instead. We take advantage of this to simplify slightly the v3d point size NIR lowering pass, which no longer needs to handle the vec4 case.

@anholt: keeping my promise to not forget about fixing this :)

Merge request reports