summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/gen8_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-04 00:02:18 -0800
committerJason Ekstrand <[email protected]>2016-03-04 12:03:00 -0800
commita8afd296537a0e61fd12c817c3003309346a5e75 (patch)
tree6cf449cd0ab7be85f69cd5fe32342876a57c8bbd /src/intel/vulkan/gen8_pipeline.c
parentfa8539dd6b1fd9bb1fc7f2f79889aacf14231d13 (diff)
anv/pipeline: Use the right provoking vertex for triangle fans
Diffstat (limited to 'src/intel/vulkan/gen8_pipeline.c')
-rw-r--r--src/intel/vulkan/gen8_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c
index a464006566b..52629a73342 100644
--- a/src/intel/vulkan/gen8_pipeline.c
+++ b/src/intel/vulkan/gen8_pipeline.c
@@ -59,7 +59,7 @@ emit_rs_state(struct anv_pipeline *pipeline,
.ViewportTransformEnable = !(extra && extra->disable_viewport),
.TriangleStripListProvokingVertexSelect = 0,
.LineStripListProvokingVertexSelect = 0,
- .TriangleFanProvokingVertexSelect = 0,
+ .TriangleFanProvokingVertexSelect = 1,
.PointWidthSource = pipeline->writes_point_size ? Vertex : State,
.PointWidth = 1.0,
};