return false;
}
-static void
-i830_hiz_resolve_noop(struct intel_context *intel,
- struct intel_region *region)
-{
- /* empty */
-}
-
void
i830InitVtbl(struct i830_context *i830)
{
i830->intel.vtbl.invalidate_state = i830_invalidate_state;
i830->intel.vtbl.render_target_supported = i830_render_target_supported;
i830->intel.vtbl.is_hiz_depth_format = i830_is_hiz_depth_format;
- i830->intel.vtbl.hiz_resolve_depthbuffer = i830_hiz_resolve_noop;
- i830->intel.vtbl.hiz_resolve_hizbuffer = i830_hiz_resolve_noop;
}
return false;
}
-static void
-i915_hiz_resolve_noop(struct intel_context *intel,
- struct intel_region *region)
-{
- /* empty */
-}
-
static void
i915_invalidate_state(struct intel_context *intel, GLuint new_state)
{
i915->intel.vtbl.invalidate_state = i915_invalidate_state;
i915->intel.vtbl.render_target_supported = i915_render_target_supported;
i915->intel.vtbl.is_hiz_depth_format = i915_is_hiz_depth_format;
- i915->intel.vtbl.hiz_resolve_depthbuffer = i915_hiz_resolve_noop;
- i915->intel.vtbl.hiz_resolve_hizbuffer = i915_hiz_resolve_noop;
}
return intel->has_hiz && (format == MESA_FORMAT_X8_Z24);
}
-static void brw_hiz_resolve_noop(struct intel_context *intel,
- struct intel_region *depth_region)
-{
- /* empty */
-}
-
void brwInitVtbl( struct brw_context *brw )
{
brw->intel.vtbl.check_vertex_size = 0;
if (brw->intel.has_hiz) {
brw->intel.vtbl.hiz_resolve_hizbuffer = gen6_hiz_resolve_hizbuffer;
brw->intel.vtbl.hiz_resolve_depthbuffer = gen6_hiz_resolve_depthbuffer;
- } else {
- brw->intel.vtbl.hiz_resolve_hizbuffer = brw_hiz_resolve_noop;
- brw->intel.vtbl.hiz_resolve_depthbuffer = brw_hiz_resolve_noop;
}
if (brw->intel.gen >= 7) {