summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-08-01 05:55:20 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-08-01 07:22:27 +0200
commitc439fc9be994583801418743ab202fb63d1c83a0 (patch)
treebc484b1d6a07d2565761b34035c3a2f8edf6f39b /src/video_core/renderer_vulkan
parentastc_decoder: Compute offset swizzles in-shader (diff)
downloadyuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.gz
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.bz2
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.lz
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.xz
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.zst
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cpp
index d13d58e8c..3e96c0f60 100644
--- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp
+++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp
@@ -358,8 +358,8 @@ void ASTCDecoderPass::Assemble(Image& image, const StagingBufferRef& map,
});
for (const VideoCommon::SwizzleParameters& swizzle : swizzles) {
const size_t input_offset = swizzle.buffer_offset + map.offset;
- const u32 num_dispatches_x = Common::DivCeil(swizzle.num_tiles.width, 32U);
- const u32 num_dispatches_y = Common::DivCeil(swizzle.num_tiles.height, 32U);
+ const u32 num_dispatches_x = Common::DivCeil(swizzle.num_tiles.width, 8U);
+ const u32 num_dispatches_y = Common::DivCeil(swizzle.num_tiles.height, 8U);
const u32 num_dispatches_z = image.info.resources.layers;
update_descriptor_queue.Acquire();