Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=9710
------- Additional Comments From [EMAIL PROTECTED] 2007-01-22 02:42 ------- While it might be possible to implement offset this way, most hardware has dedicated support for it elsewhere. Most probably this is because running a fragment program which modifies the depth value forces the hardware to turn off all sorts of early-Z and hyper-Z optimizations. Are you certain that the hardware you're looking at (r300?) needs to implement offset this way? ALSO: texenvprogram.c isn't the right place to do this as it won't help the cases where a client-supplied fragment program is in use. It seems more likely that it would be necessary to append some instructions to the compiled program to implement depth offset. You wouldn't want to do this to the core mesa program as it would depend on whether offset were enabled or not, better add a dependency within the driver to make program (re)compilation dependent on polygon offset state. DOUBLE-ALSO: I'm not sure that you can get all the gradient information necessary to perform the calculations in the fragment program. So you may just end up unable to do it. I'm not sure this is a good way to go about doing offset. Probably any sane hardware will have support for it in a different, fixed-functionality place. I'm leaving the bug as NEW, but if you agree, please set to WONTFIX or similar. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev