mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-09 17:08:08 +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
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
in vec2 uv;
|
||||
out vec4 color;
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#include "color_blind.h"
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#define EGL_SCALE_AUTO 0
|
||||
#define EGL_SCALE_NEAREST 1
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#define PI 3.141592653589793
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
#extension GL_OES_EGL_image_external_essl3 : enable
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
|
Reference in New Issue
Block a user