mesa: Disable certain error checks when transform feedback is paused
authorPaul Berry <stereotype441@gmail.com>
Wed, 21 Dec 2011 19:03:11 +0000 (11:03 -0800)
committerPaul Berry <stereotype441@gmail.com>
Fri, 23 Dec 2011 17:43:18 +0000 (09:43 -0800)
commit87c7e5fb876bf280d8693ef3b0f4351b1d2eec3b
tree01eb8cd568607466ec00aedd47128ca5c15f2d0a
parent08ce48733d9441e1daa779027dbea1ce9964cc77
mesa: Disable certain error checks when transform feedback is paused

When transform feedback is paused, it is legal to change programs or
to perform drawing operations using a drawing mode that doesn't match
the transform feedback mode.

Reviewed-by: Brian Paul <brianp@vmare.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shaderapi.c
src/mesa/main/transformfeedback.c