From ac4fd0ed211b9e4e13491c6d0737b2f629ae85bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Sun, 14 Feb 2016 22:56:23 -0800 Subject: [PATCH] anv/gen7: Fix pipeline selection in init_device_state() We need the 3D pipeline for the initial setup, not GPGPU. --- src/vulkan/gen7_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2