2017-08-11 21:11:57 -04:00
|
|
|
// pathfinder/shaders/gles2/direct-interior.fs.glsl
|
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Mozilla Foundation
|
|
|
|
|
|
|
|
precision highp float;
|
|
|
|
|
|
|
|
varying vec4 vColor;
|
2017-08-16 01:09:09 -04:00
|
|
|
varying vec2 vPathID;
|
2017-08-11 21:11:57 -04:00
|
|
|
|
|
|
|
void main() {
|
2017-08-16 01:09:09 -04:00
|
|
|
gl_FragData[0] = vColor;
|
|
|
|
gl_FragData[1] = vec4(vPathID, 1.0, 1.0);
|
2017-08-11 21:11:57 -04:00
|
|
|
}
|