winsys/amdgpu: Enlarge const IB size.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 14 Apr 2016 00:11:07 +0000 (02:11 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 19 Apr 2016 16:10:30 +0000 (18:10 +0200)
commit7201230582e060aa2eb79c825d3188b437ef7bb8
tree86498170f28ccec8bbc85b302d9b7cc205d26081
parent7997b5f005d4051e84bf64d6d1294f3da5076e5a
winsys/amdgpu: Enlarge const IB size.

Necessary to prevent performance regressions due to extra flushing.

Probably should enlarge it even further when also updating
uniforms through the CE, but this seems large enough for now.

v2: Add preamble IB.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c