anv/gen7: Fix pipeline selection in init_device_state()

We need the 3D pipeline for the initial setup, not GPGPU.
This commit is contained in:
Kristian Høgsberg Kristensen 2016-02-14 22:56:23 -08:00
parent ea694637ac
commit ac4fd0ed21

View file

@ -44,7 +44,7 @@ genX(init_device_state)(struct anv_device *device)
batch.end = (void *) cmds + sizeof(cmds);
anv_batch_emit(&batch, GEN7_PIPELINE_SELECT,
.PipelineSelection = GPGPU);
.PipelineSelection = _3D);
anv_batch_emit(&batch, GENX(3DSTATE_VF_STATISTICS),
.StatisticsEnable = true);