Skip to content

Commit

Permalink
D3D12: Add CELL_GCM_ZERO case to comparaison function.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlj committed Aug 26, 2015
1 parent 095c8fa commit e0aa74d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpcs3/Emu/RSX/D3D12/D3D12.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ inline D3D12_COMPARISON_FUNC getCompareFunc(u32 op)
{
switch (op)
{
case CELL_GCM_ZERO:
case CELL_GCM_NEVER: return D3D12_COMPARISON_FUNC_NEVER;
case CELL_GCM_LESS: return D3D12_COMPARISON_FUNC_LESS;
case CELL_GCM_EQUAL: return D3D12_COMPARISON_FUNC_EQUAL;
Expand Down

0 comments on commit e0aa74d

Please sign in to comment.