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

Problems with OES_EGL_image_external #96

Open
eodabash opened this issue Apr 9, 2015 · 0 comments
Open

Problems with OES_EGL_image_external #96

eodabash opened this issue Apr 9, 2015 · 0 comments

Comments

@eodabash
Copy link

eodabash commented Apr 9, 2015

I found a couple problems with optimization of shaders that make use of OES_EGL_image_external functionality. The first is that "#extension GL_OES_EGL_image_external : enable" statements don't get printed back in the optimizer output. The second is that texture sampling calls that use a samplerExternalOES sampler seem to get converted to "textureExternal" calls which as far as I can tell is not the correct way to sample from such a sampler (the spec refers to this being an obsolete syntax that was dropped in favor of the existing sampling functions like texture2D).

A test input shader can be found here:
https://www.dropbox.com/s/vggjoa1p33uel5n/imageExternal-inES.txt?dl=0

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