[Bug 15334] Radeon EXA + Sampling off the edge of REPEAT_NONE sources

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 7 07:26:37 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15334





--- Comment #8 from Owen Taylor <otaylor at redhat.com>  2008-04-07 07:26:36 PST ---
> The nifty part is I don't think we need any additional storage. :) Something
> like
> 
> R300_EASY_TX_FORMAT(ZERO, ZERO, ZERO, ONE, X8)
> 
> should do the trick I think.

So the idea is you just point TXOFFSET to some random piece of memory
(the start of the source texture, say), and it won't matter because
the data doesn't get used, or maybe doesn't even get read at all?

If that works, that's nifty indeed.

> > But back to more immediately to this patch - how would you prefer to see
> > the test for "source has alpha" be done?
> 
> Use PICT_FORMAT_A() instead of PIXMAN_FORMAT_A() (see
> /usr/include/xorg/picture.h). If you don't mind, I can push the patch with
> those two changes.

Sure, if you want to do that, it would appreciated.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list