r300g: Add another ZTOP condition.

I don't even know if texkill works right now.
This commit is contained in:
Corbin Simpson
2009-10-18 10:30:18 -07:00
parent 838da1d4ae
commit d2e29b502e
@@ -517,6 +517,8 @@ static void r300_update_ztop(struct r300_context* r300)
*/
if (r300->dsa_state->alpha_function) {
r300->ztop_state.z_buffer_top = R300_ZTOP_DISABLE;
} else if (r300->fs->info.uses_kill) {
r300->ztop_state.z_buffer_top = R300_ZTOP_DISABLE;
} else if (r300_fragment_shader_writes_depth(r300->fs)) {
r300->ztop_state.z_buffer_top = R300_ZTOP_DISABLE;
} else if (r300->query_current) {