From: Carl Simonson <simonsonc@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH] intel: Add missing vtable entry for i830
Date: Wed, 03 Aug 2011 23:40:43 -0500 [thread overview]
Message-ID: <4E3A22CB.20203@gmail.com> (raw)
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
reply other threads:[~2011-08-04 4:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E3A22CB.20203@gmail.com \
--to=simonsonc@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.