Commit 6224ab6
committed
gl3: clarify shader-fallback comment about GLSL vs Cg
The comment added in 276e4bc said gl3 'only ever advertises slang via
spirv-cross', which overstated things. Context drivers do only
advertise SLANG for glcore, but the gl3 fallback selector itself
accepts both GLSL and SLANG as first-class types -- and 42aa9fd just
made GLSL a valid GL3_DEFAULT_SHADER_TYPE on builds without slang.
Reword the comment to be specific about what is and isn't dead:
- Cg is dead (no context flag, ARB asm pipeline incompatible with
Core Profile)
- GLSL is alive (Core-compatible API surface, kept as fallback for
no-slang builds)
- Slang is the practical default
No code change.1 parent 42aa9fd commit 6224ab6
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2142 | 2142 | | |
2143 | 2143 | | |
2144 | 2144 | | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2151 | 2153 | | |
2152 | 2154 | | |
2153 | 2155 | | |
| |||
0 commit comments