diff options
author | Nicolai Hähnle <[email protected]> | 2017-04-07 18:20:34 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-04-24 13:11:13 +0100 |
commit | 2cc119c35aef3ebee39307cb16f1fc8298be6395 (patch) | |
tree | c65f9571990879a6626ecad9787a759a281c1b69 /src/mesa/main/cpuinfo.h | |
parent | 6abdbd8b1014f3e11885fa46716f1d2b3df9e5c2 (diff) |
mesa: move glMultiDrawArrays to vbo and fix error handling
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: [email protected]
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 42d5465b9ba85b4918b9e6fb57994720e3c8a80b)
Diffstat (limited to 'src/mesa/main/cpuinfo.h')
0 files changed, 0 insertions, 0 deletions