Skip to content

Commit

Permalink
[fidelityfx] reworked context creation and destruction so that it's m…
Browse files Browse the repository at this point in the history
…ore modular (required for upcoming work)
  • Loading branch information
PanosK92 committed Nov 4, 2024
1 parent 9c5eeff commit 72c7706
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 224 deletions.
7 changes: 3 additions & 4 deletions runtime/RHI/RHI_FidelityFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ namespace Spartan
public:
static void Initialize();
static void Shutdown();
static void Resize(const Math::Vector2& resolution_render, const Math::Vector2& resolution_output);
static void Tick(Cb_Frame* cb_frame);

// fsr 3, brixelizer gi, sssr
static void Resize(const Math::Vector2& resolution_render, const Math::Vector2& resolution_output);

// fsr 3
static void FSR3_ResetHistory();
static void FSR3_GenerateJitterSample(float* x, float* y);
Expand Down Expand Up @@ -100,8 +102,5 @@ namespace Spartan
static void Breadcrumbs_MarkerBegin(RHI_CommandList* cmd_list, const char* name);
static void Breadcrumbs_MarkerEnd(RHI_CommandList* cmd_list);
static void Breadcrumbs_OnDeviceRemoved();

private:
static void DestroySizeDependentContexts();
};
}
Loading

0 comments on commit 72c7706

Please sign in to comment.