0 Replies Latest reply on Nov 10, 2008 12:33 PM by SteveB

    Mod bug on latest ATI cards?

    SteveB

      Hi,

      I'm seeing a serious bug on the latest ATI cards when using the mod instruction in Cg.

      int worldX = ((int)worldPosition.x)%(width);

      This seems like a major flaw - works fine on my old FireGL VX and also on nVidia cards but it's very broken on my new HD4850. It also had problems on my laptop's HD2400 but newer drivers seem to fix it.

      If this is the wrong forum I apologise. Because I'm using Cg I'm also discussing this issue with nVidia. However, the fact it works on other ATI hardware seems to indicate a driver problem rather than a problem with Cg itself.

      I can provide a screenshot of the error if required.

      thanks

      Steve