r600g: calculate a better value for array_size (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 3 Feb 2014 05:31:26 +0000 (15:31 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:42 +0000 (10:49 +1000)
commitb209afb153c39be1693879ce9666ca18f12b6a37
tree2319409326fc2ed7b29f915a8429025203944d88
parentce9e939144aa2c711718dce42477858e13f6b264
r600g: calculate a better value for array_size (v2)

attempt to calculate a better value for array size to avoid breaking apps.

v2: use 0xfff like streamout, suggested by Grigori

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c