1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[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

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;