GLSL ATI Link error codes

Discussion created by adamvanner on Jan 11, 2011
Latest reply on Jan 11, 2011 by frali
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:


// Uniform settings provided by the current mesh

struct avGeometry


mat4 worldMatrix;

int ObjectId;


uniform avGeometry _CurObject;