nvc0: fix the driver cb size when draw parameters are used
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Jul 2016 19:26:25 +0000 (21:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Jul 2016 20:11:27 +0000 (22:11 +0200)
commit31a615677b26587e63efe2c8cc0bdfecbf82fbae
tree84ad2dfd6a541b41bc292931d12060cea365ef61
parent19d0450b2758ec9681747e9229b46f9eb637378b
nvc0: fix the driver cb size when draw parameters are used

The size of the driver constant buffer for each stage should be 2048
and not 512 because it has been increased recently for buffers/images.
While we are at it, do the same change for indirect draws.

This fixes all ARB_shader_draw_parameters tests on GM107.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: 12.0 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c