Explorar o código

DX12: Removed flushSRV before executeIndirect which is not needed

TothBenoit hai 1 ano
pai
achega
f64fa55ab6
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      h3d/impl/DX12Driver.hx

+ 0 - 1
h3d/impl/DX12Driver.hx

@@ -2393,7 +2393,6 @@ class DX12Driver extends h3d.impl.Driver {
 			frame.commandList.iaSetIndexBuffer(ibuf.vbuf.iview);
 			frame.commandList.iaSetIndexBuffer(ibuf.vbuf.iview);
 		}
 		}
 		if( commands.data != null ) {
 		if( commands.data != null ) {
-			flushSRV();
 			transition(commands.data, INDIRECT_ARGUMENT);
 			transition(commands.data, INDIRECT_ARGUMENT);
 			if ( commands.countBuffer != null )
 			if ( commands.countBuffer != null )
 				transition(commands.countBuffer, INDIRECT_ARGUMENT);
 				transition(commands.countBuffer, INDIRECT_ARGUMENT);