A bit of light culling refactor

This commit is contained in:
Dynamitos
2024-02-01 22:54:20 +01:00
parent 36aec0fa06
commit 18d22aeb4f
4 changed files with 20 additions and 21 deletions
+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);