[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);
|
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;
|
||||||
|
|
Loading…
Reference in New Issue