mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-21 13:01:10 +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:
|
||||
return vk::CompareOp::eLess;
|
||||
|
||||
case Func::GreaterThan:
|
||||
return vk::CompareOp::eGreater;
|
||||
|
||||
default:
|
||||
throw std::runtime_error(fmt::format("Unknown stencil compare func {:#x}", static_cast<uint32_t>(compare_func)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue