From: Samuel Pitoiset Date: Wed, 8 Jul 2020 15:49:14 +0000 (+0200) Subject: radv: reduce the number of allocated dwords for compute CS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bfd8277ccb6b155dd322911180b4c0c4457f128;p=mesa.git radv: reduce the number of allocated dwords for compute CS Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 6cd03672152..e3b37ea2f94 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -5028,7 +5028,7 @@ radv_compute_generate_pm4(struct radv_pipeline *pipeline) unsigned max_waves_per_sh = 0; uint64_t va; - pipeline->cs.max_dw = device->physical_device->rad_info.chip_class >= GFX10 ? 22 : 20; + pipeline->cs.max_dw = device->physical_device->rad_info.chip_class >= GFX10 ? 19 : 16; pipeline->cs.buf = malloc(pipeline->cs.max_dw * 4); compute_shader = pipeline->shaders[MESA_SHADER_COMPUTE];