radeonsi: MIMG shader instructions require waiting for the results.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 19 Apr 2012 07:36:52 +0000 (09:36 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 19 Apr 2012 07:36:52 +0000 (09:36 +0200)
src/gallium/drivers/radeon/SIInstrInfo.td

index ffa18d05019d7f0f6728d3af20c6fa5a03f6c06a..65b28ec84ad29e5d4462f15bdfa5058202e4781e 100644 (file)
@@ -116,6 +116,8 @@ class MIMG <bits<7> op, dag outs, dag ins, string asm, list<dag> pattern> :
 
   let EncodingType = 2; //SIInstrEncodingType::MIMG
 
+  let NeedWait = 1;
+  let usesCustomInserter = 1;
 }
 
 class MTBUF <bits<3> op, dag outs, dag ins, string asm, list<dag> pattern> :