summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-12-21 10:13:40 -0800
committerPaul Berry <[email protected]>2011-12-23 09:43:18 -0800
commita3a4d01e415404e1bab76d440466952f4ab6171b (patch)
tree5fd4f3c43727cdd38dd5e2b95861e5f9939c7222 /src/getopt
parentb5b2081d75105883c3e7452775c674716b665385 (diff)
mesa: Save and restore GL_RASTERIZER_DISCARD state during meta ops.
During meta-operations (such as _mesa_meta_GenerateMipmap()), we need to be able to draw even if GL_RASTERIZER_DISCARD is enabled. This patch causes _mesa_meta_begin() to save the state of GL_RASTERIZER_DISCARD and disable it (so that drawing can be done during the meta-op), and causes _mesa_meta_end() to restore it. Fixes piglit test "EXT_transform_feedback/generatemipmap discard" on i965 Gen6. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions