[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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 26 21:08:20 PDT 2010


--- Comment #14 from Tom Stellard <tstellar at gmail.com> 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.

More information about the dri-devel mailing list