Implement bicubic GI texture filtering.

This commit is contained in:
Skyth 2024-10-22 16:29:10 +03:00
parent 08a15e3b33
commit 8b223c121a
2 changed files with 4 additions and 1 deletions

View file

@ -73,6 +73,7 @@ struct SharedConstants
uint32_t booleans{};
uint32_t swappedTexcoords{};
uint32_t inputLayoutFlags{};
uint32_t enableGIBicubicFiltering{};
};
static GuestSurface* g_renderTarget;
@ -740,6 +741,8 @@ static void BeginCommandList()
g_backBuffer->layout = RenderTextureLayout::UNKNOWN;
g_sharedConstants.enableGIBicubicFiltering = (Config::GITextureFiltering == EGITextureFiltering::Bicubic);
auto& commandList = g_commandLists[g_frame];
commandList->begin();

@ -1 +1 @@
Subproject commit 6477f65937e7d95717fd7d857ad9315015bfacf5
Subproject commit f315ae49baeebdcbd817d8a8928e23ce07df7596