diff options
author | Rob Clark <[email protected]> | 2017-08-24 09:16:53 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-10-24 12:56:51 -0400 |
commit | 7e7096307aff680160f7924cf972718b404c6c88 (patch) | |
tree | 274adeb1bba8b3eddbae6beaa1fe02f18120c6cb /src/gallium/drivers/freedreno | |
parent | 7a6c6e73a827471b73cafc897bb706b16afaadd7 (diff) |
freedreno: pass context flags through to fd_context_init()
Prep work for later patch.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
6 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_context.c b/src/gallium/drivers/freedreno/a2xx/fd2_context.c index ec76a227999..4f6e432c965 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_context.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_context.c @@ -113,7 +113,7 @@ fd2_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) pctx = fd_context_init(&fd2_ctx->base, pscreen, (screen->gpu_id >= 220) ? a22x_primtypes : a20x_primtypes, - priv); + priv, flags); if (!pctx) return NULL; diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_context.c b/src/gallium/drivers/freedreno/a3xx/fd3_context.c index b432f593e0f..476d06d43ff 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_context.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_context.c @@ -94,7 +94,7 @@ fd3_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) fd3_prog_init(pctx); fd3_emit_init(pctx); - pctx = fd_context_init(&fd3_ctx->base, pscreen, primtypes, priv); + pctx = fd_context_init(&fd3_ctx->base, pscreen, primtypes, priv, flags); if (!pctx) return NULL; diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_context.c b/src/gallium/drivers/freedreno/a4xx/fd4_context.c index db292af8be1..82ba94a0895 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_context.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_context.c @@ -94,7 +94,7 @@ fd4_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) fd4_prog_init(pctx); fd4_emit_init(pctx); - pctx = fd_context_init(&fd4_ctx->base, pscreen, primtypes, priv); + pctx = fd_context_init(&fd4_ctx->base, pscreen, primtypes, priv, flags); if (!pctx) return NULL; diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_context.c b/src/gallium/drivers/freedreno/a5xx/fd5_context.c index 3632cc522ee..1d086338e9f 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_context.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_context.c @@ -93,7 +93,7 @@ fd5_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) fd5_prog_init(pctx); fd5_emit_init(pctx); - pctx = fd_context_init(&fd5_ctx->base, pscreen, primtypes, priv); + pctx = fd_context_init(&fd5_ctx->base, pscreen, primtypes, priv, flags); if (!pctx) return NULL; diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 1cf366b0c6a..3d0ac3a22db 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -244,7 +244,7 @@ fd_context_cleanup_common_vbos(struct fd_context *ctx) struct pipe_context * fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, - const uint8_t *primtypes, void *priv) + const uint8_t *primtypes, void *priv, unsigned flags) { struct fd_screen *screen = fd_screen(pscreen); struct pipe_context *pctx; diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index 4472afb83e1..c045661468e 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -432,7 +432,7 @@ void fd_context_cleanup_common_vbos(struct fd_context *ctx); struct pipe_context * fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, const uint8_t *primtypes, - void *priv); + void *priv, unsigned flags); void fd_context_destroy(struct pipe_context *pctx); |