vbo: Declare the index range invalid for DrawTransformFeedback
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 19 May 2016 06:47:01 +0000 (23:47 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 May 2016 02:12:34 +0000 (19:12 -0700)
commita7011922f1d48357f18af4639fad008f6f33a984
treec21f27df56614eee70160bfb430c00f7cb9e3b7f
parentdf6ec2aba52be66423c90c3f00c599cb2eba4558
vbo: Declare the index range invalid for DrawTransformFeedback

Right now, we're setting the range to [0, 0] which is obviously bogus.
Instead, we should set it to be invalid like we do for DrawIndirect.

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/vbo/vbo_exec_array.c