anv/gen8: Set the correct maximum number of GS threads
This equation was pulled from mesa gen8_gs_state.c
This commit is contained in:
@@ -426,7 +426,7 @@ gen8_graphics_pipeline_create(
|
|||||||
.DispatchGRFStartRegisterForURBData =
|
.DispatchGRFStartRegisterForURBData =
|
||||||
gs_prog_data->base.base.dispatch_grf_start_reg,
|
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,
|
.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords,
|
||||||
//pipeline->gs_prog_data.dispatch_mode |
|
//pipeline->gs_prog_data.dispatch_mode |
|
||||||
.StatisticsEnable = true,
|
.StatisticsEnable = true,
|
||||||
|
Reference in New Issue
Block a user