gallium: add TGSI_PROPERTY_FS_BLEND_EQUATION_ADVANCED

For virgl, we don't lower advanced equation to fbfetch
So we need to pass the blend equation info in the TGSI to the host

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:
Elie Tournier
2020-06-09 11:41:41 +01:00
committed by Marge Bot
parent 30f4ccff5b
commit b3a3f7cca2
2 changed files with 2 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ const char *tgsi_property_names[TGSI_PROPERTY_COUNT] =
"VS_BLIT_SGPRS_AMD",
"CS_USER_DATA_COMPONENTS_AMD",
"LAYER_VIEWPORT_RELATIVE",
"FS_BLEND_EQUATION_ADVANCED",
};
const char *tgsi_return_type_names[TGSI_RETURN_TYPE_COUNT] =

View File

@@ -308,6 +308,7 @@ enum tgsi_property_name {
TGSI_PROPERTY_VS_BLIT_SGPRS_AMD,
TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD,
TGSI_PROPERTY_LAYER_VIEWPORT_RELATIVE,
TGSI_PROPERTY_FS_BLEND_EQUATION_ADVANCED,
TGSI_PROPERTY_COUNT,
};