vc4: Fix point size lookup.
authorEric Anholt <eric@anholt.net>
Sat, 21 Nov 2015 02:52:58 +0000 (18:52 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 22 Nov 2015 02:55:31 +0000 (18:55 -0800)
commit81544f231ad6eba1c7eb8b89273c59eb53a25879
tree4ebb2f95e0d416846d1c8ccd6271929506faf810
parent4befd82a649e926e64bc2c17cf362a84d5be42e6
vc4: Fix point size lookup.

I think I may have regressed this in the NIR conversion.  TGSI-to-NIR is
putting the PSIZ in the .x channel, not .w, so we were grabbing some
garbage for point size, which ended up meaning just not drawing points.

Fixes glean pointAtten and pointsprite.
src/gallium/drivers/vc4/vc4_program.c