From: Elie Tournier Date: Tue, 9 Jun 2020 10:41:41 +0000 (+0100) Subject: gallium: add TGSI_PROPERTY_FS_BLEND_EQUATION_ADVANCED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3a3f7cca2390b51dd65fa4af29bd70af95f2995;p=mesa.git 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 Reviewed-by: Gert Wollny Reviewed-by: Dave Airlie Part-of: --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c index d6e8854a8b2..acc88966ee9 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_strings.c +++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c @@ -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] = diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index 7c5828ca863..b41d86ef3e3 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -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, };