From ffe2bd676f332172a5faa053eff6460c1f184ef5 Mon Sep 17 00:00:00 2001 From: Lyude Date: Thu, 16 Mar 2017 18:00:05 -0400 Subject: gallium: Add a cap to check if the driver supports fill_rectangle Changes since v1: - Add pipe caps for etnaviv, freedreno, swr and virgl Signed-off-by: Lyude Reviewed-by: Ilia Mirkin --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/etnaviv') diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 1d28800c066..75d4fba5b66 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -246,6 +246,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_INT64_DIVMOD: case PIPE_CAP_TGSI_TEX_TXF_LZ: case PIPE_CAP_TGSI_CLOCK: + case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: return 0; /* Stream output. */ -- cgit v1.2.3