The new 2D YUV blit needs this in some cases, so make it available. Signed-off-by: Lucas Stach <l.st...@pengutronix.de> --- src/gallium/drivers/etnaviv/etnaviv_rs.c | 2 +- src/gallium/drivers/etnaviv/etnaviv_rs.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c index fc4f65dbeee1..4c67a9e8a2ca 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c @@ -171,7 +171,7 @@ etna_modify_rs_clearbits(struct compiled_rs_state *cs, uint32_t clear_bits) /* submit RS state, without any processing and no dependence on context * except TS if this is a source-to-destination blit. */ -static void +void etna_submit_rs_state(struct etna_context *ctx, const struct compiled_rs_state *cs) { diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.h b/src/gallium/drivers/etnaviv/etnaviv_rs.h index 125a13a9ad34..81ef05955a79 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.h +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.h @@ -84,6 +84,10 @@ void etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, const struct rs_state *rs); +void +etna_submit_rs_state(struct etna_context *ctx, + const struct compiled_rs_state *cs); + /* Context initialization for RS clear_blit functions. */ void etna_clear_blit_rs_init(struct pipe_context *pctx); -- 2.18.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev