xgl.py: update with parsed core extension
authorChia-I Wu <olv@lunarg.com>
Sun, 4 Jan 2015 06:51:06 +0000 (14:51 +0800)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 5 Feb 2015 00:58:04 +0000 (17:58 -0700)
xgl.py

diff --git a/xgl.py b/xgl.py
index 99d80f8..5755855 100644 (file)
--- a/xgl.py
+++ b/xgl.py
@@ -180,10 +180,6 @@ core = Extension(
         "XGL_QUERY_POOL",
     ],
     protos=[
-        Proto("XGL_VOID *", "GetProcAddr",
-            [Param("XGL_PHYSICAL_GPU", "gpu"),
-             Param("const XGL_CHAR*", "pName")]),
-
         Proto("XGL_RESULT", "InitAndEnumerateGpus",
             [Param("const XGL_APPLICATION_INFO*", "pAppInfo"),
              Param("const XGL_ALLOC_CALLBACKS*", "pAllocCb"),
@@ -197,6 +193,10 @@ core = Extension(
              Param("XGL_SIZE*", "pDataSize"),
              Param("XGL_VOID*", "pData")]),
 
+        Proto("XGL_VOID*", "GetProcAddr",
+            [Param("XGL_PHYSICAL_GPU", "gpu"),
+             Param("const XGL_CHAR*", "pName")]),
+
         Proto("XGL_RESULT", "CreateDevice",
             [Param("XGL_PHYSICAL_GPU", "gpu"),
              Param("const XGL_DEVICE_CREATE_INFO*", "pCreateInfo"),
@@ -214,8 +214,8 @@ core = Extension(
              Param("XGL_SIZE", "maxLayerCount"),
              Param("XGL_SIZE", "maxStringSize"),
              Param("XGL_CHAR* const*", "pOutLayers"),
-             Param("XGL_SIZE *", "pOutLayerCount"),
-             Param("XGL_VOID *", "pReserved")]),
+             Param("XGL_SIZE*", "pOutLayerCount"),
+             Param("XGL_VOID*", "pReserved")]),
 
         Proto("XGL_RESULT", "GetDeviceQueue",
             [Param("XGL_DEVICE", "device"),