mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +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
793f843b08
commit
c607d51890
@ -1,4 +1,4 @@
|
|||||||
#version 130
|
#version 110
|
||||||
|
|
||||||
varying vec2 vUv;
|
varying vec2 vUv;
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#version 130
|
#version 110
|
||||||
|
|
||||||
uniform sampler2D map;
|
|
||||||
|
|
||||||
attribute vec2 position;
|
attribute vec2 position;
|
||||||
attribute vec2 uv;
|
attribute vec2 uv;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#version 130
|
#version 110
|
||||||
|
|
||||||
varying vec2 vUv;
|
varying vec2 vUv;
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#version 130
|
#version 110
|
||||||
|
|
||||||
uniform sampler2DRect map;
|
|
||||||
|
|
||||||
attribute vec2 position;
|
attribute vec2 position;
|
||||||
attribute vec2 uv;
|
attribute vec2 uv;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#version 150
|
#version 150
|
||||||
|
|
||||||
uniform sampler2D map;
|
|
||||||
|
|
||||||
in vec2 position;
|
in vec2 position;
|
||||||
in vec2 uv;
|
in vec2 uv;
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#version 150
|
#version 150
|
||||||
|
|
||||||
uniform sampler2DRect map;
|
|
||||||
|
|
||||||
attribute vec2 position;
|
attribute vec2 position;
|
||||||
attribute vec2 uv;
|
attribute vec2 uv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user