Skip to content

Commit

Permalink
d3d12: Support default value for stencil op
Browse files Browse the repository at this point in the history
Requested by Jet Set Radio.
  • Loading branch information
vlj committed Nov 16, 2015
1 parent 471e807 commit 3070153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_ZERO: return D3D12_STENCIL_OP_ZERO;
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_DECR: return D3D12_STENCIL_OP_DECR;
case CELL_GCM_INCR_WRAP:
Expand Down

0 comments on commit 3070153

Please sign in to comment.