7777524ef9
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
From fe9e5f557953d3c4b9c3cac6be0ff29d97c3f2c7 Mon Sep 17 00:00:00 2001
|
|
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
Date: Thu, 22 Oct 2015 17:08:04 +0200
|
|
Subject: [PATCH 3/3] gallium/swr: add flags parameter to
|
|
pipe_screen::context_create
|
|
|
|
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
---
|
|
src/gallium/drivers/swr/swr_context.cpp | 3 ++-
|
|
src/gallium/drivers/swr/swr_context.h | 2 +-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/gallium/drivers/swr/swr_context.cpp b/src/gallium/drivers/swr/swr_context.cpp
|
|
index 6269cd0..2dd3443 100644
|
|
--- a/src/gallium/drivers/swr/swr_context.cpp
|
|
+++ b/src/gallium/drivers/swr/swr_context.cpp
|
|
@@ -336,7 +336,8 @@ swr_render_condition(struct pipe_context *pipe,
|
|
|
|
|
|
struct pipe_context *
|
|
-swr_create_context(struct pipe_screen *screen, void *priv)
|
|
+swr_create_context(struct pipe_screen *screen, void *priv,
|
|
+ unsigned flags)
|
|
{
|
|
struct swr_context *ctx = CALLOC_STRUCT(swr_context);
|
|
ctx->blendJIT =
|
|
diff --git a/src/gallium/drivers/swr/swr_context.h b/src/gallium/drivers/swr/swr_context.h
|
|
index 9d93a6d..5271eac 100644
|
|
--- a/src/gallium/drivers/swr/swr_context.h
|
|
+++ b/src/gallium/drivers/swr/swr_context.h
|
|
@@ -160,7 +160,7 @@ swr_context(struct pipe_context *pipe)
|
|
return (struct swr_context *)pipe;
|
|
}
|
|
|
|
-struct pipe_context *swr_create_context(struct pipe_screen *, void *priv);
|
|
+struct pipe_context *swr_create_context(struct pipe_screen *, void *priv, unsigned flags);
|
|
|
|
void swr_state_init(struct pipe_context *pipe);
|
|
|
|
--
|
|
2.6.2
|
|
|