mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Thirdparty: Harmonize patches to document downstream changes
This commit is contained in:
parent
0d14ae58b0
commit
91907a89f7
141 changed files with 1274 additions and 3849 deletions
4
thirdparty/amd-fsr2/ffx_fsr2.cpp
vendored
4
thirdparty/amd-fsr2/ffx_fsr2.cpp
vendored
|
|
@ -36,7 +36,6 @@
|
|||
#pragma clang diagnostic ignored "-Wunused-variable"
|
||||
#endif
|
||||
|
||||
// -- GODOT start --
|
||||
#ifndef _countof
|
||||
#define _countof(array) (sizeof(array) / sizeof(array[0]))
|
||||
#endif
|
||||
|
|
@ -45,7 +44,6 @@
|
|||
#include <wchar.h>
|
||||
#define wcscpy_s wcscpy
|
||||
#endif
|
||||
// -- GODOT end --
|
||||
|
||||
// max queued frames for descriptor management
|
||||
static const uint32_t FSR2_MAX_QUEUED_FRAMES = 16;
|
||||
|
|
@ -954,9 +952,7 @@ static FfxErrorCode fsr2Dispatch(FfxFsr2Context_Private* context, const FfxFsr2D
|
|||
context->constants.lumaMipDimensions[0] = uint32_t(context->constants.maxRenderSize[0] / mipDiv);
|
||||
context->constants.lumaMipDimensions[1] = uint32_t(context->constants.maxRenderSize[1] / mipDiv);
|
||||
|
||||
// -- GODOT start --
|
||||
memcpy(context->constants.reprojectionMatrix, params->reprojectionMatrix, sizeof(context->constants.reprojectionMatrix));
|
||||
// -- GODOT end --
|
||||
|
||||
// reactive mask bias
|
||||
const int32_t threadGroupWorkRegionDim = 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue