[Mesa-dev] [PATCH 1/2] radeon/llvm: Valid pixel mode and EOP were inverted in export

Vincent Lejeune vljn at ovi.com
Tue Nov 27 14:10:58 PST 2012


---
 lib/Target/AMDGPU/R600Instructions.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td
index d081824..1b9d462 100644
--- a/lib/Target/AMDGPU/R600Instructions.td
+++ b/lib/Target/AMDGPU/R600Instructions.td
@@ -986,8 +986,8 @@ let Predicates = [isR600] in {
   def R600_Export : ExportInst
   {
     let Inst{52-49} = 1; // BURST_COUNT
-    let Inst{53} = 1; // VALID_PIXEL_MODE
-    let Inst{54} = eop;
+    let Inst{53} = eop;
+    let Inst{54} = 1; // VALID_PIXEL_MODE
     let Inst{62-55} = inst;
     let Inst{63} = 1; // BARRIER
   }
-- 
1.8.0



More information about the mesa-dev mailing list