From 0fc21ecfc0891d239f20bf7724e51bc75503570c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 25 Jul 2015 18:40:59 +0200 Subject: gallium: add flags parameter to pipe_screen::context_create MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows creating compute-only and debug contexts. Reviewed-by: Brian Paul Acked-by: Christian König Acked-by: Alex Deucher --- src/gallium/auxiliary/util/u_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/util') diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c index 6a489d63c09..a94e5cc2949 100644 --- a/src/gallium/auxiliary/util/u_tests.c +++ b/src/gallium/auxiliary/util/u_tests.c @@ -457,7 +457,7 @@ null_constant_buffer(struct pipe_context *ctx) void util_run_tests(struct pipe_screen *screen) { - struct pipe_context *ctx = screen->context_create(screen, NULL); + struct pipe_context *ctx = screen->context_create(screen, NULL, 0); tgsi_vs_window_space_position(ctx); null_sampler_view(ctx, TGSI_TEXTURE_2D); -- cgit v1.2.3