mesa: generate GL_INVALID_OPERATION using draw indirect in dlist
authorTimothy Arceri <tarceri@itsqueeze.com>
Sat, 23 Jun 2018 02:29:50 +0000 (12:29 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 29 Jun 2018 22:38:33 +0000 (08:38 +1000)
commit9b32c80357afe5a13e3fcf1e7e9e8a16518715f4
tree15cc2a1bcd71c6b611feee0fc85c0bc9f8cf87b8
parent03f1a2e8dfeae865286586f5569007a5d6b605e6
mesa: generate GL_INVALID_OPERATION using draw indirect in dlist

The spec doesn't explicitly say to generate an error but since
DrawArraysInstanced* and DrawElementsInstanced* do, it makes
sense to do it for these functions also.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/dlist.c