mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Integrate AMD FSR2 backend and document SDK bootstrap
This commit is contained in:
parent
a24ff375fb
commit
51a8cf565f
11 changed files with 329 additions and 28 deletions
15
include/third_party/ffx_fsr2_compat.h
vendored
Normal file
15
include/third_party/ffx_fsr2_compat.h
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue