intel: fix queue creation
The type should be the internal engine type, not XGL_QUEUE_TYPE.
diff --git a/icd/intel/queue.h b/icd/intel/queue.h
index 9e7b701..0c60e59 100644
--- a/icd/intel/queue.h
+++ b/icd/intel/queue.h
@@ -27,6 +27,7 @@
#include "kmd/winsys.h"
#include "intel.h"
+#include "gpu.h"
#include "obj.h"
struct intel_cmd;
@@ -47,7 +48,7 @@
}
XGL_RESULT intel_queue_create(struct intel_dev *dev,
- XGL_QUEUE_TYPE type,
+ enum intel_gpu_engine_type engine,
struct intel_queue **queue_ret);
void intel_queue_destroy(struct intel_queue *queue);