Mesa (master): r300g: Force off ZTOP optimizations for now.
Corbin Simpson
csimpson at kemper.freedesktop.org
Wed Aug 19 04:29:00 UTC 2009
Module: Mesa
Branch: master
Commit: e327845e2b72936c60a143d46a52dbbe81afdd72
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e327845e2b72936c60a143d46a52dbbe81afdd72
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Tue Aug 18 21:22:30 2009 -0700
r300g: Force off ZTOP optimizations for now.
---
src/gallium/drivers/r300/r300_state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index a02fb34..27680a3 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -224,7 +224,8 @@ static void*
dsa->alpha_reference = CLAMP(state->alpha.ref_value * 1023.0f,
0, 1023);
} else {
- dsa->z_buffer_top = R300_ZTOP_ENABLE;
+ /* XXX need to fix this to be dynamically set
+ dsa->z_buffer_top = R300_ZTOP_ENABLE; */
}
return (void*)dsa;
More information about the mesa-commit
mailing list