mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-29 00:18:59 +02:00
fx
This commit is contained in:
parent
b4bb8b58fc
commit
9daf6a0d3d
1 changed files with 2 additions and 3 deletions
|
|
@ -1010,7 +1010,7 @@ bool AccelerateDMA::BufferToImage(const Tegra::DMA::ImageCopy& copy_info,
|
||||||
void RasterizerVulkan::UpdateDynamicStates() {
|
void RasterizerVulkan::UpdateDynamicStates() {
|
||||||
auto& regs = maxwell3d->regs;
|
auto& regs = maxwell3d->regs;
|
||||||
auto& flags = maxwell3d->dirty.flags;
|
auto& flags = maxwell3d->dirty.flags;
|
||||||
const auto topology = maxwell3d->draw_manager->GetDrawState().topology;
|
const auto topology = maxwell3d->draw_manager.draw_state.topology;
|
||||||
if (state_tracker.ChangePrimitiveTopology(topology)) {
|
if (state_tracker.ChangePrimitiveTopology(topology)) {
|
||||||
flags[Dirty::DepthBiasEnable] = true;
|
flags[Dirty::DepthBiasEnable] = true;
|
||||||
flags[Dirty::PrimitiveRestartEnable] = true;
|
flags[Dirty::PrimitiveRestartEnable] = true;
|
||||||
|
|
@ -1443,8 +1443,7 @@ void RasterizerVulkan::UpdatePrimitiveRestartEnable(Tegra::Engines::Maxwell3D::R
|
||||||
if (device.IsMoltenVK()) {
|
if (device.IsMoltenVK()) {
|
||||||
enable = true;
|
enable = true;
|
||||||
} else if (enable) {
|
} else if (enable) {
|
||||||
const auto topology =
|
const auto topology = MaxwellToVK::PrimitiveTopology(device, maxwell3d->draw_manager.draw_state.topology);
|
||||||
MaxwellToVK::PrimitiveTopology(device, maxwell3d->draw_manager->GetDrawState().topology);
|
|
||||||
enable = IsPrimitiveRestartSupported(device, topology);
|
enable = IsPrimitiveRestartSupported(device, topology);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue