1 Reply Latest reply on Jan 11, 2011 11:01 PM by frali

    GLSL ATI Link error codes

    adamvanner
      where are they!

      Just wondering if theres a full description / documentaiton of the GLSL 4.0 ATI shader linker error codes? 

      I have two identical uniform structs which appear in VP and FP which are thowing the error:

       

      ERROR: error(#275) Symbol '_CurObject' is defined with 2 different types between two stages

      ERROR: error(#277) Symbol '_CurObject' usage doesn't match between two stages

       

       

      _CurObject is defined identically in both VP and FP as:

      [code]

      // Uniform settings provided by the current mesh

      struct avGeometry

      {

      mat4 worldMatrix;

      int ObjectId;

      };

      uniform avGeometry _CurObject;

      [/code]
      Thanks!!