On Wed, 2004-01-14 at 11:33, Keith Whitwell wrote:
What's going on here - is there something the hw can't handle?
+ if ( fcmd[LIT_ATTEN_CONST] == 1.0 ) { + /* Can't do even constant attenuation, disable */ + icmd[idx] &= ~( R200_LIGHT_0_ENABLE_RANGE_ATTEN << shift);
The refernce driver does this; excuse my ignorance, but maybe constant attenuation of 1.0 is the same as no attenuation?
Yes, that makes sense. Reading the comment not the code.
The patch looks good - I'm happy to see it committed.
Keith
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
