diff options
| author | Karl Schultz <karl@lunarg.com> | 2016-03-04 15:20:27 -0700 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2016-03-04 15:20:27 -0700 |
| commit | f776e20da215ae40d55437030696041d0e08b115 (patch) | |
| tree | 099fee65a75c138c25fea15bc31ab60cb1ab7d85 | |
| parent | 4aeed470b65dde971e09eb22a3150e4932c5a3b4 (diff) | |
| download | usermoji-f776e20da215ae40d55437030696041d0e08b115.tar.xz | |
layers: LX423 Set string var with handle value before using.
Change-Id: I50e7a2778bd14ff4e0b8fc3f2fcb201faefce548
| -rwxr-xr-x | vk_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vk_helper.py b/vk_helper.py index ebed91c3..05e104ee 100755 --- a/vk_helper.py +++ b/vk_helper.py @@ -981,10 +981,10 @@ class StructWrapperGen: else: sh_funcs.append('%s' % lineinfo.get()) addr_char = '' + sh_funcs.append('%sss[%u] << %spStruct->%s[i];' % (indent, index, addr_char, stp_list[index]['name'])) if stp_list[index]['type'] in vulkan.core.objects: sh_funcs.append('%sstp_strs[%u] += " " + prefix + "%s[" + index_ss.str() + "].handle = " + ss[%u].str() + "\\n";' % (indent, index, stp_list[index]['name'], index)) else: - sh_funcs.append('%sss[%u] << %spStruct->%s[i];' % (indent, index, addr_char, stp_list[index]['name'])) sh_funcs.append('%sstp_strs[%u] += " " + prefix + "%s[" + index_ss.str() + "] = " + ss[%u].str() + "\\n";' % (indent, index, stp_list[index]['name'], index)) sh_funcs.append('%s' % lineinfo.get()) sh_funcs.append('%sss[%u].str("");' % (indent, index)) |
