mesa: Draw indirect is not allowed if the default VAO is bound.
authorMarta Lofstedt <marta.lofstedt@intel.com>
Mon, 26 Oct 2015 09:58:37 +0000 (10:58 +0100)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Tue, 27 Oct 2015 11:16:23 +0000 (12:16 +0100)
commit16c49da63a72aa4b1dce5c90397ee4af2f6a8f9d
tree0626d17c3b0ed253d5966eb0d366421a1bdb6de2
parent93eb4f9287576e346838e7b38fec9b42518605f6
mesa: Draw indirect is not allowed if the default VAO is bound.

From OpenGL ES 3.1 specification, section 10.5:
"DrawArraysIndirect requires that all data sourced for the
command, including the DrawArraysIndirectCommand
structure,  be in buffer objects,  and may not be called when
the default vertex array object is bound."

Signed-off-by: Marta Lofstedt <marta.lofstedt@linux.intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/api_validate.c