From: bugzilla-daemon@freedesktop.org
Subject: [Bug 31013] [r300g][glsl] Textures are black in Xonotic with offset
mapping - r300 FP: Compiler Error: r300_fragprog_emit.c::begin_tex():
Too many texture indirections
Date: Tue, 26 Oct 2010 21:08:20 -0700 (PDT)
Message-ID: <20101027040820.5189113004E@annarchy.freedesktop.org>
References:
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 869AD9E754
for ;
Tue, 26 Oct 2010 21:08:20 -0700 (PDT)
In-Reply-To:
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=31013
--- Comment #14 from Tom Stellard 2010-10-26 21:08:20 PDT ---
(In reply to comment #13)
> (In reply to comment #12)
> >
> > I though you could have up to 4 indirections in addition to the input, but it's
> > been a while since I looked at 3xx. If the shader works on the same hw using
> > the proprietary driver, it would seem to indicate that was the case (barring
> > some other bug).
>
> I looked at through the docs again, and I'm pretty sure you are right about
> this. I think we need to start using the {ALU,TEXT}_OFFSET fields of
> US_CODE_OFFSET, to give us the input + 4 indirections. I'll write a patch for
> this.
Ok, so it looks like I was wrong about this. I input a shader with 4
indirections to the AMD Shader Analyzer and it crashed, so I'm pretty sure r300
is limited to 3 indirections. I'm guessing that the reason this works on
Windows with r300 hardware is because that driver has some sort of software
fall-back, which r300g doesn't have.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.