mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 15:18:45 +00:00
added ReplaceOp case in Stencilop
This commit is contained in:
parent
e6a23b7ffe
commit
2e9a275a33
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ vk::StencilOp StencilOp(Liverpool::StencilFunc op) {
|
||||||
return vk::StencilOp::eIncrementAndWrap;
|
return vk::StencilOp::eIncrementAndWrap;
|
||||||
case Liverpool::StencilFunc::SubWrap:
|
case Liverpool::StencilFunc::SubWrap:
|
||||||
return vk::StencilOp::eDecrementAndWrap;
|
return vk::StencilOp::eDecrementAndWrap;
|
||||||
|
case Liverpool::StencilFunc::ReplaceOp:
|
||||||
|
return vk::StencilOp::eReplace;
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
return vk::StencilOp::eKeep;
|
return vk::StencilOp::eKeep;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue