Skip to content

venus: ignore framebuffer for VkCommandBuffer executed outside of render pass

Ryan Neph requested to merge ryanneph/mesa:ignore-inherited-framebuffer into main

The vulkan spec states1:

If the VkCommandBuffer will not be executed within a render pass instance, or if the render pass instance was begun with vkCmdBeginRenderingKHR, renderPass, subpass, and framebuffer are ignored.

but venus will still try to encode them, resulting in a guest-side assert or host-side command stream error.

Edited by Ryan Neph

Merge request reports