diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-31 23:55:20 -0400 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-01 01:22:27 -0400 |
| commit | c439fc9be994583801418743ab202fb63d1c83a0 (patch) | |
| tree | bc484b1d6a07d2565761b34035c3a2f8edf6f39b /src/video_core/host_shaders/astc_decoder.comp | |
| parent | 5ab80535118e593ef3add3ce2b5935437e1dc1d3 (diff) | |
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/astc_decoder.comp')
| -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 @@ #endif -layout(local_size_x = 32, local_size_y = 32, local_size_z = 1) in; +layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; BEGIN_PUSH_CONSTANTS UNIFORM(1) uvec2 block_dims; |
