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

Extension: OES_standard_derivatives #183

Merged
merged 8 commits into from
Apr 9, 2020

Conversation

dhritzkiv
Copy link
Member

@dhritzkiv dhritzkiv commented Jan 8, 2020

Resurrection of #72
Closes #169
Closes #72

Adds the use of dFdy, dFdx, and fwidth functions, as well as the FRAGMENT_SHADER_DERIVATIVE_HINT constant.

All tests are passing.

Only issue I came across is GL_OES_standard_derivatives seems to be defined globally (in Angle?), when the extension is not enabled. In order to pass the tests, this is dealt with in _wrapShader, seemingly without any side-effects.

@robertleeplummerjr
Copy link
Collaborator

@dhritzkiv dhritzkiv force-pushed the bhouston-OES_standard_derivatives branch from 612db84 to dff2566 Compare January 8, 2020 19:36
@dhritzkiv dhritzkiv marked this pull request as ready for review January 19, 2020 06:34
Copy link
Collaborator

@robertleeplummerjr robertleeplummerjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are 100% on both my mac and windows with Intel cards.

I'm good.

It would have not run if webgl_draw_buffers was enabled
remove trailing spaces (introduced from GitHub's editor)
@dhritzkiv dhritzkiv merged commit c4184ef into master Apr 9, 2020
@dhritzkiv dhritzkiv deleted the bhouston-OES_standard_derivatives branch April 10, 2020 17:48
@arose arose mentioned this pull request Nov 28, 2021
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

Successfully merging this pull request may close these issues.

Extension query for 'OES_standard_derivatives'
4 participants