mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[D3D12] DXBC: Unload vfetch index operand
This commit is contained in:
parent
a6da33e463
commit
091d51f841
|
|
@ -1982,6 +1982,7 @@ void DxbcShaderTranslator::ProcessVertexFetchInstruction(
|
|||
UseDxbcSourceOperand(index_operand, kSwizzleXYZW, 0);
|
||||
++stat_.instruction_count;
|
||||
++stat_.conversion_instruction_count;
|
||||
UnloadDxbcSourceOperand(index_operand);
|
||||
// TODO(Triang3l): Index clamping maybe.
|
||||
|
||||
uint32_t vfetch_index = instr.operands[1].storage_index;
|
||||
|
|
|
|||
Loading…
Reference in a new issue