Mesa (master): radv: use a workgroup size of 8x8 for FMASK color expand
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 22 17:20:00 UTC 2021
Module: Mesa
Branch: master
Commit: 7683ff14208d62bc8b79eec2890afa3cf71903e1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7683ff14208d62bc8b79eec2890afa3cf71903e1
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri Jan 22 10:42:11 2021 +0100
radv: use a workgroup size of 8x8 for FMASK color expand
Probably better for access patterns.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8642>
---
src/amd/vulkan/radv_meta_fmask_expand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_fmask_expand.c b/src/amd/vulkan/radv_meta_fmask_expand.c
index e8e7cd102dd..d39aa58b729 100644
--- a/src/amd/vulkan/radv_meta_fmask_expand.c
+++ b/src/amd/vulkan/radv_meta_fmask_expand.c
@@ -37,8 +37,8 @@ build_fmask_expand_compute_shader(struct radv_device *device, int samples)
GLSL_TYPE_FLOAT);
nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, NULL, "meta_fmask_expand_cs-%d", samples);
- b.shader->info.cs.local_size[0] = 16;
- b.shader->info.cs.local_size[1] = 16;
+ b.shader->info.cs.local_size[0] = 8;
+ b.shader->info.cs.local_size[1] = 8;
b.shader->info.cs.local_size[2] = 1;
nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform,
More information about the mesa-commit
mailing list