diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 15:48:32 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 17:32:03 -0600 |
| commit | 3c626d7b65601517199ea4d907a243798e0518e1 (patch) | |
| tree | 6c9538326993934e40e597b866a6957c03aac4b5 | |
| parent | 5fa898decb2f22b30693d89355c0e67be93288ab (diff) | |
| download | usermoji-3c626d7b65601517199ea4d907a243798e0518e1.tar.xz | |
misc: change is unneeded?
| -rwxr-xr-x | vk_helper.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vk_helper.py b/vk_helper.py index 7122297c..9cf8c04f 100755 --- a/vk_helper.py +++ b/vk_helper.py @@ -868,11 +868,7 @@ class StructWrapperGen: else: sh_funcs.append('%s' % lineinfo.get()) addr_char = '' - if stp_list[index]['type'] in vulkan.object_dispatch_list: - 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)) - elif stp_list[index]['type'] in vulkan.object_non_dispatch_list: - sh_funcs.append('%sss[%u] << %spStruct->%s[i].handle;' % (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'])) |
