mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
Implement bicubic GI texture filtering.
This commit is contained in:
parent
08a15e3b33
commit
8b223c121a
2 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
2
thirdparty/ShaderRecomp
vendored
2
thirdparty/ShaderRecomp
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 6477f65937e7d95717fd7d857ad9315015bfacf5
|
||||
Subproject commit f315ae49baeebdcbd817d8a8928e23ce07df7596
|
Loading…
Add table
Add a link
Reference in a new issue