anv/gen7: Fix pipeline selection in init_device_state()
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 15 Feb 2016 06:56:23 +0000 (22:56 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 16 Feb 2016 01:32:07 +0000 (17:32 -0800)
We need the 3D pipeline for the initial setup, not GPGPU.

src/vulkan/gen7_state.c

index ba0e75f0c3e6b6c005fd09c1612b049d4968a0c3..0f66a5056c7c8d214c1850b774e367c9421e36c8 100644 (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);