ece1d794b9
This will be implemented in Metal and SPIR-V in followup CLs. Change-Id: I397b4db40b15dd54cf1d8a17f414c3fe184b48d2 Bug: skia:10851 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/387638 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
18 lines
314 B
GLSL
18 lines
314 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
vec4 helper_h4();
|
|
struct Color {
|
|
float red;
|
|
float green;
|
|
float blue;
|
|
float alpha;
|
|
};
|
|
void main() {
|
|
Color _0_c;
|
|
_0_c.red = 0.25;
|
|
_0_c.green = 0.5;
|
|
_0_c.blue = 0.75;
|
|
_0_c.alpha = 1.0;
|
|
sk_FragColor = vec4(_0_c.red, _0_c.green, _0_c.blue, _0_c.alpha);
|
|
}
|