Integrate AMD FSR2 backend and document SDK bootstrap

This commit is contained in:
Kelsi 2026-03-08 19:56:52 -07:00
parent a24ff375fb
commit 51a8cf565f
11 changed files with 329 additions and 28 deletions

15
include/third_party/ffx_fsr2_compat.h vendored Normal file
View file

@ -0,0 +1,15 @@
#pragma once
// Compatibility shim for building AMD FSR2 SDK sources on non-MSVC toolchains.
#include <stddef.h>
#include <wchar.h>
#include <locale>
#include <codecvt>
#ifndef _countof
#define _countof(x) (sizeof(x) / sizeof((x)[0]))
#endif
#ifndef wcscpy_s
#define wcscpy_s(dst, src) wcscpy((dst), (src))
#endif