Fix file headers in shaders/
This commit is contained in:
parent
157292175b
commit
22d0eb7b24
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/blit.fs.glsl
|
// pathfinder/shaders/gles2/blit.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/common.inc.glsl
|
// pathfinder/shaders/gles2/common.inc.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
#version 100
|
#version 100
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
// pathfinder/shaders/gles2/direct-curve.fs.glsl
|
// pathfinder/shaders/gles2/direct-curve.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
// This shader implements the quadratic Loop-Blinn formulation without writing precise depth.
|
// This shader implements the quadratic Loop-Blinn formulation.
|
||||||
// It is therefore unsuitable for ECAA, but it's fast (specifically, preserving early Z) and
|
|
||||||
// compatible with OpenGL ES 2.0.
|
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/direct-curve.vs.glsl
|
// pathfinder/shaders/gles2/direct-curve.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/direct-interior.fs.glsl
|
// pathfinder/shaders/gles2/direct-interior.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/direct-interior.vs.glsl
|
// pathfinder/shaders/gles2/direct-interior.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-cover.fs.glsl
|
// pathfinder/shaders/gles2/ecaa-cover.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-cover.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-cover.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
|
// pathfinder/shaders/gles2/ecaa-curve.fs.glsl
|
||||||
// pathfinder/shaders/gles2/ecaa-line.vs.glsl
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-curve.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-curve.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-edge-detect.fs.glsl
|
// pathfinder/shaders/gles2/ecaa-edge-detect.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-edge-detect.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-edge-detect.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-line.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-line.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-line.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-line.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-subpixel-mono-resolve.fs.glsl
|
// pathfinder/shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 The Pathfinder Project Developers.
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-subpixel-mono-resolve.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 The Pathfinder Project Developers.
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-multi-resolve.fs.glsl
|
// pathfinder/shaders/gles2/ecaa-multi-resolve.fs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// pathfinder/shaders/gles2/ecaa-multi-resolve.vs.glsl
|
// pathfinder/shaders/gles2/ecaa-multi-resolve.vs.glsl
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017 Mozilla Foundation
|
// Copyright (c) 2017 The Pathfinder Project Developers.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
|
// option. This file may not be copied, modified, or distributed
|
||||||
|
// except according to those terms.
|
||||||
|
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue