rendervulkan: Fix screenshots since moving to 10-bit.

This dispatch was incorrect subgroup wise. IDK how this code ever worked.
This commit is contained in:
Joshua Ashton 2023-05-27 16:33:32 +01:00
parent 847da568df
commit 2f3029f5e0

View file

@ -3652,7 +3652,7 @@ bool vulkan_composite( const struct FrameInfo_t *frameInfo, std::shared_ptr<CVul
// For ycbcr, we operate on 2 pixels at a time, so use the half-extent.
const int dispatchSize = ycbcr ? pixelsPerGroup * 2 : pixelsPerGroup;
cmdBuffer->dispatch(div_roundup(pScreenshotTexture->width(), dispatchSize), div_roundup(pScreenshotTexture->height(), 1));
cmdBuffer->dispatch(div_roundup(pScreenshotTexture->width(), dispatchSize), div_roundup(pScreenshotTexture->height(), dispatchSize));
}
}