gallium: add PIPE_CAP_CONDITIONAL_RENDER
authorMarek Olšák <maraeo@gmail.com>
Tue, 27 Sep 2011 21:08:04 +0000 (23:08 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 30 Sep 2011 21:19:52 +0000 (23:19 +0200)
commit3d13b081c72626acba6b9a25baec740c60dfafe1
tree52b980cb47924f976f1d147cb2f3ae432dbe1fef
parentf5bfe54a34d9c8cd5de2b096d0e8486fe0d990a7
gallium: add PIPE_CAP_CONDITIONAL_RENDER

We were checking whether render_condition is set. That was not reliable,
because it's always set with trace and noop regardless of driver support.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
src/mesa/state_tracker/st_extensions.c