From d63c29ef20b26aa90fb310216011d03253e4f09b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Oct 2009 17:22:58 -0700 Subject: [PATCH] x86: Fix the test for negative pixel count in optimized rgb565 spans. There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have. --- src/mesa/x86/read_rgba_span_x86.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/x86/read_rgba_span_x86.S b/src/mesa/x86/read_rgba_span_x86.S index 80144b889c7..92b1c2d902d 100644 --- a/src/mesa/x86/read_rgba_span_x86.S +++ b/src/mesa/x86/read_rgba_span_x86.S @@ -522,7 +522,7 @@ _generic_read_RGBA_span_RGB565_MMX: addl $32,%esp sarl $2, %ecx - jle .L01 /* Bail early if the count is negative. */ + jl .L01 /* Bail early if the count is negative. */ jmp .L02 .L03: -- 2.30.2