mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 07:21:18 +12:00
set stencil state
This commit is contained in:
parent
d3249dc324
commit
1bcdade83e
8 changed files with 79 additions and 44 deletions
|
@ -271,6 +271,12 @@ namespace LatteDecompiler
|
|||
}
|
||||
}
|
||||
|
||||
// generate depth output for pixel shader
|
||||
if (decompilerContext->shader->pixelDepthOutputMask)
|
||||
{
|
||||
src->add("float passDepth [[depth(any)]];" _CRLF);
|
||||
}
|
||||
|
||||
src->add("};" _CRLF _CRLF);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue