diff options
author | Jerome Glisse <[email protected]> | 2010-09-26 12:06:46 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-26 12:06:46 -0400 |
commit | a852615946b98de2d832d4907f09649803577db7 (patch) | |
tree | 2d5def85d8c6c573d9f839cbf28673e24783fb7a /src/gallium/drivers/r600 | |
parent | 6f16e497af9bf5938541d2088e91cc79f1641a19 (diff) |
r600g: disable early cull optimization when occlusion query running
When occlusion query are running we want to have accurate
fragment count thus disable any early culling optimization
GPU has.
Based on work from Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h index 65b029b065f..17d34409dc4 100644 --- a/src/gallium/drivers/r600/r600.h +++ b/src/gallium/drivers/r600/r600.h @@ -246,6 +246,7 @@ struct r600_context { struct radeon_bo **bo; u32 *pm4; struct list_head query_list; + unsigned num_query_running; }; struct r600_draw { |