From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 31810] New: r600g: Sampling from an alpha texture in a fragment
shader
Date: Sun, 21 Nov 2010 04:47:05 -0800 (PST)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 611019EC53
for ;
Sun, 21 Nov 2010 04:47:05 -0800 (PST)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31810
Summary: r600g: Sampling from an alpha texture in a fragment
shader
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: otaylor@redhat.com
Created an attachment (id=40447)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40447)
piglit patch described
The attach piglit addition works on g600c and softpipe fails on r600g.
(The test is close to minimal, but not having diagnosed the bug
I don't know if "sampling from an alpha texture" is the fundamental
thing that needs to be tested or not... or there could even be failing
piglit tests elsewhere that are showing the same problem.)
The TGSI looks right:
DCL IN[0], COLOR, LINEAR
DCL IN[1], GENERIC[0], PERSPECTIVE
DCL OUT[0], COLOR
DCL SAMP[0]
DCL TEMP[0]
0: TEX TEMP[0], IN[1], SAMP[0], 2D
1: MUL OUT[0], IN[0], TEMP[0].wwww
2: END
VERT
Despite spending a lot of time fooling around this yesterday and checking
what I thought were the obvious things I really have no idea what is going
on; hopefully it will be obvious for someone more familiar with the R700
shader code.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.