dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intel: Add missing vtable entry for i830
@ 2011-08-04  4:40 Carl Simonson
  0 siblings, 0 replies; only message in thread
From: Carl Simonson @ 2011-08-04  4:40 UTC (permalink / raw)
  To: dri-devel

When the "is_hiz_depth_format" vtable entry was added for i915/i956,
the entry for forgotten in the i830 vtable setup.

Signed-off-by: Carl Simonson <simonsonc@gmail.com>
---
  src/mesa/drivers/dri/i915/i830_vtbl.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c 
b/src/mesa/drivers/dri/i915/i830_vtbl.c
index 6d43726..74aa10c 100644
--- a/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -868,6 +868,13 @@ i830_assert_not_dirty( struct intel_context *intel )
     (void) i830;
  }
  +static bool
+i830_is_hiz_depth_format(struct intel_context *intel,
+                         gl_format format)
+{
+   return false;
+}
+
  static void
  i830_invalidate_state(struct intel_context *intel, GLuint new_state)
  {
@@ -898,4 +905,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;
  }
-- 
1.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-04  4:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04  4:40 [PATCH] intel: Add missing vtable entry for i830 Carl Simonson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox