OSDN Git Service

i830: Add missing vtable entry for i830 from the hiz work.
authorCarl Simonson <simonsonc@gmail.com>
Wed, 10 Aug 2011 18:10:43 +0000 (11:10 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Aug 2011 18:10:43 +0000 (11:10 -0700)
src/mesa/drivers/dri/i915/i830_vtbl.c

index 6d43726..ed5286f 100644 (file)
@@ -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;
 }