[Mesa-dev] [PATCH] intel: Add missing vtable entry for i830
Carl Simonson
simonsonc at gmail.com
Sat Aug 6 09:43:01 PDT 2011
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 at 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
More information about the mesa-dev
mailing list