i915: workaround multiple intelFenceExtension definitions
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 14 Oct 2016 18:09:08 +0000 (19:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 18:22:16 +0000 (19:22 +0100)
Due to conflicting symbol names (between i915 and i965) in the
megadriver, we use a set of defines in i915/intel_screen.h.

With a recent commit we've introduced a symbol intelFenceExtension which
has different implementation for each driver, yet we forgot to add the
define.

Fixes: d11515ff1b3 ("i915/sync: Implement DRI2_Fence extension")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98264
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i915/intel_screen.h

index 891894de4190e627554e3a625cf10f7cfc73b722..11e1a3fa31d9e9b6e9188e2e9893f27dfcbd0ddc 100644 (file)
@@ -156,6 +156,7 @@ struct intel_screen
 #define intel_get_rb_region                 old_intel_get_rb_region
 #define intel_renderbuffer_set_draw_offset  old_intel_renderbuffer_set_draw_offset
 #define intel_miptree_create_for_image_buffer old_intel_miptree_create_for_image_buffer
+#define intelFenceExtension                 old_intelFenceExtension
 
 extern void intelDestroyContext(__DRIcontext * driContextPriv);