mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
anv/gen7: Properly handle a GS with zero invocations
This commit is contained in:
parent
9d18555c8d
commit
750b8f9e98
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ gen7_graphics_pipeline_create(
|
|||
/* This in the next dword on HSW. */
|
||||
.ControlDataFormat = gs_prog_data->control_data_format,
|
||||
.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords,
|
||||
.InstanceControl = gs_prog_data->invocations - 1,
|
||||
.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1,
|
||||
.DispatchMode = gs_prog_data->base.dispatch_mode,
|
||||
.GSStatisticsEnable = true,
|
||||
.IncludePrimitiveID = gs_prog_data->include_primitive_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue