mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-21 21:09:00 +02:00
video_core: make gpu context aware of rendering program
This commit is contained in:
parent
7aba068a9b
commit
e15b1021a4
10 changed files with 38 additions and 18 deletions
|
|
@ -1061,7 +1061,9 @@ void RasterizerVulkan::UpdateDepthBias(Tegra::Engines::Maxwell3D::Regs& regs) {
|
|||
if (device.IsExtDepthBiasControlSupported()) {
|
||||
return true;
|
||||
}
|
||||
if (!Settings::values.renderer_amdvlk_depth_bias_workaround) {
|
||||
// Only activate this in Super Smash Brothers Ultimate
|
||||
// Affects AMD cards using AMDVLK
|
||||
if (program_id != 0x1006A800016E000ULL) {
|
||||
return false;
|
||||
}
|
||||
// the base formulas can be obtained from here:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue