[D3D12] DXBC: Add a missing STAT increment to memexport

This commit is contained in:
Triang3l 2018-12-28 08:13:35 +03:00
parent ed09cac440
commit 5860a8fdc6
1 changed files with 1 additions and 0 deletions

View File

@ -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();