From 82c579e31418c31238437c72e462b71a88ff01af Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 21 Oct 2015 21:51:16 -0700 Subject: [PATCH] anv/gen8: Set the correct maximum number of GS threads This equation was pulled from mesa gen8_gs_state.c --- src/vulkan/gen8_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c index f3f378b181a..6d0edf0ec87 100644 --- a/src/vulkan/gen8_pipeline.c +++ b/src/vulkan/gen8_pipeline.c @@ -426,7 +426,7 @@ gen8_graphics_pipeline_create( .DispatchGRFStartRegisterForURBData = gs_prog_data->base.base.dispatch_grf_start_reg, - .MaximumNumberofThreads = device->info.max_gs_threads, + .MaximumNumberofThreads = device->info.max_gs_threads / 2 - 1, .ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords, //pipeline->gs_prog_data.dispatch_mode | .StatisticsEnable = true, -- 2.30.2