[Nouveau] [PATCH 4/4] exa/nv10: src ops should use the SF macro

Ilia Mirkin imirkin at alum.mit.edu
Sat Aug 9 23:25:15 PDT 2014


Doesn't actually end up mattering.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/nv10_exa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nv10_exa.c b/src/nv10_exa.c
index 6b75a9e..78bc739 100644
--- a/src/nv10_exa.c
+++ b/src/nv10_exa.c
@@ -132,7 +132,7 @@ needs_src_alpha(int op)
 static inline Bool
 needs_src(int op)
 {
-	return nv10_pict_op[op].src != DF(ZERO);
+	return nv10_pict_op[op].src != SF(ZERO);
 }
 
 static inline Bool
-- 
1.8.5.5



More information about the Nouveau mailing list