mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 02:40:07 +00:00
Use GLSL version 110 for OpenGL 2 shaders.
According to docs and Intel legacy drivers, GLSL version 130 is for GL 3.0 not GL 2.0/2.1 Validated files with reference compiler from https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
This commit is contained in:
parent
28ce953caa
commit
5fa8def9df
@ -1,4 +1,4 @@
|
||||
#version 130
|
||||
#version 110
|
||||
|
||||
varying vec2 vUv;
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
#version 130
|
||||
|
||||
uniform sampler2D map;
|
||||
#version 110
|
||||
|
||||
attribute vec2 position;
|
||||
attribute vec2 uv;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#version 130
|
||||
#version 110
|
||||
|
||||
varying vec2 vUv;
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
#version 130
|
||||
|
||||
uniform sampler2DRect map;
|
||||
#version 110
|
||||
|
||||
attribute vec2 position;
|
||||
attribute vec2 uv;
|
||||
|
@ -1,7 +1,5 @@
|
||||
#version 150
|
||||
|
||||
uniform sampler2D map;
|
||||
|
||||
in vec2 position;
|
||||
in vec2 uv;
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
#version 150
|
||||
|
||||
uniform sampler2DRect map;
|
||||
|
||||
attribute vec2 position;
|
||||
attribute vec2 uv;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user