Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion impeller/entity/shaders/glyph_atlas.frag
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ uniform FragInfo {
}
frag_info;

in vec2 v_uv;
in highp vec2 v_uv;

out f16vec4 frag_color;

Expand Down
17 changes: 9 additions & 8 deletions impeller/entity/shaders/glyph_atlas.vert
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@
// found in the LICENSE file.

#include <impeller/transform.glsl>
#include <impeller/types.glsl>

precision highp float;

uniform FrameInfo {
mat4 mvp;
mat4 entity_transform;
vec2 atlas_size;
vec2 offset;
highp mat4 mvp;
highp mat4 entity_transform;
highp vec2 atlas_size;
highp vec2 offset;
float is_translation_scale;
}
frame_info;

// XYWH.
in vec4 atlas_glyph_bounds;
in highp vec4 atlas_glyph_bounds;
// XYWH
in vec4 glyph_bounds;
in highp vec4 glyph_bounds;

in vec2 unit_position;
in highp vec2 unit_position;
in highp vec2 glyph_position;

out highp vec2 v_uv;
Expand Down
2 changes: 1 addition & 1 deletion impeller/entity/shaders/glyph_atlas_color.frag
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ uniform FragInfo {
}
frag_info;

in vec2 v_uv;
in highp vec2 v_uv;

out f16vec4 frag_color;

Expand Down