[Mesa-dev] [PATCH 1/3] gallivm: handle huge number of immediates

Zack Rusin zackr at vmware.com
Wed Feb 5 02:45:39 CET 2014


> > reasons. This commit adds code to skip that performance optimization
> > and always use just the dynamically allocated immediates if the
> > number of them is too great.
> 
> So is there any limit on the number of immediates now?

Technically not. Practically other parts of the code will max out and assert at anything greater than 4096 which is what sm4 defines as maximum for temps. So at least theoretically the gallivm code will just work if that limit is increased elsewhere.

z


More information about the mesa-dev mailing list