瀏覽代碼

DX12: Removed flushSRV before executeIndirect which is not needed

TothBenoit 1 年之前
父節點
當前提交
f64fa55ab6
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);