mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-02-01 18:08:20 +01:00
Vulkan: Implement StencilTest::CompareFunc::GreaterThan
This commit is contained in:
parent
34f134741a
commit
ab198bcd61
1 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,9 @@ inline vk::CompareOp FromPicaState(StencilTest::CompareFunc compare_func) {
|
||||||
case Func::LessThan:
|
case Func::LessThan:
|
||||||
return vk::CompareOp::eLess;
|
return vk::CompareOp::eLess;
|
||||||
|
|
||||||
|
case Func::GreaterThan:
|
||||||
|
return vk::CompareOp::eGreater;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw std::runtime_error(fmt::format("Unknown stencil compare func {:#x}", static_cast<uint32_t>(compare_func)));
|
throw std::runtime_error(fmt::format("Unknown stencil compare func {:#x}", static_cast<uint32_t>(compare_func)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue