1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[d3d9] FF: Don't change flatShadingMask for outputs

This commit is contained in:
Robin Kertels 2022-08-13 15:35:27 +02:00 committed by Joshie
parent 46cb05ce45
commit de8d2b37bb

View File

@ -790,7 +790,7 @@ namespace dxvk {
bool diffuseOrSpec = semantic == DxsoSemantic{ DxsoUsage::Color, 0 }
|| semantic == DxsoSemantic{ DxsoUsage::Color, 1 };
if (diffuseOrSpec)
if (diffuseOrSpec && input)
m_flatShadingMask |= 1u << slot;
std::string name = str::format(input ? "in_" : "out_", semantic.usage, semantic.usageIndex);