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

Fix default precision of `sampler2DArray` #627

Merged
merged 1 commit into from Dec 12, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix default precision of `sampler2DArray`

  • Loading branch information
mmatyas committed Dec 12, 2016
commit 660b3fdf8b3355a0fecb4618eadfef23f34342c0
@@ -3,6 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp sampler2DArray;
#else
precision mediump sampler2DArray;
#endif

#define PST_TOP_LEFT 0
#define PST_TOP 1
#define PST_TOP_RIGHT 2
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.