Path: blob/master/thirdparty/amd-fsr2/shaders/ffx_core.h
9898 views
// This file is part of the FidelityFX SDK.1//2// Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All rights reserved.3//4// Permission is hereby granted, free of charge, to any person obtaining a copy5// of this software and associated documentation files (the "Software"), to deal6// in the Software without restriction, including without limitation the rights7// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell8// copies of the Software, and to permit persons to whom the Software is9// furnished to do so, subject to the following conditions:10// The above copyright notice and this permission notice shall be included in11// all copies or substantial portions of the Software.12//13// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR14// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE16// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER17// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,18// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN19// THE SOFTWARE.2021/// @defgroup Core22/// @defgroup HLSL23/// @defgroup GLSL24/// @defgroup GPU25/// @defgroup CPU26/// @defgroup CAS27/// @defgroup FSR12829#if !defined(FFX_CORE_H)30#define FFX_CORE_H3132#include "ffx_common_types.h"3334#if defined(FFX_CPU)35#include "ffx_core_cpu.h"36#endif // #if defined(FFX_CPU)3738#if defined(FFX_GLSL) && defined(FFX_GPU)39#include "ffx_core_glsl.h"40#endif // #if defined(FFX_GLSL) && defined(FFX_GPU)4142#if defined(FFX_HLSL) && defined(FFX_GPU)43#include "ffx_core_hlsl.h"44#endif // #if defined(FFX_HLSL) && defined(FFX_GPU)4546#if defined(FFX_GPU)47#include "ffx_core_gpu_common.h"48#include "ffx_core_gpu_common_half.h"49#include "ffx_core_portability.h"50#endif // #if defined(FFX_GPU)51#endif // #if !defined(FFX_CORE_H)5253