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 all commits
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
4 changes: 2 additions & 2 deletions impeller/entity/shaders/gradients/fast_gradient.vert
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ uniform FrameInfo {
frame_info;

in vec2 position;
in vec4 color;
in mediump vec4 color;

// The geometry of the fast gradient draws is designed so that the
// varying unit will perform the correct color interpolation.
out vec4 v_color;
out mediump vec4 v_color;

void main() {
gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
Expand Down
4 changes: 2 additions & 2 deletions impeller/tools/malioc.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
"stack_spill_bytes": 0,
"thread_occupancy": 100,
"uniform_registers_used": 20,
"work_registers_used": 9
"work_registers_used": 7
}
}
}
Expand Down Expand Up @@ -2175,7 +2175,7 @@
"stack_spill_bytes": 0,
"thread_occupancy": 100,
"uniform_registers_used": 8,
"work_registers_used": 9
"work_registers_used": 7
}
}
},
Expand Down