Home
last modified time | relevance | path

Searched refs:cmd_info (Results 1 – 3 of 3) sorted by relevance

/external/vulkan-validation-layers/scripts/
Dobject_tracker_generator.py678 def generate_create_object_code(self, indent, proto, params, cmd_info, allocator): argument
686 if cmd_info[-1].len is not None:
695 if 'uint32_t*' in cmd_info[-2].cdecl:
697 …%sfor (uint32_t index = 0; index < %s%s; index++) {\n' % (indent, countispointer, cmd_info[-1].len)
699 object_dest = '%s[index]' % cmd_info[-1].name
704 …indent, params[0].find('name').text, object_dest, self.GetVulkanObjType(cmd_info[-1].type), alloca…
712 def generate_destroy_object_code(self, indent, proto, cmd_info): argument
718 if cmd_info[-1].len is not None:
723 compatalloc_vuid_string = '%s-compatalloc' % cmd_info[param].name
724 nullalloc_vuid_string = '%s-nullalloc' % cmd_info[param].name
[all …]
Dlayer_chassis_dispatch_generator.py1410 def generate_create_ndo_code(self, indent, proto, params, cmd_info): argument
1416 if cmd_info[-1].len is not None:
1424 …e_ndo_code += '%sfor (uint32_t index0 = 0; index0 < %s; index0++) {\n' % (indent, cmd_info[-1].len)
1426 ndo_dest = '%s[index0]' % cmd_info[-1].name
1436 def generate_destroy_ndo_code(self, indent, proto, cmd_info): argument
1441 if cmd_info[-1].len is not None:
1446 if self.isHandleTypeNonDispatchable(cmd_info[param].type) == True:
1449 … destroy_ndo_code += '%sif ((VK_SUCCESS == result) && (%s)) {\n' % (indent, cmd_info[param].name)
1452 …do_code += '%sfor (uint32_t index0 = 0; index0 < %s; index0++) {\n' % (indent, cmd_info[param].len)
1454 …destroy_ndo_code += '%s%s handle = %s[index0];\n' % (indent, cmd_info[param].type, cmd_info[param]…
[all …]
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c427 static const struct cmd_info { struct
432 } cmd_info[] = { argument
485 const struct cmd_info *info; in vc4_validate_bin_cl()
487 if (cmd >= ARRAY_SIZE(cmd_info)) { in vc4_validate_bin_cl()
493 info = &cmd_info[cmd]; in vc4_validate_bin_cl()