From: Carl Simonson Date: Wed, 10 Aug 2011 18:10:43 +0000 (-0700) Subject: i830: Add missing vtable entry for i830 from the hiz work. X-Git-Tag: mesa-8.0-rc1~2728^2~313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09eeb0ff27005c0ffccd5cdbe46862e181a4ee6c;p=platform%2Fupstream%2Fmesa.git i830: Add missing vtable entry for i830 from the hiz work. --- diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c index 6d43726..ed5286f 100644 --- a/src/mesa/drivers/dri/i915/i830_vtbl.c +++ b/src/mesa/drivers/dri/i915/i830_vtbl.c @@ -881,6 +881,12 @@ i830_invalidate_state(struct intel_context *intel, GLuint new_state) i830_update_provoking_vertex(&intel->ctx); } +static bool +i830_is_hiz_depth_format(struct intel_context *intel, gl_format format) +{ + return false; +} + void i830InitVtbl(struct i830_context *i830) { @@ -898,4 +904,5 @@ i830InitVtbl(struct i830_context *i830) i830->intel.vtbl.finish_batch = intel_finish_vb; 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; }