mesa/vbo: move some Draw checks out of validation
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 3 Apr 2017 06:38:18 +0000 (16:38 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 19 Apr 2017 06:53:25 +0000 (16:53 +1000)
commit4df2931a87fe082f90871564a89a09c826641f5b
tree08754c616baa74187a9f9c9cde48f531ca4fa5c6
parent63a14e9e14796ee3e50eb2a66cd9d412e6ab10cc
mesa/vbo: move some Draw checks out of validation

These checks do not generate any errors. Move them so we can add
KHR_no_error support and still make sure we do these checks.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/api_validate.c
src/mesa/vbo/vbo_exec_array.c