xgl: Remove extraneous structSizes
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Tue, 27 Jan 2015 18:07:21 +0000 (11:07 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 5 Feb 2015 00:58:10 +0000 (17:58 -0700)
Alpha header rev: r29437
Bug #13299

demos/xglinfo.c
include/xgl.h

index d37917f5e9d8ff1a57bbf92ca9ce974842cbabb4..bc4e377abb0b51ccc41580f09b029503de90002d 100644 (file)
@@ -557,7 +557,6 @@ static void app_gpu_dump_props(const struct app_gpu *gpu)
     const XGL_PHYSICAL_GPU_PROPERTIES *props = &gpu->props;
 
     printf("XGL_PHYSICAL_GPU_PROPERTIES\n");
-    printf("\tstructSize = %zu\n",                  props->structSize);
     printf("\tapiVersion = %u\n",                   props->apiVersion);
     printf("\tdriverVersion = %u\n",                props->driverVersion);
     printf("\tvendorId = 0x%04x\n",                 props->vendorId);
@@ -603,7 +602,6 @@ static void app_gpu_dump_queue_props(const struct app_gpu *gpu, XGL_UINT id)
     const XGL_PHYSICAL_GPU_QUEUE_PROPERTIES *props = &gpu->queue_props[id];
 
     printf("XGL_PHYSICAL_GPU_QUEUE_PROPERTIES[%d]\n", id);
-    printf("\tstructSize = %zu\n",          props->structSize);
     printf("\tqueueFlags = %c%c%c%c\n",
             (props->queueFlags & XGL_QUEUE_GRAPHICS_BIT) ? 'G' : '.',
             (props->queueFlags & XGL_QUEUE_COMPUTE_BIT)  ? 'C' : '.',
@@ -619,7 +617,6 @@ static void app_gpu_dump_memory_props(const struct app_gpu *gpu)
     const XGL_PHYSICAL_GPU_MEMORY_PROPERTIES *props = &gpu->memory_props;
 
     printf("XGL_PHYSICAL_GPU_MEMORY_PROPERTIES\n");
-    printf("\tstructSize = %zu\n",                      props->structSize);
     printf("\tsupportsMigration = %u\n",                props->supportsMigration);
     printf("\tsupportsPinning = %u\n",                  props->supportsPinning);
 }
index ba6ae1ae37a8c3b51f2754760ee6345c8b8e6497..95a3fc51d14cd4212bb061c0f574201d9d4bde5b 100644 (file)
@@ -1353,7 +1353,6 @@ typedef struct _XGL_CHANNEL_MAPPING
 
 typedef struct _XGL_PHYSICAL_GPU_PROPERTIES
 {
-    XGL_SIZE                                structSize;
     XGL_UINT32                              apiVersion;
     XGL_UINT32                              driverVersion;
     XGL_UINT32                              vendorId;
@@ -1442,7 +1441,6 @@ typedef struct _XGL_LAYER_CREATE_INFO
 
 typedef struct _XGL_PHYSICAL_GPU_QUEUE_PROPERTIES
 {
-    XGL_SIZE                                structSize;                 // Size of structure in bytes
     XGL_FLAGS                               queueFlags;                 // XGL_QUEUE_FLAGS
     XGL_UINT                                queueCount;
     XGL_UINT                                maxAtomicCounters;
@@ -1451,7 +1449,6 @@ typedef struct _XGL_PHYSICAL_GPU_QUEUE_PROPERTIES
 
 typedef struct _XGL_PHYSICAL_GPU_MEMORY_PROPERTIES
 {
-    XGL_SIZE                                structSize;                 // Size of structure in bytes
     XGL_BOOL                                supportsMigration;
     XGL_BOOL                                supportsPinning;
 } XGL_PHYSICAL_GPU_MEMORY_PROPERTIES;