Lines Matching refs:cmd_info
664 def generate_create_object_code(self, indent, proto, params, cmd_info, allocator): argument
672 if cmd_info[-1].len is not None:
683 if 'uint32_t*' in cmd_info[-2].cdecl:
685 …%sfor (uint32_t index = 0; index < %s%s; index++) {\n' % (indent, countispointer, cmd_info[-1].len)
687 object_dest = '%s[index]' % cmd_info[-1].name
692 …indent, params[0].find('name').text, object_dest, self.GetVulkanObjType(cmd_info[-1].type), alloca…
703 def generate_destroy_object_code(self, indent, proto, cmd_info): argument
709 if cmd_info[-1].len is not None:
714 compatalloc_vuid_string = '%s-compatalloc' % cmd_info[param].name
715 nullalloc_vuid_string = '%s-nullalloc' % cmd_info[param].name
718 if cmd_info[param].type in self.handle_types:
723 dispobj = cmd_info[0].type
725 …, %s, pAllocator, %s, %s);\n' % (indent, cmd_info[0].name, cmd_info[param].name, self.GetVulkanObj…
726 …DestroyObject(%s, %s, %s);\n' % (indent, cmd_info[0].name, cmd_info[param].name, self.GetVulkanObj…
831 cmd_info = cmddata.members
832 disp_name = cmd_info[0].name
835 …_call_record += self.generate_create_object_code(indent, proto, params, cmd_info, cmddata.allocato…
838 …ate_destroy_code, record_destroy_code) = self.generate_destroy_object_code(indent, proto, cmd_info)
841 … pre_call_validate += self.validate_objects(cmd_info, indent, '', 0, disp_name, proto.text, True)