mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
anv/pipeline: Use the right provoking vertex for triangle fans
This commit is contained in:
parent
fa8539dd6b
commit
a8afd29653
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue