Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper extension errors in shader window #16

Open
paulhilbert opened this issue Dec 5, 2015 · 0 comments
Open

Improper extension errors in shader window #16

paulhilbert opened this issue Dec 5, 2015 · 0 comments

Comments

@paulhilbert
Copy link

When (for example?) enabling EXT_frag_depth in host code and adding:

#extension GL_EXT_frag_depth : enable
//...
void main() {
    //...
    gl_FragDepthEXT = gl_FragCoord.z;
}

The fragment code window is in error display mode ("undefined variable gl_FragDepthEXT") despite correctly compiling, executing and rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant