ir3: A few pvtmem fixes
This fixes a few bugs I noticed from the piglit tests that exercised private memory. I wanted to make sure things weren't completely broken before working on spilling, and piglit seems to test this more heavily than dEQP.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This fixes a few bugs I noticed from the piglit tests that exercised private memory. I wanted to make sure things weren't completely broken before working on spilling, and piglit seems to test this more heavily than dEQP.