Skip to content

Commit

Permalink
Add missing copyright headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddhack authored and HansKristian-Work committed Jun 29, 2021
1 parent 853e84e commit 2ceca64
Show file tree
Hide file tree
Showing 18 changed files with 57 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

# The style used for all options not specifically set in the configuration.
BasedOnStyle: LLVM

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

*.o
*.d
*.txt
Expand Down
7 changes: 7 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SPIRV-Cross
Source: https://github.com/KhronosGroup/SPIRV-Cross

Files: shaders*/* reference/* tests-other/*
Copyright: 2016-2021 The Khronos Group, Inc.
License: Apache-2.0
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

language:
- cpp
- python
Expand Down
11 changes: 11 additions & 0 deletions CODE_OF_CONDUCT.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) 2016-2020 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

= Code of Conduct

A reminder that this issue tracker is managed by the Khronos Group.
Interactions here should follow the
https://www.khronos.org/developers/code-of-conduct[Khronos Code of Conduct],
which prohibits aggressive or derogatory language. Please keep the
discussion friendly and civil.
1 change: 0 additions & 1 deletion CODE_OF_CONDUCT.md

This file was deleted.

3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

TARGET := spirv-cross

SOURCES := $(wildcard spirv_*.cpp)
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

environment:
matrix:
Expand Down
2 changes: 2 additions & 0 deletions build_glslang_spirv_tools.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

PROFILE=Release

Expand Down
2 changes: 2 additions & 0 deletions checkout_glslang_spirv_tools.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

GLSLANG_REV=3de5cfe50edecd001e6d703555284d9b10b3dd57
SPIRV_TOOLS_REV=f3ccb633dfd7c5de1f9f0a2d2e9d7a25f2478206
Expand Down
3 changes: 3 additions & 0 deletions cmake/gitversion.in.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2016-2021 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0

#ifndef SPIRV_CROSS_GIT_VERSION_H_
#define SPIRV_CROSS_GIT_VERSION_H_

Expand Down
2 changes: 2 additions & 0 deletions format_all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

#for file in spirv_*.{cpp,hpp} include/spirv_cross/*.{hpp,h} samples/cpp/*.cpp main.cpp
for file in spirv_*.{cpp,hpp} main.cpp
Expand Down
3 changes: 3 additions & 0 deletions samples/cpp/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

SOURCES := $(wildcard *.comp)
SPIRV := $(SOURCES:.comp=.spv)
CPP_INTERFACE := $(SOURCES:.comp=.spv.cpp)
Expand Down
3 changes: 3 additions & 0 deletions samples/cpp/atomics.comp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2016-2021 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0

#version 310 es
layout(local_size_x = 64) in;

Expand Down
3 changes: 3 additions & 0 deletions samples/cpp/multiply.comp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2016-2021 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0

#version 310 es
layout(local_size_x = 64) in;

Expand Down
3 changes: 3 additions & 0 deletions samples/cpp/shared.comp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2016-2021 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0

#version 310 es
layout(local_size_x = 64) in;

Expand Down
2 changes: 2 additions & 0 deletions test_shaders.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

OPTS=$@

Expand Down
2 changes: 2 additions & 0 deletions update_test_shaders.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

./test_shaders.sh --update

0 comments on commit 2ceca64

Please sign in to comment.