xgl: Add MaxMemReferences to GPU_QUEUE_PROPS
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 2 Apr 2015 20:22:12 +0000 (14:22 -0600)
committerChia-I Wu <olv@lunarg.com>
Thu, 16 Apr 2015 09:33:28 +0000 (17:33 +0800)
demos/xglinfo.c
include/xgl.h

index 47c2efa..5537826 100644 (file)
@@ -610,6 +610,7 @@ static void app_gpu_dump_queue_props(const struct app_gpu *gpu, uint32_t id)
     printf("\tqueueCount = %u\n",           props->queueCount);
     printf("\tmaxAtomicCounters = %u\n",    props->maxAtomicCounters);
     printf("\tsupportsTimestamps = %u\n",   props->supportsTimestamps);
+    printf("\tmaxMemReferences = %u\n",     props->maxMemReferences);
 }
 
 static void app_gpu_dump_memory_props(const struct app_gpu *gpu)
index 05c2d2c..dfd1225 100644 (file)
@@ -1426,6 +1426,7 @@ typedef struct _XGL_PHYSICAL_GPU_QUEUE_PROPERTIES
     uint32_t                                queueCount;
     uint32_t                                maxAtomicCounters;
     bool32_t                                supportsTimestamps;
+    uint32_t                                maxMemReferences;           // Tells how many memory references can be active for the given queue
 } XGL_PHYSICAL_GPU_QUEUE_PROPERTIES;
 
 typedef struct _XGL_PHYSICAL_GPU_MEMORY_PROPERTIES