diff options
author | Jason Ekstrand <[email protected]> | 2016-03-04 00:02:18 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-04 12:03:00 -0800 |
commit | a8afd296537a0e61fd12c817c3003309346a5e75 (patch) | |
tree | 6cf449cd0ab7be85f69cd5fe32342876a57c8bbd /src/intel/vulkan/gen7_pipeline.c | |
parent | fa8539dd6b1fd9bb1fc7f2f79889aacf14231d13 (diff) |
anv/pipeline: Use the right provoking vertex for triangle fans
Diffstat (limited to 'src/intel/vulkan/gen7_pipeline.c')
-rw-r--r-- | src/intel/vulkan/gen7_pipeline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index c114bfef3ac..22a892bba3a 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -61,7 +61,7 @@ gen7_emit_rs_state(struct anv_pipeline *pipeline, .TriangleStripListProvokingVertexSelect = 0, .LineStripListProvokingVertexSelect = 0, - .TriangleFanProvokingVertexSelect = 0, + .TriangleFanProvokingVertexSelect = 1, /* uint32_t AALineDistanceMode; */ /* uint32_t VertexSubPixelPrecisionSelect; */ @@ -230,7 +230,7 @@ genX(graphics_pipeline_create)( .ClipMode = CLIPMODE_NORMAL, .TriangleStripListProvokingVertexSelect = 0, .LineStripListProvokingVertexSelect = 0, - .TriangleFanProvokingVertexSelect = 0, + .TriangleFanProvokingVertexSelect = 1, .MinimumPointWidth = 0.125, .MaximumPointWidth = 255.875, .MaximumVPIndex = pCreateInfo->pViewportState->viewportCount - 1); |