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-23 08:29 -------
(In reply to comment #3)
> 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.

r300 has had glPolygonOffset support for as long as its been able to run q3.
Anyway, there are couple other extenssions where we would need to poke
t_vp_build.c to get things going. We, for instance, have to use 2 as base in
fogc calculations instead of Euler's number.

          
     
     
--           
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

Reply via email to