Merge pull request #5968 from JonnyH/WIP/fix-vulkan-on-drivers-without-atomic-load-support
Fix vulkan crash on drivers without atomic load/store support
This commit is contained in:
commit
7155698066
1 file changed
+2
-1
@@ -1118,7 +1118,8 @@ bool StateTracker::UpdateDescriptorSet()
|
||||
m_dirty_flags |= DIRTY_FLAG_DESCRIPTOR_SET_BINDING;
|
||||
}
|
||||
|
||||
if ((m_dirty_flags & DIRTY_FLAG_PS_SSBO ||
|
||||
if (IsSSBODescriptorRequired() &&
|
||||
(m_dirty_flags & DIRTY_FLAG_PS_SSBO ||
|
||||
m_descriptor_sets[DESCRIPTOR_SET_BIND_POINT_STORAGE_OR_TEXEL_BUFFER] == VK_NULL_HANDLE))
|
||||
{
|
||||
VkDescriptorSetLayout layout =
|
||||
|
||||
Reference in new issue
Block a user