mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-13 11:39:47 +00:00
d3d12: Support default value for stencil op
Requested by Jet Set Radio.
This commit is contained in:
parent
471e807ea2
commit
307015382d
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ D3D12_STENCIL_OP get_stencil_op(u32 op) noexcept
|
||||||
case CELL_GCM_KEEP: return D3D12_STENCIL_OP_KEEP;
|
case CELL_GCM_KEEP: return D3D12_STENCIL_OP_KEEP;
|
||||||
case CELL_GCM_ZERO: return D3D12_STENCIL_OP_ZERO;
|
case CELL_GCM_ZERO: return D3D12_STENCIL_OP_ZERO;
|
||||||
case CELL_GCM_REPLACE: return D3D12_STENCIL_OP_REPLACE;
|
case CELL_GCM_REPLACE: return D3D12_STENCIL_OP_REPLACE;
|
||||||
|
default: // Jet Set Radio set some garbage, turns out OP_INCR is the intended behavior.
|
||||||
case CELL_GCM_INCR: return D3D12_STENCIL_OP_INCR;
|
case CELL_GCM_INCR: return D3D12_STENCIL_OP_INCR;
|
||||||
case CELL_GCM_DECR: return D3D12_STENCIL_OP_DECR;
|
case CELL_GCM_DECR: return D3D12_STENCIL_OP_DECR;
|
||||||
case CELL_GCM_INCR_WRAP:
|
case CELL_GCM_INCR_WRAP:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue