[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
1 changed files with 1 additions and 1 deletions

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);