diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-01-27 11:07:21 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-04 17:58:10 -0700 |
| commit | 1910b106e5576f4da8e1eadfbd42cf0a21753ee7 (patch) | |
| tree | 404789becb354891af6ef696ba5b7df3244dc6fd | |
| parent | 80f6448bdccb984b887726c29c249f2716b23de5 (diff) | |
| download | usermoji-1910b106e5576f4da8e1eadfbd42cf0a21753ee7.tar.xz | |
xgl: Remove extraneous structSizes
Alpha header rev: r29437
Bug #13299
| -rw-r--r-- | demos/xglinfo.c | 3 | ||||
| -rw-r--r-- | include/xgl.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/demos/xglinfo.c b/demos/xglinfo.c index d37917f5..bc4e377a 100644 --- a/demos/xglinfo.c +++ b/demos/xglinfo.c @@ -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); } diff --git a/include/xgl.h b/include/xgl.h index ba6ae1ae..95a3fc51 100644 --- a/include/xgl.h +++ b/include/xgl.h @@ -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; |
