mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
Implement bicubic GI texture filtering.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user