A bit of light culling refactor

This commit is contained in:
Dynamitos committed 2024-02-01 22:54:20 +01:00
1 parent 36aec0fa06
commit 18d22aeb4f
4 files changed
+20 -21

No files matched your search

+2 -2
View File
@@ -321,10 +321,10 @@ void TextureBase::executeOwnershipBarrier(Gfx::QueueType newOwner)
.image = image,
.subresourceRange = {
.aspectMask = aspect,
.baseArrayLayer = 0,
.layerCount = arrayCount,
.baseMipLevel = 0,
.levelCount = mipLevels,
.baseArrayLayer = 0,
.layerCount = arrayCount,
},
};
PCommandPool sourcePool = graphics->getQueueCommands(currentOwner);