Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/amd-fsr2/shaders/ffx_core.h
9898 views
1
// This file is part of the FidelityFX SDK.
2
//
3
// Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All rights reserved.
4
//
5
// Permission is hereby granted, free of charge, to any person obtaining a copy
6
// of this software and associated documentation files (the "Software"), to deal
7
// in the Software without restriction, including without limitation the rights
8
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
// copies of the Software, and to permit persons to whom the Software is
10
// furnished to do so, subject to the following conditions:
11
// The above copyright notice and this permission notice shall be included in
12
// all copies or substantial portions of the Software.
13
//
14
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
// THE SOFTWARE.
21
22
/// @defgroup Core
23
/// @defgroup HLSL
24
/// @defgroup GLSL
25
/// @defgroup GPU
26
/// @defgroup CPU
27
/// @defgroup CAS
28
/// @defgroup FSR1
29
30
#if !defined(FFX_CORE_H)
31
#define FFX_CORE_H
32
33
#include "ffx_common_types.h"
34
35
#if defined(FFX_CPU)
36
#include "ffx_core_cpu.h"
37
#endif // #if defined(FFX_CPU)
38
39
#if defined(FFX_GLSL) && defined(FFX_GPU)
40
#include "ffx_core_glsl.h"
41
#endif // #if defined(FFX_GLSL) && defined(FFX_GPU)
42
43
#if defined(FFX_HLSL) && defined(FFX_GPU)
44
#include "ffx_core_hlsl.h"
45
#endif // #if defined(FFX_HLSL) && defined(FFX_GPU)
46
47
#if defined(FFX_GPU)
48
#include "ffx_core_gpu_common.h"
49
#include "ffx_core_gpu_common_half.h"
50
#include "ffx_core_portability.h"
51
#endif // #if defined(FFX_GPU)
52
#endif // #if !defined(FFX_CORE_H)
53