gl renderer: Remove some unused uniforms

This commit is contained in:
Timm Bäder 2019-12-11 08:38:57 +01:00 committed by Timm Bäder
parent 9d9a730659
commit d3852ca33a
4 changed files with 0 additions and 7 deletions

View File

@ -44,7 +44,6 @@ struct _Program
int position_location; int position_location;
int uv_location; int uv_location;
int alpha_location; int alpha_location;
int blend_mode_location;
int viewport_location; int viewport_location;
int projection_location; int projection_location;
int modelview_location; int modelview_location;

View File

@ -1,11 +1,9 @@
precision mediump float; precision mediump float;
uniform sampler2D u_source; uniform sampler2D u_source;
uniform sampler2D u_mask;
uniform mat4 u_projection; uniform mat4 u_projection;
uniform mat4 u_modelview; uniform mat4 u_modelview;
uniform float u_alpha; uniform float u_alpha;
uniform int uBlendMode;
uniform vec4 u_viewport; uniform vec4 u_viewport;
// In GtkSnapshot coordinates // In GtkSnapshot coordinates

View File

@ -1,11 +1,9 @@
precision highp float; precision highp float;
uniform sampler2D u_source; uniform sampler2D u_source;
uniform sampler2D u_mask;
uniform mat4 u_projection = mat4(1.0); uniform mat4 u_projection = mat4(1.0);
uniform mat4 u_modelview = mat4(1.0); uniform mat4 u_modelview = mat4(1.0);
uniform float u_alpha = 1.0; uniform float u_alpha = 1.0;
uniform int uBlendMode;
uniform vec4 u_viewport; uniform vec4 u_viewport;
// In GtkSnapshot coordinates // In GtkSnapshot coordinates

View File

@ -1,9 +1,7 @@
uniform sampler2D u_source; uniform sampler2D u_source;
uniform sampler2D u_mask;
uniform mat4 u_projection; uniform mat4 u_projection;
uniform mat4 u_modelview; uniform mat4 u_modelview;
uniform float u_alpha; uniform float u_alpha;
uniform int uBlendMode;
uniform vec4 u_viewport; uniform vec4 u_viewport;
// In GtkSnapshot coordinates // In GtkSnapshot coordinates