summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_defines.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-14 05:18:47 +0200
committerMarek Olšák <[email protected]>2010-06-14 12:46:38 +0200
commitcf3778bae03460325960d2aec0cd4cdf325299eb (patch)
treebb8fe4cad9fff52b0a4995c9889f18c141034e3b /src/gallium/drivers/r300/r300_defines.h
parent824c1f6a4a6d5ff2f93dee738f59173ffeb171f1 (diff)
r300g: rewrite occlusion queries
The previous implementation had issues with queries spanning over several command streams as well as using a very large number of queries. This fixes flickering in Enemy Territory: Quake Wars. The driver now renders everything correctly in this game and the graphics is awesome.
Diffstat (limited to 'src/gallium/drivers/r300/r300_defines.h')
-rw-r--r--src/gallium/drivers/r300/r300_defines.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_defines.h b/src/gallium/drivers/r300/r300_defines.h
index 565a2f3e0e9..d510d80a7bb 100644
--- a/src/gallium/drivers/r300/r300_defines.h
+++ b/src/gallium/drivers/r300/r300_defines.h
@@ -32,12 +32,6 @@
#define R300_INVALID_FORMAT 0xffff
-/* XXX: this is just a bandaid on larger problems in
- * r300_screen_buffer.h which doesn't seem to be fully ported to
- * gallium-resources.
- */
-#define R300_BIND_OQBO (1<<21)
-
/* Tiling flags. */
enum r300_buffer_tiling {
R300_BUFFER_LINEAR = 0,