anv/pipeline: Set MaximumVPIndex in 3DSTATE_CLIP
This commit is contained in:
parent
dc3de6f8df
commit
f2f03c5b65
|
@ -266,7 +266,8 @@ genX(graphics_pipeline_create)(
|
|||
.LineStripListProvokingVertexSelect = 0,
|
||||
.TriangleFanProvokingVertexSelect = 0,
|
||||
.MinimumPointWidth = 0.125,
|
||||
.MaximumPointWidth = 255.875);
|
||||
.MaximumPointWidth = 255.875,
|
||||
.MaximumVPIndex = pCreateInfo->pViewportState->viewportCount - 1);
|
||||
|
||||
uint32_t samples = 1;
|
||||
uint32_t log2_samples = __builtin_ffs(samples) - 1;
|
||||
|
|
|
@ -256,7 +256,8 @@ genX(graphics_pipeline_create)(
|
|||
.ClipEnable = true,
|
||||
.ViewportXYClipTestEnable = !(extra && extra->disable_viewport),
|
||||
.MinimumPointWidth = 0.125,
|
||||
.MaximumPointWidth = 255.875);
|
||||
.MaximumPointWidth = 255.875,
|
||||
.MaximumVPIndex = pCreateInfo->pViewportState->viewportCount - 1);
|
||||
|
||||
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_WM),
|
||||
.StatisticsEnable = true,
|
||||
|
|
Loading…
Reference in New Issue