Skip to content

Commit

Permalink
Silence MSVC warnings
Browse files Browse the repository at this point in the history
Fixes #481
  • Loading branch information
darksylinc committed Nov 27, 2024
1 parent cef0343 commit 3ff1183
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions RenderSystems/Vulkan/src/OgreVulkanRootLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,14 @@ namespace Ogre
}
else
{
bDirty |= table.dirtyBakedTextures &
bDirty |= (int)table.dirtyBakedTextures &
( (int)ranges[DescBindingTypes::ReadOnlyBuffer].isInUse() |
(int)ranges[DescBindingTypes::TexBuffer].isInUse() |
(int)ranges[DescBindingTypes::Texture].isInUse() );
bDirty |= table.dirtyBakedSamplers & ranges[DescBindingTypes::Sampler].isInUse();
bDirty |= table.dirtyBakedUavs & ( (int)ranges[DescBindingTypes::UavBuffer].isInUse() |
(int)ranges[DescBindingTypes::UavTexture].isInUse() );
bDirty |= (int)table.dirtyBakedSamplers & ranges[DescBindingTypes::Sampler].isInUse();
bDirty |=
(int)table.dirtyBakedUavs & ( (int)ranges[DescBindingTypes::UavBuffer].isInUse() |
(int)ranges[DescBindingTypes::UavTexture].isInUse() );
}

if( bDirty )
Expand Down

0 comments on commit 3ff1183

Please sign in to comment.