projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da442b
)
anv/pipeline/gen8: Set 3DSTATE_GS::InstanceControl
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 14 Nov 2016 16:42:22 +0000
(08:42 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 16 Nov 2016 18:08:53 +0000
(10:08 -0800)
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/intel/vulkan/gen8_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/gen8_pipeline.c
b/src/intel/vulkan/gen8_pipeline.c
index 1320a1377af54e7b741719504b82c62ed3516bd8..484fad976d3bcff725a91617105ec38fa2b21094 100644
(file)
--- 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;