vulkan/cmd_queue: Re-flow MANUAL_COMMANDS

This just makes it all a bit easier to read.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15311>
This commit is contained in:
Jason Ekstrand 2022-03-08 16:48:03 -06:00 committed by Marge Bot
parent 290e33ab20
commit cf8cf8a827
1 changed files with 19 additions and 8 deletions

View File

@ -35,14 +35,25 @@ from mako.template import Template
# '{file_without_suffix}_depend_files'.
from vk_entrypoints import get_entrypoints_from_xml, EntrypointParam
MANUAL_COMMANDS = ['CmdPushDescriptorSetKHR', # This script doesn't know how to copy arrays in structs in arrays
'CmdPushDescriptorSetWithTemplateKHR', # pData's size cannot be calculated from the xml
'CmdDrawMultiEXT', # The size of the elements is specified in a stride param
'CmdDrawMultiIndexedEXT', # The size of the elements is specified in a stride param
'CmdBindDescriptorSets', # The VkPipelineLayout object could be released before the command is executed
'CmdBeginRendering', # The VkPipelineLayout object could be released before the command is executed
'CmdBeginRenderingKHR', # The VkPipelineLayout object could be released before the command is executed
]
MANUAL_COMMANDS = [
# This script doesn't know how to copy arrays in structs in arrays
'CmdPushDescriptorSetKHR',
# pData's size cannot be calculated from the xml
'CmdPushDescriptorSetWithTemplateKHR',
# The size of the elements is specified in a stride param
'CmdDrawMultiEXT',
'CmdDrawMultiIndexedEXT',
# The VkPipelineLayout object could be released before the command is
# executed
'CmdBindDescriptorSets',
# Lavapipe implements internally
'CmdBeginRendering',
'CmdBeginRenderingKHR',
]
TEMPLATE_H = Template(COPYRIGHT + """\
/* This file generated from ${filename}, don't edit directly. */