소스 검색

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);