On Mon, 12 Jun 2006 00:56:36 +0200
Rune Petersen <[EMAIL PROTECTED]> wrote:

> Aapo Tahkola wrote:
> > On Sun, 11 Jun 2006 15:01:15 +0200
> > Rune Petersen <[EMAIL PROTECTED]> wrote:
> > 
> >> Aapo Tahkola wrote:
> >>> On Wed, 07 Jun 2006 17:49:00 +0200
> >>> Rune Petersen <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> Aapo Tahkola wrote:
> >>>>> On Wed, 07 Jun 2006 10:51:08 +0200
> >>>>> Rune Petersen <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>>> Aapo Tahkola wrote:
> >>>>>>> On Sat, 3 Jun 2006 05:04:04 +0200
> >>>>>>> "Jacek Poplawski" <[EMAIL PROTECTED]> wrote:
> >>>>>>>
> >>>>>>>> I am trying to run http://maniadrive.raydium.org/ on Radeon
> >>>>>>>> 9800 with Mesa CVS.
> >>>>>>>> 3D view in the menu background works, but when I want to
> >>>>>>>> play I see:
> >>>>>>>>
> >>>>>>>> *********************************WARN_ONCE*********************************
> >>>>>>>> File r300_vertexprog.c function r300_translate_vertex_shader
> >>>>>>>> line 564 Ran out of temps, num temps 13, us 12
> >>>>>>>> ***************************************************************************
> >>>>>> Can the driver only use 13 temps natively?
> >>>>>> I was under the impression that there was 32 or 64 vertex
> >>>>>> temps.
> >>>>> r300 - r480 only have 14. A good optimizer can make sure that
> >>>>> the limits are never really hit.
> >>>>>
> >>>> Ok, but How do you find there numbers?
> >>>>
> >>>> I can only find reports like this (X850: 32 vp temps):
> >>>> http://www.delphi3d.net/hardware/viewreport.php?report=1412
> >>> Remove fallback, craft test app that uses 15 temps and see if it
> >>> works. Be aware though that you need to beat it hard to get
> >>> reliable results. I guess there's some capacitance in the
> >>> circuits...
> >>>
> >> I found the 3dsmax viewset in SPECViewperf 8.1 which uses 15 temps.
> >> increasing the temps count to 15 I can run the viewset multiple
> >> times without lockup or visible errors.
> >>
> >> I think the safest safest way is to set it to 15 and if an app hits
> >> the fallback do a test to see if the app can run without fallback.
> > 
> > Try this.
> > It should start working again when you move "MOV   R14, R0;" more
> > closer to the instruction that reads R14.
> > 
> 
> Gave it a try:
> 23 or less instructions between the two MOV instructions and it works.
> Translates into VSF_MAX_FRAGMENT_TEMPS being 17.
> 
> The card is an X800 XT.

You cannot count it based on how many instructions are between them,
those are there just to increase the time that temp needs to hold its
value before its read. You need to add and initialize new temps if you
want to test higher temps. _mesa_print_program is probably useful.

-- 
Aapo Tahkola


--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to