From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Simonson Subject: [PATCH] intel: Add missing vtable entry for i830 Date: Wed, 03 Aug 2011 23:40:43 -0500 Message-ID: <4E3A22CB.20203@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gw0-f49.google.com (mail-gw0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DB8B9E73F for ; Wed, 3 Aug 2011 21:40:47 -0700 (PDT) Received: by gwb1 with SMTP id 1so402284gwb.36 for ; Wed, 03 Aug 2011 21:40:46 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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 --- 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