icd: Make driver use the same definition for dispatch table as loader uses
Loader and icd were using two different structs to define dispatch table.
Consolidate to to use the dispatch table defined in xglLayer.h so we
will not have issues with them getting out of sync.
diff --git a/icd/intel/obj.h b/icd/intel/obj.h
index f7a393c..9728aa7 100644
--- a/icd/intel/obj.h
+++ b/icd/intel/obj.h
@@ -51,7 +51,7 @@
};
struct intel_base {
- const struct icd_dispatch_table *dispatch;
+ const XGL_LAYER_DISPATCH_TABLE *dispatch;
struct intel_base_dbg *dbg;