From b47948b7cfda47d017f3dc7e96c1c28798029391 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Tue, 7 Apr 2020 19:19:08 +0300 Subject: [PATCH] [DXBC] Fix another copy-paste kVSDS typo --- src/xenia/gpu/dxbc_shader_translator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/dxbc_shader_translator.cc b/src/xenia/gpu/dxbc_shader_translator.cc index 8ce0081a3..8dbf40f55 100644 --- a/src/xenia/gpu/dxbc_shader_translator.cc +++ b/src/xenia/gpu/dxbc_shader_translator.cc @@ -4333,7 +4333,7 @@ void DxbcShaderTranslator::WriteShaderCode() { shader_object_.push_back(EncodeVectorMaskedOperand( D3D10_SB_OPERAND_TYPE_OUTPUT, i ? 0b0011 : 0b1111, 1)); shader_object_.push_back( - uint32_t(InOutRegister::kVDSSOutClipDistance0123) + i); + uint32_t(InOutRegister::kVSDSOutClipDistance0123) + i); shader_object_.push_back( ENCODE_D3D10_SB_NAME(D3D10_SB_NAME_CLIP_DISTANCE)); ++stat_.dcl_count;