glave: Just copy pReserved ptr when tracing.
authorTobin Ehlis <tobin@lunarg.com>
Wed, 10 Dec 2014 17:54:57 +0000 (10:54 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 11 Dec 2014 23:07:34 +0000 (16:07 -0700)
xgl-layer-generate.py

index 2db3cb99dca7232af14f5eb3da8bc8f22695dd42..ce02456502378f283252861923e935a06e700727 100755 (executable)
@@ -775,7 +775,7 @@ class Subcommand(object):
                         func_body.append('    %s %s[4],' % (p.ty.replace('[4]', ''), p.name))
                     else:
                         func_body.append('    %s %s,' % (p.ty, p.name))
-                    if '*' in p.ty and 'pSysMem' != p.name:
+                    if '*' in p.ty and 'pSysMem' != p.name and 'pReserved' != p.name:
                         if 'pData' == p.name:
                             if 'dataSize' == proto.params[proto.params.index(p)-1].name:
                                 packet_size += 'dataSize + '