From 261d31cac640ed55b4ac7faec366758fa8163368 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Thu, 7 Mar 2019 18:45:52 +0200 Subject: [PATCH] [dxbc] Fix xfb passthrough for system values vReg should be always allocated for system values which is necessary for emitXfbOutputSetup and is already done for hull shader passthrough. Signed-off-by: Danylo Piliaiev --- src/dxbc/dxbc_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index 8747ae894..b9317e97f 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -189,7 +189,7 @@ namespace dxvk { for (auto e = m_isgn->begin(); e != m_isgn->end(); e++) { emitDclInput(e->registerId, 1, - e->componentMask, e->systemValue, + e->componentMask, DxbcSystemValue::None, DxbcInterpolationMode::Undefined); }