Hanno Böck wrote: > Hi, > > I found this in a mesa commit message: Log message: implement > arb_vertex_program in hw for r200. Code contains still some hacks, \ > generic attribs cause a fallback, but otherwise it seems to work > quite well. Passes \ all glean vertProg1 tests with the exception of > the degnerated LIT case (which is a \ hw limitation), as well as runs > the r200 render path of doom3/quake4 (1.1 patch \ needed for quake4). > The code is heavily borrowed from the r300 driver as vertex \ > programs encoding is almost identical. arb_vertex_program is not yet > announced by \ default and still needs to be enabled via driconf. The second part is no longer true, it is now enabled by default (if drm is new enough), and the driconf option is gone.
> > I tried this, but glean gives me just failures (result attached), do > I need something else to enable? I have up-to-date mesa-cvs and drm. No that should be all needed. What is the output of glean itself? Maybe it's possible to get information out of that weird results file but I know I can't. And, what card is this? When I run it on my radeon 9000 (rv250), I get only 2 (repeated for all visuals) failures: FAILURE: Program: LIT test 1 Expected color: 1, 0.65, 0.443, 1 Observed color: 1, 0.65098, 0.431373, 1 FAILURE: Program: LIT test 2 (degenerate case: 0 ^ 0 -> 1) Expected color: 1, 0.65, 1, 1 Observed color: 1, 0.65098, 0, 1 Both are expected, r200 (and r300) apparently can't handle the degenerate case (that's really nitpicking), whereas the failure in LIT test 1 is actually not a failure at all (glean expects an approximation but with too tight tolerance, the value is actually "too good"). (I need to fix point size and fog coords with vertex progs though, those are right now broken.) Roland ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev