From 575ab303a80d02fb7eda451f636e013e2d95fa60 Mon Sep 17 00:00:00 2001 From: Elie Tournier Date: Thu, 16 Jul 2020 13:41:15 +0100 Subject: [PATCH] virgl: set PIPE_CAP_BLEND_EQUATION_ADVANCED Signed-off-by: Elie Tournier Reviewed-by: Gert Wollny Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/virgl/virgl_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 3591762c9e3..348575d7b9f 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -262,6 +262,8 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_FBFETCH: return (vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_TGSI_FBFETCH) ? 1 : 0; + case PIPE_CAP_BLEND_EQUATION_ADVANCED: + return vscreen->caps.caps.v2.capability_bits_v2 & VIRGL_CAP_V2_BLEND_EQUATION; case PIPE_CAP_TGSI_CLOCK: return vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_SHADER_CLOCK; case PIPE_CAP_TGSI_ARRAY_COMPONENTS: -- 2.30.2