From ac4fd0ed211b9e4e13491c6d0737b2f629ae85bb Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Kristensen Date: Sun, 14 Feb 2016 22:56:23 -0800 Subject: 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(-) (limited to 'src/vulkan/gen7_state.c') 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); -- cgit v1.2.3