From 22d0eb7b2419aaf4c84468c146c6dfd9843d586f Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 3 Oct 2017 15:32:03 -0700 Subject: [PATCH] Fix file headers in shaders/ --- shaders/gles2/blit.fs.glsl | 8 +++++++- shaders/gles2/common.inc.glsl | 8 +++++++- shaders/gles2/direct-curve.fs.glsl | 12 ++++++++---- shaders/gles2/direct-curve.vs.glsl | 8 +++++++- shaders/gles2/direct-interior.fs.glsl | 8 +++++++- shaders/gles2/direct-interior.vs.glsl | 8 +++++++- shaders/gles2/ecaa-cover.fs.glsl | 8 +++++++- shaders/gles2/ecaa-cover.vs.glsl | 8 +++++++- shaders/gles2/ecaa-curve.fs.glsl | 11 ++++++++--- shaders/gles2/ecaa-curve.vs.glsl | 8 +++++++- shaders/gles2/ecaa-edge-detect.fs.glsl | 8 +++++++- shaders/gles2/ecaa-edge-detect.vs.glsl | 8 +++++++- shaders/gles2/ecaa-line.fs.glsl | 10 ++++++++-- shaders/gles2/ecaa-line.vs.glsl | 8 +++++++- shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl | 2 +- shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl | 2 +- shaders/gles2/ecaa-multi-resolve.fs.glsl | 8 +++++++- shaders/gles2/ecaa-multi-resolve.vs.glsl | 8 +++++++- 18 files changed, 117 insertions(+), 24 deletions(-) diff --git a/shaders/gles2/blit.fs.glsl b/shaders/gles2/blit.fs.glsl index 85b6aa01..c73862fe 100644 --- a/shaders/gles2/blit.fs.glsl +++ b/shaders/gles2/blit.fs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision mediump float; diff --git a/shaders/gles2/common.inc.glsl b/shaders/gles2/common.inc.glsl index 1f107af6..1997f6a1 100644 --- a/shaders/gles2/common.inc.glsl +++ b/shaders/gles2/common.inc.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. #version 100 diff --git a/shaders/gles2/direct-curve.fs.glsl b/shaders/gles2/direct-curve.fs.glsl index 1a23614a..f2497fae 100644 --- a/shaders/gles2/direct-curve.fs.glsl +++ b/shaders/gles2/direct-curve.fs.glsl @@ -1,10 +1,14 @@ // 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 or the MIT license +// , 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. -// It is therefore unsuitable for ECAA, but it's fast (specifically, preserving early Z) and -// compatible with OpenGL ES 2.0. +// This shader implements the quadratic Loop-Blinn formulation. precision highp float; diff --git a/shaders/gles2/direct-curve.vs.glsl b/shaders/gles2/direct-curve.vs.glsl index b70a1326..d44aeef3 100644 --- a/shaders/gles2/direct-curve.vs.glsl +++ b/shaders/gles2/direct-curve.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/direct-interior.fs.glsl b/shaders/gles2/direct-interior.fs.glsl index 04e623b4..81052be9 100644 --- a/shaders/gles2/direct-interior.fs.glsl +++ b/shaders/gles2/direct-interior.fs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/direct-interior.vs.glsl b/shaders/gles2/direct-interior.vs.glsl index 3b2d410d..ee4a5f5b 100644 --- a/shaders/gles2/direct-interior.vs.glsl +++ b/shaders/gles2/direct-interior.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-cover.fs.glsl b/shaders/gles2/ecaa-cover.fs.glsl index edcbfaef..efd87e06 100644 --- a/shaders/gles2/ecaa-cover.fs.glsl +++ b/shaders/gles2/ecaa-cover.fs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-cover.vs.glsl b/shaders/gles2/ecaa-cover.vs.glsl index e229e3cc..8b9d4cf6 100644 --- a/shaders/gles2/ecaa-cover.vs.glsl +++ b/shaders/gles2/ecaa-cover.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-curve.fs.glsl b/shaders/gles2/ecaa-curve.fs.glsl index 98e30144..068af39f 100644 --- a/shaders/gles2/ecaa-curve.fs.glsl +++ b/shaders/gles2/ecaa-curve.fs.glsl @@ -1,7 +1,12 @@ - -// pathfinder/shaders/gles2/ecaa-line.vs.glsl +// pathfinder/shaders/gles2/ecaa-curve.fs.glsl // -// Copyright (c) 2017 Mozilla Foundation +// Copyright (c) 2017 The Pathfinder Project Developers. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-curve.vs.glsl b/shaders/gles2/ecaa-curve.vs.glsl index a4d6938b..07e2e868 100644 --- a/shaders/gles2/ecaa-curve.vs.glsl +++ b/shaders/gles2/ecaa-curve.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-edge-detect.fs.glsl b/shaders/gles2/ecaa-edge-detect.fs.glsl index 289735d0..1474570f 100644 --- a/shaders/gles2/ecaa-edge-detect.fs.glsl +++ b/shaders/gles2/ecaa-edge-detect.fs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-edge-detect.vs.glsl b/shaders/gles2/ecaa-edge-detect.vs.glsl index cbf40cde..15e471c6 100644 --- a/shaders/gles2/ecaa-edge-detect.vs.glsl +++ b/shaders/gles2/ecaa-edge-detect.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-line.fs.glsl b/shaders/gles2/ecaa-line.fs.glsl index 0a9c38c6..83626157 100644 --- a/shaders/gles2/ecaa-line.fs.glsl +++ b/shaders/gles2/ecaa-line.fs.glsl @@ -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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-line.vs.glsl b/shaders/gles2/ecaa-line.vs.glsl index 8e49c81c..8721a1c9 100644 --- a/shaders/gles2/ecaa-line.vs.glsl +++ b/shaders/gles2/ecaa-line.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl b/shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl index 7f9693bd..ea136a1c 100644 --- a/shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl +++ b/shaders/gles2/ecaa-mono-subpixel-resolve.fs.glsl @@ -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. // diff --git a/shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl b/shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl index 418ba60c..b31c4075 100644 --- a/shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl +++ b/shaders/gles2/ecaa-mono-subpixel-resolve.vs.glsl @@ -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. // diff --git a/shaders/gles2/ecaa-multi-resolve.fs.glsl b/shaders/gles2/ecaa-multi-resolve.fs.glsl index 41878ea1..f9ac9b95 100644 --- a/shaders/gles2/ecaa-multi-resolve.fs.glsl +++ b/shaders/gles2/ecaa-multi-resolve.fs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float; diff --git a/shaders/gles2/ecaa-multi-resolve.vs.glsl b/shaders/gles2/ecaa-multi-resolve.vs.glsl index c3d02705..a702a491 100644 --- a/shaders/gles2/ecaa-multi-resolve.vs.glsl +++ b/shaders/gles2/ecaa-multi-resolve.vs.glsl @@ -1,6 +1,12 @@ // 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. precision highp float;