diff options
author | Elie Tournier <tournier.elie@gmail.com> | 2020-06-09 11:41:41 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-07-17 06:19:16 +0000 |
commit | b3a3f7cca2390b51dd65fa4af29bd70af95f2995 (patch) | |
tree | d052706062755ee0549abbf27095bf6da27be7ea /src/gallium/include/pipe | |
parent | 30f4ccff5bd7304a623d2909aaf8de35727ce03d (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 <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>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |