From patchwork Sat Jan 8 22:40:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bugzilla-daemon@freedesktop.org X-Patchwork-Id: 466211 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p08NIRIm032436 for ; Sat, 8 Jan 2011 23:18:47 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 013D49E841 for ; Sat, 8 Jan 2011 15:18:27 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id C97BD9E76D for ; Sat, 8 Jan 2011 14:40:18 -0800 (PST) Received: by annarchy.freedesktop.org (Postfix, from userid 33) id 9DF47130061; Sat, 8 Jan 2011 14:40:18 -0800 (PST) From: bugzilla-daemon@freedesktop.org To: dri-devel@lists.freedesktop.org Subject: [Bug 32511] glDrawPixels broken on savage X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Mesa X-Bugzilla-Component: Drivers/DRI/Savage X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzi09.fdo.tormod@xoxy.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: medium X-Bugzilla-Assigned-To: dri-devel@lists.freedesktop.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Message-Id: <20110108224018.9DF47130061@annarchy.freedesktop.org> Date: Sat, 8 Jan 2011 14:40:18 -0800 (PST) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 08 Jan 2011 23:18:47 +0000 (UTC) diff --git a/src/mesa/drivers/dri/savage/savagecontext.h b/src/mesa/drivers/dri/savage/savagecontext.h index 75bec62..2557605 100644 --- a/src/mesa/drivers/dri/savage/savagecontext.h +++ b/src/mesa/drivers/dri/savage/savagecontext.h @@ -311,9 +311,9 @@ extern int SAVAGE_DEBUG; #define DEBUG_DMA 0x010 #define DEBUG_STATE 0x020 -#define TARGET_FRONT 0x0 -#define TARGET_BACK 0x1 -#define TARGET_DEPTH 0x2 +#define TARGET_FRONT 0x2 +#define TARGET_BACK 0x3 +#define TARGET_DEPTH 0x4 #define SUBPIXEL_X -0.5 #define SUBPIXEL_Y -0.375