1 Reply Latest reply on Sep 10, 2010 12:36 AM by frali

    GLSL matrix arithmetic assignment does not work

    yuzi
      GLSL matrix arithmetic assignment does not work

       

      My GLSL application runs well with nVidia and Intel GPU. But I encountered a problem with Radeon HD5400 and latest drivers on Windows XP SP3.

      It seems to me that the arithmetic assignments multiply into (*=) for mat4 does not work correctly.

      -----------------------------------

      void main()

      {

      mat4 R;

      mat4 model;

      model *= R;

      -----------------------------------

       

      Instead, following code works.

      -----------------------------------

       

      void main()

      {

      mat4 R;

      mat4 model;

      model = model * R;

       

      -----------------------------------

       





       

      I hope this problem will be corrected shortly.
      Regards.