[Mesa-dev] [PATCH 1/3] gallivm: handle huge number of immediates
Brian Paul
brianp at vmware.com
Wed Feb 5 01:54:46 CET 2014
On 02/04/2014 05:34 PM, Zack Rusin wrote:
> We only supported up to 256 immediates, which isn't enough. We had
> code which was allocating immediates as an allocated array, but it
> was always used along a statically backed array for performance
"along with a"
> 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?
LGTM. Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list