Searched refs:cmd_info (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/ |
D | unique_objects_generator.py | 408 def generate_create_ndo_code(self, indent, proto, params, cmd_info): argument 415 if cmd_info[-1].len is not None: 423 …e_ndo_code += '%sfor (uint32_t index0 = 0; index0 < %s; index0++) {\n' % (indent, cmd_info[-1].len) 425 ndo_dest = '%s[index0]' % cmd_info[-1].name 437 def generate_destroy_ndo_code(self, indent, proto, cmd_info): argument 442 if cmd_info[-1].len is not None: 447 if self.isHandleTypeNonDispatchable(cmd_info[param].type) == True: 450 … destroy_ndo_code += '%sif ((VK_SUCCESS == result) && (%s)) {\n' % (indent, cmd_info[param].name) 453 …do_code += '%sfor (uint32_t index0 = 0; index0 < %s; index0++) {\n' % (indent, cmd_info[param].len) 455 …destroy_ndo_code += '%s%s handle = %s[index0];\n' % (indent, cmd_info[param].type, cmd_info[param]… [all …]
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Smoke.cpp | 421 VkCommandBufferAllocateInfo cmd_info = {}; in create_command_buffers() local 422 cmd_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in create_command_buffers() 423 cmd_info.commandBufferCount = static_cast<uint32_t>(frame_data_.size()); in create_command_buffers() 436 cmd_info.commandPool = cmd_pool; in create_command_buffers() 437 cmd_info.level = (cmd_pool == cmd_pools.back()) ? in create_command_buffers() 440 vk::assert_success(vk::AllocateCommandBuffers(dev_, &cmd_info, cmds.data())); in create_command_buffers()
|