On Thu, 2009-05-14 at 13:37 +0200, Maciej Cencora wrote:
> Dnia czwartek, 14 maja 2009 o 08:40:12 Michel Dänzer napisał(a):
> > On Thu, 2009-05-14 at 03:09 +0200, Maciej Cencora wrote:
> > > 1) fallback handling has been rewritten to work with SWTCL
> > >
> > > I created r300Fallback function (based on the one in r200 driver) and
> > > call it every time there's suspicion that we may be need to fall-back to
> > > software. In r300Fallback function we check if we're going to switch
> > > between SW and HW rasterization - if so we plug appropriate Render
> > > functions (_swsetup_Wakeup to plug software rasterizer functions). It
> > > worked for HW TCL because we have never plugged our Render functions like
> > > we do for SW TCL in r300InitSwtcl.
> >
> > Sounds great, but please don't add RADEON_SWTCL, there's already the
> > tcl_mode driconf option.
> 
> Yeah, I know about tcl_mode driconf option, but I added RADEON_SWTCL and 
> RADEON_CONFORMANCE_MODE for easier testing - I don't have to change dri 
> config 
> just to run piglit or check if some bugs are reproducible also with software 
> TCL.

You can override driconf options with environment variables of the same
name, so e.g.

tcl_mode=0 foobar

runs foobar with SW TCL.

> Do you really think they should be removed?

I was only referring to RADEON_SWTCL. That said, a driconf option might
be better for the conformance mode as well. Then you could set up an app
profile for piglit/glean or whatever so you normally wouldn't need to
set any environment variables at all.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to