hi marcus,
i tested following FS with HD5850 & catalyst 14.12,
again, no error generated.
// fragment shader
#version 440 compatibility
uniform sampler2DShadow s_texture_1;
uniform mat4 BiasMatrix;
uniform mat4 ShadowViewProj;
in vec4 worldPos;
out vec4 s_frag_color;
void main()
{
vec4 shadowCoord = BiasMatrix * ShadowViewProj * worldPos;
float v1 = textureProj(s_texture_1, shadowCoord);
v1 += textureProjOffset(s_texture_1, shadowCoord, ivec2(1, 1));
s_frag_color = vec4(v1);
}
// end of fragment shader
so, could you check again?
regards
davy