diff options
author | Jason Ekstrand <[email protected]> | 2016-11-14 08:42:22 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-16 10:08:53 -0800 |
commit | f3783f1249c46c0707c40fac3705b2a698cd0380 (patch) | |
tree | 2387a4cb573bdee363d9a39ef1b4eb3cfec153e3 /src | |
parent | 9da442b63acff717c8450ab6e1ce17be5ca18f4c (diff) |
anv/pipeline/gen8: Set 3DSTATE_GS::InstanceControl
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/gen8_pipeline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c index 1320a1377af..484fad976d3 100644 --- a/src/intel/vulkan/gen8_pipeline.c +++ b/src/intel/vulkan/gen8_pipeline.c @@ -147,6 +147,7 @@ genX(graphics_pipeline_create)( gs.MaximumNumberofThreads = devinfo->max_gs_threads / 2 - 1; gs.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords; + gs.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1; gs.DispatchMode = gs_prog_data->base.dispatch_mode; gs.StatisticsEnable = true; gs.IncludePrimitiveID = gs_prog_data->include_primitive_id; |