intel: fix queue creation

The type should be the internal engine type, not XGL_QUEUE_TYPE.
diff --git a/icd/intel/queue.c b/icd/intel/queue.c
index ef84685..7f11bb8 100644
--- a/icd/intel/queue.c
+++ b/icd/intel/queue.c
@@ -29,20 +29,16 @@
 #include "queue.h"
 
 XGL_RESULT intel_queue_create(struct intel_dev *dev,
-                              XGL_QUEUE_TYPE type,
+                              enum intel_gpu_engine_type engine,
                               struct intel_queue **queue_ret)
 {
     struct intel_queue *queue;
     enum intel_ring_type ring;
 
-    switch (type) {
-    case XGL_QUEUE_TYPE_GRAPHICS:
-    case XGL_QUEUE_TYPE_COMPUTE:
+    switch (engine) {
+    case INTEL_GPU_ENGINE_3D:
         ring = INTEL_RING_RENDER;
         break;
-    case XGL_QUEUE_TYPE_DMA:
-        ring = INTEL_RING_BLT;
-        break;
     default:
         return XGL_ERROR_INVALID_VALUE;
         break;