summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_library_noise.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_library_noise.c')
-rw-r--r--src/mesa/shader/slang/slang_library_noise.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/mesa/shader/slang/slang_library_noise.c b/src/mesa/shader/slang/slang_library_noise.c
index 4dddf33e72..d0081c542a 100644
--- a/src/mesa/shader/slang/slang_library_noise.c
+++ b/src/mesa/shader/slang/slang_library_noise.c
@@ -22,28 +22,11 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "imports.h"
-#include "slang_library_noise.h"
-
/*
* SimplexNoise1234
* Copyright © 2003-2005, Stefan Gustavson
*
* Contact: stegu@itn.liu.se
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/** \file
@@ -66,6 +49,9 @@
*/
+#include "imports.h"
+#include "slang_library_noise.h"
+
#define FASTFLOOR(x) ( ((x)>0) ? ((int)x) : (((int)x)-1) )
/*