aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorElie Tournier <[email protected]>2020-06-09 11:41:41 +0100
committerMarge Bot <[email protected]>2020-07-17 06:19:16 +0000
commitb3a3f7cca2390b51dd65fa4af29bd70af95f2995 (patch)
treed052706062755ee0549abbf27095bf6da27be7ea /src/gallium
parent30f4ccff5bd7304a623d2909aaf8de35727ce03d (diff)
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 <[email protected]> Reviewed-by: Gert Wollny <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5516>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.c1
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h1
2 files changed, 2 insertions, 0 deletions
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,
};