2
0
Эх сурвалжийг харах

DX12: Removed flushSRV before executeIndirect which is not needed

TothBenoit 1 жил өмнө
parent
commit
f64fa55ab6

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