1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[dxso] Fix GCC warning for an unused variable

This commit is contained in:
Philip Rebohle 2020-02-06 00:59:12 +01:00 committed by Joshie
parent 2288dd924e
commit 69b04c609a

View File

@ -3567,7 +3567,7 @@ void DxsoCompiler::emitControlFlowGenericLoop(
// Look up vPos so it gets initted.
DxsoRegister vPos;
vPos.id = DxsoRegisterId{ DxsoRegisterType::MiscType, DxsoMiscTypeIndices::MiscTypePosition };
auto vPosPtr = this->emitGetOperandPtr(vPos);
this->emitGetOperandPtr(vPos);
}
if (m_ps.vPos.id != 0) {