diff --git a/src/d3d9/d3d9_fixed_function.cpp b/src/d3d9/d3d9_fixed_function.cpp index a2c2e41f7..7c7629a9b 100644 --- a/src/d3d9/d3d9_fixed_function.cpp +++ b/src/d3d9/d3d9_fixed_function.cpp @@ -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);