evanw / evanw/glslx

Preprocessor support

Open
#8 1 comment 13 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
446
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Since glslx doesn't support preprocessing, how to check e.g. if highp is available in a fragment shader ?
```
#ifndef GL_FRAGMENT_PRECISION_HIGH
precision mediump float;
#else
precision highp float;
#endif
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.