[client] egl: make int highp in fragment shaders

https://gitlab.freedesktop.org/mesa/mesa/-/issues/12990#note_3038479
This commit is contained in:
Stewart Borle
2025-08-05 13:28:37 +08:00
committed by Geoffrey McRae
parent cb304115f6
commit 60d7c84972
12 changed files with 12 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
in vec2 fragCoord;
out vec4 fragColor;

View File

@@ -1,5 +1,6 @@
#version 300 es
precision highp float;
precision highp int;
in vec2 uv;
out vec4 color;

View File

@@ -1,5 +1,6 @@
#version 300 es
precision highp float;
precision highp int;
#include "color_blind.h"

View File

@@ -1,5 +1,6 @@
#version 300 es
precision highp float;
precision highp int;
out vec4 color;

View File

@@ -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

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
in vec2 fragCoord;
out vec4 fragColor;

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
#define PI 3.141592653589793

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
in vec2 fragCoord;
out vec4 fragColor;

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
#include "compat.h"

View File

@@ -2,6 +2,7 @@
#extension GL_OES_EGL_image_external_essl3 : enable
precision highp float;
precision highp int;
#include "compat.h"

View File

@@ -1,5 +1,6 @@
#version 300 es
precision highp float;
precision highp int;
#include "compat.h"