diff options
| author | 2021-07-31 23:55:20 -0400 | |
|---|---|---|
| committer | 2021-08-01 01:22:27 -0400 | |
| commit | c439fc9be994583801418743ab202fb63d1c83a0 (patch) | |
| tree | bc484b1d6a07d2565761b34035c3a2f8edf6f39b /src/video_core/host_shaders | |
| parent | astc_decoder: Compute offset swizzles in-shader (diff) | |
| download | yuzu-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.comp | 2 |
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 | ||
| 25 | layout(local_size_x = 32, local_size_y = 32, local_size_z = 1) in; | 25 | layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; |
| 26 | 26 | ||
| 27 | BEGIN_PUSH_CONSTANTS | 27 | BEGIN_PUSH_CONSTANTS |
| 28 | UNIFORM(1) uvec2 block_dims; | 28 | UNIFORM(1) uvec2 block_dims; |