[dxso] Define color inputs as centroids on SM3 too

This commit is contained in:
Robin Kertels 2022-09-18 22:34:12 +02:00 committed by Joshie
parent c4c1d413db
commit 5962be44c6
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ namespace dxvk {
const bool pixel = m_programInfo.type() == DxsoProgramTypes::PixelShader;
const bool vertex = !pixel;
if (pixel && input && semantic.usage == DxsoUsage::Color && m_programInfo.majorVersion() < 3)
if (pixel && input && semantic.usage == DxsoUsage::Color)
centroid = true;
uint32_t slot = 0;