summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_state.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2016-02-14 22:56:23 -0800
committerKristian Høgsberg Kristensen <[email protected]>2016-02-15 17:32:07 -0800
commitac4fd0ed211b9e4e13491c6d0737b2f629ae85bb (patch)
tree5a002ad153c29ba10a223dae8a1b4e983d5bef0e /src/vulkan/gen7_state.c
parentea694637ac8a7f6aeb9682a64b197fab6aabf9cd (diff)
anv/gen7: Fix pipeline selection in init_device_state()
We need the 3D pipeline for the initial setup, not GPGPU.
Diffstat (limited to 'src/vulkan/gen7_state.c')
-rw-r--r--src/vulkan/gen7_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/gen7_state.c b/src/vulkan/gen7_state.c
index ba0e75f0c3e..0f66a5056c7 100644
--- a/src/vulkan/gen7_state.c
+++ b/src/vulkan/gen7_state.c
@@ -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);