summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-04-07 18:20:34 +0200
committerEmil Velikov <[email protected]>2017-04-24 13:11:13 +0100
commit2cc119c35aef3ebee39307cb16f1fc8298be6395 (patch)
treec65f9571990879a6626ecad9787a759a281c1b69 /src/mesa/main/depth.c
parent6abdbd8b1014f3e11885fa46716f1d2b3df9e5c2 (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/depth.c')
0 files changed, 0 insertions, 0 deletions