Skip to content

Commit

Permalink
Merge pull request #41 from marat569/YS10
Browse files Browse the repository at this point in the history
[YS10] Enable fp11 -> fp16 render target upgrades
  • Loading branch information
marat569 authored Oct 27, 2024
2 parents d6cbbca + 2fce5c4 commit 478d4b4
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/games/ys10/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,20 @@ BOOL APIENTRY DllMain(HMODULE h_module, DWORD fdw_reason, LPVOID lpv_reserved) {
});

// R11G11B10
// renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({.old_format = reshade::api::format::r11g11b10_float,
// .new_format = reshade::api::format::r16g16b16a16_float,
// .ignore_size = true,
// .view_upgrades = {
// {{reshade::api::resource_usage::shader_resource,
// reshade::api::format::r11g11b10_float},
// reshade::api::format::r16g16b16a16_float},
// {{reshade::api::resource_usage::unordered_access,
// reshade::api::format::r11g11b10_float},
// reshade::api::format::r16g16b16a16_float},
// {{reshade::api::resource_usage::render_target,
// reshade::api::format::r11g11b10_float},
// reshade::api::format::r16g16b16a16_float},
// }});
renodx::mods::swapchain::swap_chain_upgrade_targets.push_back({.old_format = reshade::api::format::r11g11b10_float,
.new_format = reshade::api::format::r16g16b16a16_float,
.ignore_size = true,
.view_upgrades = {
{{reshade::api::resource_usage::shader_resource,
reshade::api::format::r11g11b10_float},
reshade::api::format::r16g16b16a16_float},
{{reshade::api::resource_usage::unordered_access,
reshade::api::format::r11g11b10_float},
reshade::api::format::r16g16b16a16_float},
{{reshade::api::resource_usage::render_target,
reshade::api::format::r11g11b10_float},
reshade::api::format::r16g16b16a16_float},
}});

break;
case DLL_PROCESS_DETACH:
Expand Down

0 comments on commit 478d4b4

Please sign in to comment.