From 1e5730102a1fb72aaaca4c8f9580460e74e777c1 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 12 Sep 2021 15:39:25 -0700 Subject: [PATCH] freedreno: Remove unused function Signed-off-by: Rob Clark Part-of: --- src/gallium/drivers/freedreno/freedreno_context.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index d07fa61..6c6385f 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -712,12 +712,6 @@ fd_context_get_scissor(struct fd_context *ctx) assert_dt return ctx->current_scissor; } -static inline bool -fd_supported_prim(struct fd_context *ctx, unsigned prim) -{ - return (1 << prim) & ctx->primtype_mask; -} - void fd_context_switch_from(struct fd_context *ctx) assert_dt; void fd_context_switch_to(struct fd_context *ctx, struct fd_batch *batch) assert_dt; -- 2.7.4