Forums - [Critical Bug Report] Vulkan vkCmdBindDescriptorSets Dynamic Offsets Issue

1 post / 0 new
[Critical Bug Report] Vulkan vkCmdBindDescriptorSets Dynamic Offsets Issue
mscsirmaster
Join Date: 31 May 18
Posts: 1
Posted: Sat, 2019-04-13 22:17
Hello,
 
A few days ago we got many rendering issues in our project, after many days of research we finally found the cause of these issues, vkCmdBindDescriptorSets with dynamic offsets is affecting normal uniform offsets.
 
Example:
Call vkCmdBindDescriptorSets to bind descriptor set 0, bind one dynamic uniform descriptorset with offset higher than 0
Draw whatever you want.
Call vkCmdBindDescriptorSets to bind descriptor set 0, bind one normal uniform descriptorset, this will be affected by the offset of the last dynamic uniform based on the descriptorset and binding index.

Workaround:
Restore all dynamic offsets to 0 before bind a different kind of descriptorset, might affect others types.
 
Best regards.
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.