mirror of https://github.com/bjornbytes/lovr.git
61abb6f02b
Some hardware supports ARB_compute_shader but not 4.3, causing shader compilation failures because currently we switch to GLSL 430 if compute shaders are detected. Instead, just detect GL 4.3 instead of looking for the compute shader extension. This means that compute shaders will sometimes be unavailable even when they're supported. It would be possible to improve this by modifying the way shaders are compiled. Maybe the highest supported GLSL version should be used, but this makes shader authoring somewhat more difficult. |
||
---|---|---|
.. | ||
audio | ||
data | ||
event | ||
filesystem | ||
graphics | ||
headset | ||
math | ||
physics | ||
thread | ||
timer |