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:
parent
290e33ab20
commit
cf8cf8a827
|
@ -35,13 +35,24 @@ 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 + """\
|
||||
|
|
Loading…
Reference in New Issue