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();