value |= DV_PF_8888;
}
- /* This isn't quite safe, thus being hidden behind an option. When changing
- * the value of this bit, the pipeline needs to be MI_FLUSHed. And it
- * can only be set when a depth buffer is already defined.
- */
- if (intel->is_945 && intel->use_early_z &&
- depth_region->tiling != I915_TILING_NONE)
- value |= CLASSIC_EARLY_DEPTH;
-
if (depth_region && depth_region->cpp == 4) {
value |= DEPTH_FRMT_24_FIXED_8_OTHER;
}
intel_fbo_init(intel);
- intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z");
-
intel->prim.primitive = ~0;
/* Force all software fallbacks */
*/
bool front_buffer_dirty;
- bool use_early_z;
-
__DRIcontext *driContext;
struct intel_screen *intelScreen;
DRI_CONF_DESC_END
DRI_CONF_OPT_END
- DRI_CONF_OPT_BEGIN_B(early_z, "false")
- DRI_CONF_DESC(en, "Enable early Z in classic mode (unstable, 945-only).")
- DRI_CONF_OPT_END
-
DRI_CONF_OPT_BEGIN_B(fragment_shader, "true")
DRI_CONF_DESC(en, "Enable limited ARB_fragment_shader support on 915/945.")
DRI_CONF_OPT_END