[D3D12] DXBC: Unload vfetch index operand

This commit is contained in:
Triang3l 2018-09-09 19:04:03 +03:00
parent a6da33e463
commit 091d51f841
1 changed files with 1 additions and 0 deletions

View File

@ -1982,6 +1982,7 @@ void DxbcShaderTranslator::ProcessVertexFetchInstruction(
UseDxbcSourceOperand(index_operand, kSwizzleXYZW, 0); UseDxbcSourceOperand(index_operand, kSwizzleXYZW, 0);
++stat_.instruction_count; ++stat_.instruction_count;
++stat_.conversion_instruction_count; ++stat_.conversion_instruction_count;
UnloadDxbcSourceOperand(index_operand);
// TODO(Triang3l): Index clamping maybe. // TODO(Triang3l): Index clamping maybe.
uint32_t vfetch_index = instr.operands[1].storage_index; uint32_t vfetch_index = instr.operands[1].storage_index;