Slang
07-28-2005, 10:06 AM
Hi,
Here I report a bug that I found in the ATI CATALYST 5.7 driver.
// vertex shader
varying VertexColor;
void main(void)
{
VertexColor = gl_Color;
gl_Position = ftransform();
}
// fragment shader
varying VertexColor;
void main(void)
{
gl_FragColor = VertexColor;
}In this case, no problem occurs.
However, in the following case, the gl_FragColor does not be assigned correctly from the gl_Color.
// vertex shader
void main(void)
{
gl_Position = ftransform();
}
// fragment shader
void main(void)
{
gl_FragColor = gl_Color;
}I'm sorry if I were just rushing to the conclusion but I verified many times.
So if an ATI driver engineer is reading this post, please fix it in the next driver release. :)
Here I report a bug that I found in the ATI CATALYST 5.7 driver.
// vertex shader
varying VertexColor;
void main(void)
{
VertexColor = gl_Color;
gl_Position = ftransform();
}
// fragment shader
varying VertexColor;
void main(void)
{
gl_FragColor = VertexColor;
}In this case, no problem occurs.
However, in the following case, the gl_FragColor does not be assigned correctly from the gl_Color.
// vertex shader
void main(void)
{
gl_Position = ftransform();
}
// fragment shader
void main(void)
{
gl_FragColor = gl_Color;
}I'm sorry if I were just rushing to the conclusion but I verified many times.
So if an ATI driver engineer is reading this post, please fix it in the next driver release. :)