Module: Mesa
Branch: 7.11
Commit: e20346bfc888c545ae5d49642e1461e4b17e71a8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e20346bfc888c545ae5d49642e1461e4b17e71a8

Author: Carl Simonson <[email protected]>
Date:   Wed Aug 10 11:10:43 2011 -0700

i830: Add missing vtable entry for i830 from the hiz work.

(cherry picked from commit 09eeb0ff27005c0ffccd5cdbe46862e181a4ee6c)

---

 src/mesa/drivers/dri/i915/i830_vtbl.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c 
b/src/mesa/drivers/dri/i915/i830_vtbl.c
index 3051835..7e982ea 100644
--- a/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -883,6 +883,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)
 {
@@ -900,4 +906,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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to