Browse Source

DX12: Removed flushSRV before executeIndirect which is not needed

TothBenoit 1 year ago
parent
commit
f64fa55ab6
1 changed files with 0 additions and 1 deletions
  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);
 		}
 		if( commands.data != null ) {
-			flushSRV();
 			transition(commands.data, INDIRECT_ARGUMENT);
 			if ( commands.countBuffer != null )
 				transition(commands.countBuffer, INDIRECT_ARGUMENT);