From 2f3029f5e00160b92760b27f707b5532fed27a8d Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sat, 27 May 2023 16:33:32 +0100 Subject: [PATCH] rendervulkan: Fix screenshots since moving to 10-bit. This dispatch was incorrect subgroup wise. IDK how this code ever worked. --- src/rendervulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendervulkan.cpp b/src/rendervulkan.cpp index 48639eb..e2b2a4e 100644 --- a/src/rendervulkan.cpp +++ b/src/rendervulkan.cpp @@ -3652,7 +3652,7 @@ bool vulkan_composite( const struct FrameInfo_t *frameInfo, std::shared_ptrdispatch(div_roundup(pScreenshotTexture->width(), dispatchSize), div_roundup(pScreenshotTexture->height(), 1)); + cmdBuffer->dispatch(div_roundup(pScreenshotTexture->width(), dispatchSize), div_roundup(pScreenshotTexture->height(), dispatchSize)); } }