anv/pipeline: Enable clipper statistics

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand 2017-03-16 12:32:16 -07:00
parent 2a616242cd
commit 9576cea519
1 changed files with 1 additions and 0 deletions

View File

@ -1001,6 +1001,7 @@ emit_3dstate_clip(struct anv_pipeline *pipeline,
(void) wm_prog_data;
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_CLIP), clip) {
clip.ClipEnable = true;
clip.StatisticsEnable = true;
clip.EarlyCullEnable = true;
clip.APIMode = APIMODE_D3D,
clip.ViewportXYClipTestEnable = true;