Skip to content
Permalink
Browse files
Merge pull request #5968 from JonnyH/WIP/fix-vulkan-on-drivers-withou…
…t-atomic-load-support

Fix vulkan crash on drivers without atomic load/store support
  • Loading branch information
stenzek committed Aug 24, 2017
2 parents 4ee85a3 + 5b41c5a commit 7155698
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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 =

0 comments on commit 7155698

Please sign in to comment.