gpu/backend: add support for desktop OpenGL 3

In particular, add the GLSL 1.30 shader variant. Sigh.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-27 19:30:01 +01:00
parent a0c4688d0c
commit dd6a247326
5 changed files with 58 additions and 31 deletions
+1
View File
@@ -49,6 +49,7 @@ type Device interface {
type ShaderSources struct {
GLSL100ES string
GLSL300ES string
GLSL130 string
HLSL []byte
Uniforms UniformsReflection
Inputs []InputLocation