diff options
author | Marek Olšák <[email protected]> | 2009-12-04 15:54:29 +0100 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-12-04 09:23:59 -0800 |
commit | 042b524d48ebb15215430149b9b1653f4b46dee3 (patch) | |
tree | 7358877ab41887eb4c0a1de23a43538f0c378035 /src/gallium/drivers/r300 | |
parent | 7679447b5835fd73ab44b3d77b12a034c95af5c5 (diff) |
radeong: flush CS if a buffer being mapped is referenced by it
Also, overlapping occlusion queries seems to work now.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 3bb42f9e434..60be03f54fc 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -382,8 +382,6 @@ static void r300_emit_query_start(struct r300_context *r300) if (!query) return; - /* XXX This will almost certainly not return good results - * for overlapping queries. */ BEGIN_CS(4); if (caps->family == CHIP_FAMILY_RV530) { OUT_CS_REG(RV530_FG_ZBREG_DEST, RV530_FG_ZBREG_DEST_PIPE_SELECT_ALL); |