mesa: Draw indirect is not allowed when xfb is active and unpaused
authorMarta Lofstedt <marta.lofstedt@intel.com>
Mon, 26 Oct 2015 10:50:24 +0000 (11:50 +0100)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Tue, 27 Oct 2015 07:49:21 +0000 (08:49 +0100)
commit3daa7e5147f164e822269f13c3bcccfa6446fa83
tree03dabb5cf09a508ad812bfe32fd18dffd1eec27f
parent2c91e086563541271668f9ea6ca58689c0c97d44
mesa: Draw indirect is not allowed when xfb is active and unpaused

OpenGL ES 3.1 specification, section 10.5:
"An INVALID_OPERATION error is generated if
transform feedback is active and not paused."

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