xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

gl_FrontFacing shader fails to compile #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following fragment shader fails to compile in Windows ANGLE (NVIDIA).

    precision mediump float;
    void main()
    {
      gl_FragColor = vec4(
        gl_FrontFacing ? 1.0 : 0.0,
        gl_FrontFacing ? 0.0 : 1.0,
        0,
        1);
    }

Not sure if it's a driver bug or a bug in ANGLE.

Original issue reported on code.google.com by z...@google.com on 14 Sep 2011 at 9:41

GoogleCodeExporter commented 9 years ago
This is actually caused by the same bug as in issue 203. It's not related to 
gl_FrontFacing itself.

Original comment by nicolas....@gmail.com on 3 Oct 2011 at 2:14