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 <tarceri@itsqueeze.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> |
||
|---|---|---|
| .. | ||
| es1api | ||
| es2api | ||
| glapi | ||
| shared-glapi | ||
| .gitignore | ||
| Android.mk | ||
| entry.c | ||
| entry.h | ||
| entry_x86-64_tls.h | ||
| entry_x86_tls.h | ||
| entry_x86_tsd.h | ||
| Makefile.am | ||
| Makefile.sources | ||
| mapi_abi.py | ||
| mapi_glapi.c | ||
| mapi_tmp.h | ||
| stub.c | ||
| stub.h | ||
| table.c | ||
| table.h | ||
| u_current.c | ||
| u_current.h | ||
| u_execmem.c | ||
| u_execmem.h | ||