mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-14 16:58:43 +00:00
Add REUSE to CI
Ensures proper copyright for the repo
This commit is contained in:
parent
70bbd3c8ac
commit
93ceaff579
43 changed files with 291 additions and 571 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
---
|
---
|
||||||
# Use defaults from the Google style with the following exceptions:
|
# Use defaults from the Google style with the following exceptions:
|
||||||
BasedOnStyle: Google
|
BasedOnStyle: Google
|
||||||
|
|
|
@ -1,19 +1,10 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
name: Vulkan Utility Library (Build/Tests)
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -74,3 +65,10 @@ jobs:
|
||||||
-G "Ninja"
|
-G "Ninja"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
|
|
||||||
|
reuse:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: REUSE Compliance Check
|
||||||
|
uses: fsfe/reuse-action@v1
|
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1,4 +1,9 @@
|
||||||
# Python cache
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
__pycache__
|
__pycache__
|
||||||
*.pyc
|
*.pyc
|
||||||
build
|
build
|
||||||
|
|
8
.reuse/dep5
Normal file
8
.reuse/dep5
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: Vulkan Utility Libraries
|
||||||
|
Source: https://github.com/KhronosGroup/Vulkan-Utility-Libraries
|
||||||
|
|
||||||
|
# These files are routinely updated from another repo
|
||||||
|
Files: scripts/known_good.json scripts/update_deps.py scripts/CMakeLists.txt
|
||||||
|
Copyright: 2023 The Khronos Group Inc.
|
||||||
|
License: Apache-2.0
|
8
BUILD.md
8
BUILD.md
|
@ -1,3 +1,11 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
# Build Instructions
|
# Build Instructions
|
||||||
|
|
||||||
This document contains the instructions for building this repository on Linux, macOS and Windows.
|
This document contains the instructions for building this repository on Linux, macOS and Windows.
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
cmake_minimum_required(VERSION 3.17.2)
|
cmake_minimum_required(VERSION 3.17.2)
|
||||||
|
|
||||||
project(VUL LANGUAGES CXX)
|
project(VUL LANGUAGES CXX)
|
||||||
|
|
|
@ -1 +1,9 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
A reminder that this issue tracker is managed by the Khronos Group. Interactions here should follow the Khronos Code of Conduct (https://www.khronos.org/developers/code-of-conduct), which prohibits aggressive or derogatory language. Please keep the discussion friendly and civil.
|
A reminder that this issue tracker is managed by the Khronos Group. Interactions here should follow the Khronos Code of Conduct (https://www.khronos.org/developers/code-of-conduct), which prohibits aggressive or derogatory language. Please keep the discussion friendly and civil.
|
||||||
|
|
11
LICENSE.md
Normal file
11
LICENSE.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
|
Files in this repository fall under the `Apache-2.0` license.
|
||||||
|
|
||||||
|
Full license text of these licenses is available at https://opensource.org/licenses/Apache-2.0
|
|
@ -1 +1,9 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
# Vulkan-Utility-Libraries
|
# Vulkan-Utility-Libraries
|
|
@ -1,3 +1,11 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
# How to generate the code
|
# How to generate the code
|
||||||
|
|
||||||
- Linux:
|
- Linux:
|
||||||
|
|
|
@ -1 +1,9 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2023 The Khronos Group Inc.
|
||||||
|
Copyright 2023 Valve Corporation
|
||||||
|
Copyright 2023 LunarG, Inc.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
|
||||||
# Vulkan-Layer-Settings library
|
# Vulkan-Layer-Settings library
|
|
@ -1,17 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
target_include_directories(VulkanLayerSettings PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
target_include_directories(VulkanLayerSettings PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
||||||
|
|
||||||
target_sources(VulkanLayerSettings PRIVATE
|
target_sources(VulkanLayerSettings PRIVATE
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 The Khronos Group Inc.
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
//
|
||||||
*
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
//
|
||||||
* you may not use this file except in compliance with the License.
|
// Author(s):
|
||||||
* You may obtain a copy of the License at
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 The Khronos Group Inc.
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
//
|
||||||
*
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
//
|
||||||
* you may not use this file except in compliance with the License.
|
// Author(s):
|
||||||
* You may obtain a copy of the License at
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 The Khronos Group Inc.
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
//
|
||||||
*
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
//
|
||||||
* you may not use this file except in compliance with the License.
|
// Author(s):
|
||||||
* You may obtain a copy of the License at
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
||||||
// See enum_string_helper_generator.py for modifications
|
// See enum_string_helper_generator.py for modifications
|
||||||
/***************************************************************************
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
*
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2015-2023 The Khronos Group Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2015-2023 Valve Corporation
|
// Copyright 2023 Google Inc.
|
||||||
* Copyright (c) 2015-2023 LunarG, Inc.
|
//
|
||||||
* Copyright (c) 2015-2023 Google Inc.
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
****************************************************************************/
|
|
||||||
// NOLINTBEGIN
|
// NOLINTBEGIN
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,20 +1,11 @@
|
||||||
#!/usr/bin/python3 -i
|
#!/usr/bin/python3 -i
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
# Copyright (c) 2023 RasterGrid Kft.
|
# Copyright 2023 LunarG, Inc.
|
||||||
|
# Copyright 2023 RasterGrid Kft.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
from generators.vulkan_object import (VulkanObject,
|
from generators.vulkan_object import (VulkanObject,
|
||||||
Extension, Version, Handle, Param, Queues, CommandScope, Command,
|
Extension, Version, Handle, Param, Queues, CommandScope, Command,
|
||||||
|
|
|
@ -1,21 +1,10 @@
|
||||||
#!/usr/bin/python3 -i
|
#!/usr/bin/python3 -i
|
||||||
|
|
||||||
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2023 The Khronos Group Inc.
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# Copyright (c) 2015-2023 Valve Corporation
|
|
||||||
# Copyright (c) 2015-2023 LunarG, Inc.
|
|
||||||
# Copyright (c) 2015-2023 Google Inc.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from generators.base_generator import BaseGenerator
|
from generators.base_generator import BaseGenerator
|
||||||
|
@ -29,25 +18,12 @@ class DispatchTableHelperOutputGenerator(BaseGenerator):
|
||||||
out = []
|
out = []
|
||||||
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
||||||
// See {os.path.basename(__file__)} for modifications
|
// See {os.path.basename(__file__)} for modifications
|
||||||
/***************************************************************************
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
*
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2015-2023 The Khronos Group Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2015-2023 Valve Corporation
|
//
|
||||||
* Copyright (c) 2015-2023 LunarG, Inc.
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Copyright (c) 2015-2023 Google Inc.
|
\n''')
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
****************************************************************************/\n''')
|
|
||||||
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
||||||
|
|
||||||
out.append('''
|
out.append('''
|
||||||
|
|
|
@ -1,22 +1,10 @@
|
||||||
#!/usr/bin/python3 -i
|
#!/usr/bin/python3 -i
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2023 The Khronos Group Inc.
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2015-2023 Valve Corporation
|
# Copyright 2023 Valve Corporation
|
||||||
# Copyright (c) 2015-2023 LunarG, Inc.
|
# Copyright 2023 LunarG, Inc.
|
||||||
# Copyright (c) 2015-2023 Google Inc.
|
|
||||||
# Copyright (c) 2023-2023 RasterGrid Kft.
|
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from generators.base_generator import BaseGenerator
|
from generators.base_generator import BaseGenerator
|
||||||
|
@ -29,25 +17,11 @@ class EnumStringHelperOutputGenerator(BaseGenerator):
|
||||||
out = []
|
out = []
|
||||||
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
||||||
// See {os.path.basename(__file__)} for modifications
|
// See {os.path.basename(__file__)} for modifications
|
||||||
/***************************************************************************
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
*
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2015-2023 The Khronos Group Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2015-2023 Valve Corporation
|
//
|
||||||
* Copyright (c) 2015-2023 LunarG, Inc.
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Copyright (c) 2015-2023 Google Inc.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
****************************************************************************/
|
|
||||||
''')
|
''')
|
||||||
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,10 @@
|
||||||
#!/usr/bin/python3 -i
|
#!/usr/bin/python3 -i
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2023 The Khronos Group Inc.
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2015-2023 Valve Corporation
|
# Copyright 2023 Valve Corporation
|
||||||
# Copyright (c) 2015-2023 LunarG, Inc.
|
# Copyright 2023 LunarG, Inc.
|
||||||
# Copyright (c) 2015-2023 Google Inc.
|
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from generators.base_generator import BaseGenerator
|
from generators.base_generator import BaseGenerator
|
||||||
|
@ -28,25 +17,12 @@ class LayerDispatchTableOutputGenerator(BaseGenerator):
|
||||||
out = []
|
out = []
|
||||||
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
||||||
// See {os.path.basename(__file__)} for modifications
|
// See {os.path.basename(__file__)} for modifications
|
||||||
/***************************************************************************
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
*
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2015-2023 The Khronos Group Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2015-2023 Valve Corporation
|
//
|
||||||
* Copyright (c) 2015-2023 LunarG, Inc.
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Copyright (c) 2015-2023 Google Inc.
|
\n''')
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
****************************************************************************/\n''')
|
|
||||||
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore
|
||||||
|
|
||||||
out.append('''
|
out.append('''
|
||||||
|
|
|
@ -1,19 +1,10 @@
|
||||||
#!/usr/bin/python3 -i
|
#!/usr/bin/python3 -i
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
from dataclasses import dataclass, field
|
from dataclasses import dataclass, field
|
||||||
from enum import IntFlag, Enum, auto
|
from enum import IntFlag, Enum, auto
|
||||||
|
|
|
@ -1,16 +1,6 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
add_subdirectory(layer)
|
add_subdirectory(layer)
|
||||||
|
|
|
@ -1,18 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings")
|
set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings")
|
||||||
|
|
||||||
add_library(VulkanLayerSettings STATIC)
|
add_library(VulkanLayerSettings STATIC)
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "layer_settings_manager.hpp"
|
#include "layer_settings_manager.hpp"
|
||||||
#include "layer_settings_util.hpp"
|
#include "layer_settings_util.hpp"
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "layer_settings_util.hpp"
|
#include "layer_settings_util.hpp"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
|
|
|
@ -1,25 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 The Khronos Group Inc.
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
//
|
||||||
*
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
//
|
||||||
* you may not use this file except in compliance with the License.
|
// Author(s):
|
||||||
* You may obtain a copy of the License at
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
* - Mark Lobodzinski <mark@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
#include "layer_settings_util.hpp"
|
#include "layer_settings_util.hpp"
|
||||||
#include "layer_settings_manager.hpp"
|
#include "layer_settings_manager.hpp"
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023 The Khronos Group Inc.
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023 Valve Corporation
|
// Copyright 2023 LunarG, Inc.
|
||||||
* Copyright (c) 2023 LunarG, Inc.
|
//
|
||||||
*
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
//
|
||||||
* you may not use this file except in compliance with the License.
|
// Author(s):
|
||||||
* You may obtain a copy of the License at
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.hpp"
|
#include "vulkan/layer/vk_layer_settings.hpp"
|
||||||
|
|
||||||
void vlGetLayerSettingValue(VlLayerSettingSet layerSettingSet, const char *pSettingName, bool &settingValue) {
|
void vlGetLayerSettingValue(VlLayerSettingSet layerSettingSet, const char *pSettingName, bool &settingValue) {
|
||||||
|
|
|
@ -1,17 +1,7 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
add_subdirectory(layer)
|
add_subdirectory(layer)
|
||||||
add_subdirectory(generated)
|
add_subdirectory(generated)
|
||||||
|
|
|
@ -1,18 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.17)
|
cmake_minimum_required(VERSION 3.17)
|
||||||
|
|
||||||
project(TEST_ADD_SUBDIRECTORY LANGUAGES C)
|
project(TEST_ADD_SUBDIRECTORY LANGUAGES C)
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
|
// Copyright 2023 Valve Corporation
|
||||||
|
// Copyright 2023 LunarG, Inc.
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
#include <vulkan/layer/vk_layer_settings.h>
|
#include <vulkan/layer/vk_layer_settings.h>
|
||||||
|
|
||||||
VkBool32 foobar() {
|
VkBool32 foobar() {
|
||||||
|
|
|
@ -1,18 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.17)
|
cmake_minimum_required(VERSION 3.17)
|
||||||
|
|
||||||
project(TEST_FIND_PACKAGE LANGUAGES C)
|
project(TEST_FIND_PACKAGE LANGUAGES C)
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
if(${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
if(${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
||||||
add_compile_options(-Wpedantic -Wall -Wextra -Werror)
|
add_compile_options(-Wpedantic -Wall -Wextra -Werror)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
|
// Copyright 2023 Valve Corporation
|
||||||
|
// Copyright 2023 LunarG, Inc.
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
#include <vulkan/vk_enum_string_helper.h>
|
#include <vulkan/vk_enum_string_helper.h>
|
||||||
|
|
||||||
// TODO: Add actual testing
|
// TODO: Add actual testing
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
# Copyright (c) 2023 Valve Corporation
|
# Copyright 2023 The Khronos Group Inc.
|
||||||
# Copyright (c) 2023 LunarG, Inc.
|
# Copyright 2023 Valve Corporation
|
||||||
|
# Copyright 2023 LunarG, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings/tests")
|
set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings/tests")
|
||||||
|
|
||||||
find_package(GTest REQUIRED CONFIG)
|
find_package(GTest REQUIRED CONFIG)
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023-2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023-2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.hpp"
|
#include "vulkan/layer/vk_layer_settings.hpp"
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023-2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023-2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "vulkan/layer/vk_layer_settings.h"
|
#include "vulkan/layer/vk_layer_settings.h"
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
/*
|
// Copyright 2023 The Khronos Group Inc.
|
||||||
* Copyright (c) 2023-2023 Valve Corporation
|
// Copyright 2023 Valve Corporation
|
||||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
// Copyright 2023 LunarG, Inc.
|
||||||
*
|
//
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
* you may not use this file except in compliance with the License.
|
//
|
||||||
* You may obtain a copy of the License at
|
// Author(s):
|
||||||
*
|
// - Christophe Riccio <christophe@lunarg.com>
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* - Christophe Riccio <christophe@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "layer_settings_util.hpp"
|
#include "layer_settings_util.hpp"
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue