r600/sfn: Keep info about dual-source blend in FS

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6814>
This commit is contained in:
Gert Wollny
2020-09-22 09:16:23 +02:00
committed by Marge Bot
parent 0a59530d0d
commit 234891cc04
2 changed files with 3 additions and 1 deletions

View File

@@ -48,7 +48,8 @@ FragmentShaderFromNir::FragmentShaderFromNir(const nir_shader& nir,
m_front_face_loaded(false),
m_depth_exports(0),
m_enable_centroid_interpolators(false),
m_apply_sample_mask(key.ps.apply_sample_id_mask)
m_apply_sample_mask(key.ps.apply_sample_id_mask),
m_dual_source_blend(key.ps.dual_source_blend)
{
for (auto& i: m_interpolator) {
i.enabled = false;

View File

@@ -97,6 +97,7 @@ private:
std::map<unsigned, PValue> m_input_cache;
bool m_enable_centroid_interpolators;
unsigned m_apply_sample_mask;
bool m_dual_source_blend;
};
}