Re: PPC r300 texture

2005-02-15 Thread Vladimir Dergachev
{R300_EASY_TX_FORMAT(Y, Y, Y, X, Y8X8), 0}, {R300_EASY_TX_FORMAT(Y, Y, X, Y, Y8X8), 0}, But testing if the result is good is better :) I commited a patch for big endian, i will do a test prog so we can test texture format on x86 & ppc. Great ! Btw, does anyone know whether we are obligated to u

Re: PPC r300 texture

2005-02-15 Thread Jerome Glisse
On Mon, 14 Feb 2005 16:13:18 +0100, Jerome Glisse <[EMAIL PROTECTED]> wrote: > On Mon, 14 Feb 2005 10:02:07 -0500 (EST), Vladimir Dergachev > <[EMAIL PROTECTED]> wrote: > > > > > > On Mon, 14 Feb 2005, Jerome Glisse wrote: > > > > >> On Mon, 14 Feb 2005 17:17:05 +1100, Paul Mackerras <[EMAIL PROTEC

Re: PPC r300 texture

2005-02-14 Thread Dario Laera
Just tried the patch, it's all ok, well done ;) -- Laera Dario Undergraduate student at Computer Science University of Bologna ICQ# 203250303 /==/ http://laera.web.cs.unibo.it Mail to: laera_at_cs.unibo.it pennytommy_at_libero.it --- SF email is

Re: PPC r300 texture

2005-02-14 Thread Jerome Glisse
On Mon, 14 Feb 2005 10:02:07 -0500 (EST), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > > > On Mon, 14 Feb 2005, Jerome Glisse wrote: > > >> On Mon, 14 Feb 2005 17:17:05 +1100, Paul Mackerras <[EMAIL PROTECTED]> > >> wrote: > >>> Vladimir Dergachev writes: > >>> > I am a bit puzzled wi

Re: PPC r300 texture

2005-02-14 Thread Vladimir Dergachev
On Mon, 14 Feb 2005, Jerome Glisse wrote: On Mon, 14 Feb 2005 17:17:05 +1100, Paul Mackerras <[EMAIL PROTECTED]> wrote: Vladimir Dergachev writes: I am a bit puzzled with your patch - do you really need to hard code format field in r300_state.c ? Ok i think i understand, Mesa tell us that the fo

Re: PPC r300 texture

2005-02-14 Thread Jerome Glisse
> On Mon, 14 Feb 2005 17:17:05 +1100, Paul Mackerras <[EMAIL PROTECTED]> wrote: > > Vladimir Dergachev writes: > > > > > I am a bit puzzled with your patch - do you really need to hard code > > > format field in r300_state.c ? Ok i think i understand, Mesa tell us that the format is MESA_FORMAT

Re: PPC r300 texture

2005-02-14 Thread Jerome Glisse
On Mon, 14 Feb 2005 17:17:05 +1100, Paul Mackerras <[EMAIL PROTECTED]> wrote: > Vladimir Dergachev writes: > > > I am a bit puzzled with your patch - do you really need to hard code > > format field in r300_state.c ? This is ugly hack, simply to test because i know that i shouldn't hardcode it.

Re: PPC r300 texture

2005-02-13 Thread Paul Mackerras
Vladimir Dergachev writes: > I am a bit puzzled with your patch - do you really need to hard code > format field in r300_state.c ? I find that with that line there, it works moderately well (textures look mostly correct although dithered at the edges), but with that line commented out, texture

Re: PPC r300 texture

2005-02-13 Thread Vladimir Dergachev
Hi Jerome, I am a bit puzzled with your patch - do you really need to hard code format field in r300_state.c ? If not, please commit the modification for the texture format table, it looks fine to me. (and not really a hack ;) ) best Vladimir

PPC r300 texture

2005-02-13 Thread Jerome Glisse
Hi, Attached is patch, an ugly hack that should give you texture on ppc, at least here i got texture and could play to tuxracer and see glexcess (i don't think there is a q3 for ppc on linux thus i test with glexcess and few others progs). So please test it and tell me the result :) What i still