R300 fragment program write to depth

2006-01-21 Thread Jerome Glisse
Hi, Write to depth in fragment program doesn't work. Looking at fglrx dump, shows that sometimes fglrx doesn't even set the R300_PFS_NODE_OUTPUT_DEPTH. Also using a fragment program very similar to one produced by fglrx doesn't work. I (Ben too) suspect that we miss somethings elsewhere. Did

Re: R300 fragment program write to depth

2006-01-21 Thread Aapo Tahkola
On Sat, 21 Jan 2006 19:14:02 +0100 Jerome Glisse [EMAIL PROTECTED] wrote: Hi, Write to depth in fragment program doesn't work. Looking at fglrx dump, shows that sometimes fglrx doesn't even set the R300_PFS_NODE_OUTPUT_DEPTH. Also using a fragment program very similar to one produced by

Re: R300 fragment program write to depth

2006-01-21 Thread Peter Zubaj
Hi, What about early z test ? AFAIK default is early z test on (only for alpha textures is off). Look for update_early_z function. Peter Zubaj On Saturday 21 January 2006 19:14, Jerome Glisse wrote: Hi, Write to depth in fragment program doesn't work. Looking at fglrx dump, shows that