aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-01-13 08:38:14 -0700
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-04 17:58:06 -0700
commit47279d60f3cbb68786a767aa9f3e7ebf3124568f (patch)
tree644368d0160904290cc8b9e8ec23995967b33992
parent418bc36eb149da85000a58909d60b4de74ee02c9 (diff)
downloadusermoji-47279d60f3cbb68786a767aa9f3e7ebf3124568f.tar.xz
layers: Fix APIDump param generation for Cpp versus C
Remanent from the merge of glave_integration.
-rwxr-xr-xxgl-layer-generate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xgl-layer-generate.py b/xgl-layer-generate.py
index a81ee447..3e2d825e 100755
--- a/xgl-layer-generate.py
+++ b/xgl-layer-generate.py
@@ -288,7 +288,7 @@ class Subcommand(object):
param0_name = proto.params[0].name
ret_val = ''
stmt = ''
- sp_param_dict = {} # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print
+ cis_param_index = [] # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print
create_params = 0 # Num of params at end of function that are created and returned as output values
if 'WsiX11CreatePresentableImage' in proto.name:
create_params = -2
@@ -399,7 +399,7 @@ class Subcommand(object):
param0_name = proto.params[0].name
ret_val = ''
stmt = ''
- cis_param_index = [] # Store list of indices when func has struct params
+ sp_param_dict = {} # Store list of indices when func has struct params
create_params = 0 # Num of params at end of function that are created and returned as output values
if 'WsiX11CreatePresentableImage' in proto.name:
create_params = -2