From 5860a8fdc6201063c7e4f87c3acc5ca3626d69bf Mon Sep 17 00:00:00 2001 From: Triang3l Date: Fri, 28 Dec 2018 08:13:35 +0300 Subject: [PATCH] [D3D12] DXBC: Add a missing STAT increment to memexport --- src/xenia/gpu/dxbc_shader_translator_memexport.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/gpu/dxbc_shader_translator_memexport.cc b/src/xenia/gpu/dxbc_shader_translator_memexport.cc index b1a683659..a4a7a0e80 100644 --- a/src/xenia/gpu/dxbc_shader_translator_memexport.cc +++ b/src/xenia/gpu/dxbc_shader_translator_memexport.cc @@ -1382,6 +1382,7 @@ void DxbcShaderTranslator::ExportToMemory() { // Close the memexport possibility check. shader_code_.push_back(ENCODE_D3D10_SB_OPCODE_TYPE(D3D10_SB_OPCODE_ENDIF) | ENCODE_D3D10_SB_TOKENIZED_INSTRUCTION_LENGTH(1)); + ++stat_.instruction_count; // Release control_temp. PopSystemTemp();