Skip to content

Commit

Permalink
fix(ue): drop forced resource upgrades in dx11
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Dec 26, 2024
1 parent 9e6e2f9 commit 27b6024
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/games/ue-dx11/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,26 +309,6 @@ BOOL APIENTRY DllMain(HMODULE h_module, DWORD fdw_reason, LPVOID lpv_reserved) {
_swap_chain_proxy_pixel_shader + sizeof(_swap_chain_proxy_pixel_shader),
};

renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({
.old_format = reshade::api::format::r8g8b8a8_typeless,
.new_format = reshade::api::format::r16g16b16a16_typeless,
});

renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({
.old_format = reshade::api::format::r8g8b8a8_unorm,
.new_format = reshade::api::format::r16g16b16a16_float,
});

renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({
.old_format = reshade::api::format::b8g8r8a8_unorm,
.new_format = reshade::api::format::r16g16b16a16_float,
});

renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({
.old_format = reshade::api::format::b8g8r8a8_typeless,
.new_format = reshade::api::format::r16g16b16a16_typeless,
});

renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({
.old_format = reshade::api::format::r10g10b10a2_unorm,
.new_format = reshade::api::format::r16g16b16a16_float,
Expand Down

0 comments on commit 27b6024

Please sign in to comment.