gallium: add flags parameter to pipe_screen::context_create
[mesa.git] / src / gallium / state_trackers / clover / core / queue.cpp
index 87f9dcc647624e26d29b7eb025f7f28a5a8094a3..4aaf67de2411b6572c32e114882be3b85f53e684 100644 (file)
@@ -30,7 +30,7 @@ using namespace clover;
 command_queue::command_queue(clover::context &ctx, clover::device &dev,
                              cl_command_queue_properties props) :
    context(ctx), device(dev), props(props) {
-   pipe = dev.pipe->context_create(dev.pipe, NULL);
+   pipe = dev.pipe->context_create(dev.pipe, NULL, PIPE_CONTEXT_COMPUTE_ONLY);
    if (!pipe)
       throw error(CL_INVALID_DEVICE);
 }