From 42d5465b9ba85b4918b9e6fb57994720e3c8a80b Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Fri, 7 Apr 2017 18:20:34 +0200 Subject: mesa: move glMultiDrawArrays to vbo and fix error handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When any count[i] is negative, we must skip all draws. Moving to vbo makes the subsequent change easier. v2: - provide the function in all contexts, including GLES - adjust validation accordingly to include the xfb check v3: - fix mix-up of pre- and post-xfb prim count (Nils Wallménius) Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Timothy Arceri Reviewed-by: Marek Olšák --- src/mapi/glapi/gen/gl_API.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapi/glapi') diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index c0ee2f20f14..522d2e5e80b 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -10219,7 +10219,7 @@ - + -- cgit v1.2.3