summaryrefslogtreecommitdiff
path: root/src/video_core/host_shaders
diff options
context:
space:
mode:
authorGravatar ameerj2021-07-31 23:55:20 -0400
committerGravatar ameerj2021-08-01 01:22:27 -0400
commitc439fc9be994583801418743ab202fb63d1c83a0 (patch)
treebc484b1d6a07d2565761b34035c3a2f8edf6f39b /src/video_core/host_shaders
parentastc_decoder: Compute offset swizzles in-shader (diff)
downloadyuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.gz
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.tar.xz
yuzu-c439fc9be994583801418743ab202fb63d1c83a0.zip
astc_decoder: Reduce workgroup size
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
Diffstat (limited to 'src/video_core/host_shaders')
-rw-r--r--src/video_core/host_shaders/astc_decoder.comp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp
index 74ce058a9..f34c5f5d9 100644
--- a/src/video_core/host_shaders/astc_decoder.comp
+++ b/src/video_core/host_shaders/astc_decoder.comp
@@ -22,7 +22,7 @@
22 22
23#endif 23#endif
24 24
25layout(local_size_x = 32, local_size_y = 32, local_size_z = 1) in; 25layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
26 26
27BEGIN_PUSH_CONSTANTS 27BEGIN_PUSH_CONSTANTS
28UNIFORM(1) uvec2 block_dims; 28UNIFORM(1) uvec2 block_dims;