diff options
author | Jason Ekstrand <[email protected]> | 2015-10-21 21:51:16 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-21 21:51:18 -0700 |
commit | 82c579e31418c31238437c72e462b71a88ff01af (patch) | |
tree | 3e02c22bd09c920caf2e68779d9a91dafedcf01b /src/vulkan/gen8_pipeline.c | |
parent | d0e8c78407c9b259da55c8b203b96deadab6187e (diff) |
anv/gen8: Set the correct maximum number of GS threads
This equation was pulled from mesa gen8_gs_state.c
Diffstat (limited to 'src/vulkan/gen8_pipeline.c')
-rw-r--r-- | src/vulkan/gen8_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |