mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 14:50:11 +01:00
virgl: set PIPE_CAP_BLEND_EQUATION_ADVANCED
Signed-off-by: Elie Tournier <elie.tournier@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5516>
This commit is contained in:
parent
a0f42b89a1
commit
575ab303a8
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue