mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-02 21:30:52 +00:00
[client] egl: make int highp in fragment shaders
https://gitlab.freedesktop.org/mesa/mesa/-/issues/12990#note_3038479
This commit is contained in:

committed by
Geoffrey McRae

parent
cb304115f6
commit
60d7c84972
1
AUTHORS
1
AUTHORS
@@ -73,3 +73,4 @@ Marco Antonio J. Costa <marco.antonio.costa@gmail.com> (majcosta)
|
|||||||
rs189 <35667100+rs189@users.noreply.github.com> (rs189)
|
rs189 <35667100+rs189@users.noreply.github.com> (rs189)
|
||||||
Jérôme Poulin <jeromepoulin@gmail.com> (ticpu)
|
Jérôme Poulin <jeromepoulin@gmail.com> (ticpu)
|
||||||
Marco Rodolfi <marco.rodolfi@tuta.io> (RodoMa92)
|
Marco Rodolfi <marco.rodolfi@tuta.io> (RodoMa92)
|
||||||
|
Stewart Borle <stewi1014@gmail.com> (stewi1014)
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
in vec2 fragCoord;
|
in vec2 fragCoord;
|
||||||
out vec4 fragColor;
|
out vec4 fragColor;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
#version 300 es
|
#version 300 es
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
in vec2 uv;
|
in vec2 uv;
|
||||||
out vec4 color;
|
out vec4 color;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
#version 300 es
|
#version 300 es
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#include "color_blind.h"
|
#include "color_blind.h"
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
#version 300 es
|
#version 300 es
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
out vec4 color;
|
out vec4 color;
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#define EGL_SCALE_AUTO 0
|
#define EGL_SCALE_AUTO 0
|
||||||
#define EGL_SCALE_NEAREST 1
|
#define EGL_SCALE_NEAREST 1
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
in vec2 fragCoord;
|
in vec2 fragCoord;
|
||||||
out vec4 fragColor;
|
out vec4 fragColor;
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#define PI 3.141592653589793
|
#define PI 3.141592653589793
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
in vec2 fragCoord;
|
in vec2 fragCoord;
|
||||||
out vec4 fragColor;
|
out vec4 fragColor;
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
#version 300 es
|
#version 300 es
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
precision highp int;
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user