mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 21:50:28 +01:00
radv: use a workgroup size of 8x8 for FMASK color expand
Probably better for access patterns. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8642>
This commit is contained in:
parent
b4f551d41b
commit
7683ff1420
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue