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:
parent
46cb05ce45
commit
de8d2b37bb
@ -790,7 +790,7 @@ namespace dxvk {
|
|||||||
bool diffuseOrSpec = semantic == DxsoSemantic{ DxsoUsage::Color, 0 }
|
bool diffuseOrSpec = semantic == DxsoSemantic{ DxsoUsage::Color, 0 }
|
||||||
|| semantic == DxsoSemantic{ DxsoUsage::Color, 1 };
|
|| semantic == DxsoSemantic{ DxsoUsage::Color, 1 };
|
||||||
|
|
||||||
if (diffuseOrSpec)
|
if (diffuseOrSpec && input)
|
||||||
m_flatShadingMask |= 1u << slot;
|
m_flatShadingMask |= 1u << slot;
|
||||||
|
|
||||||
std::string name = str::format(input ? "in_" : "out_", semantic.usage, semantic.usageIndex);
|
std::string name = str::format(input ? "in_" : "out_", semantic.usage, semantic.usageIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user