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/blending/porter_duff_blend.vert
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in vec2 texture_coords;
in vec4 color;

out vec2 v_texture_coords;
out f16vec4 v_color;
out mediump f16vec4 v_color;

void main() {
gl_Position = frame_info.mvp * vec4(vertices, 0.0, 1.0);
Expand Down
2 changes: 1 addition & 1 deletion impeller/entity/shaders/glyph_atlas.vert
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in vec2 glyph_position;

out vec2 v_uv;

IMPELLER_MAYBE_FLAT out f16vec4 v_text_color;
IMPELLER_MAYBE_FLAT out mediump f16vec4 v_text_color;

mat4 basis(mat4 m) {
return mat4(m[0][0], m[0][1], m[0][2], 0.0, //
Expand Down
2 changes: 1 addition & 1 deletion impeller/entity/shaders/position_color.vert
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ frame_info;
in vec2 position;
in vec4 color;

out f16vec4 v_color;
out mediump f16vec4 v_color;

void main() {
gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
Expand Down
2 changes: 1 addition & 1 deletion impeller/entity/shaders/solid_fill.vert
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ frame_info;

in vec2 position;

IMPELLER_MAYBE_FLAT out f16vec4 v_color;
IMPELLER_MAYBE_FLAT out mediump f16vec4 v_color;

void main() {
v_color = frame_info.color;
Expand Down
2 changes: 1 addition & 1 deletion impeller/entity/shaders/texture_fill.vert
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in vec2 position;
in vec2 texture_coords;

out vec2 v_texture_coords;
IMPELLER_MAYBE_FLAT out float16_t v_alpha;
IMPELLER_MAYBE_FLAT out mediump float16_t v_alpha;

void main() {
gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
Expand Down