mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Impeller] Fix validation error in position color shader. (flutter/engine#43356)
The input was a float16 vec4, so the corresponding output must match or else we get a validation error. Not related to platform view issue.
This commit is contained in:
parent
570578974c
commit
70cb44975f
@ -13,9 +13,9 @@ frame_info;
|
||||
in vec2 position;
|
||||
in vec4 color;
|
||||
|
||||
out vec4 v_color;
|
||||
out f16vec4 v_color;
|
||||
|
||||
void main() {
|
||||
gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
|
||||
v_color = color;
|
||||
v_color = f16vec4(color);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user