From: Jason Ekstrand Date: Thu, 22 Oct 2015 04:51:16 +0000 (-0700) Subject: anv/gen8: Set the correct maximum number of GS threads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82c579e31418c31238437c72e462b71a88ff01af;p=mesa.git anv/gen8: Set the correct maximum number of GS threads This equation was pulled from mesa gen8_gs_state.c --- 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,