wined3d: Added missing states to debug_d3dstate().

Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jan Sikorski 2021-02-03 14:12:49 +01:00 committed by Alexandre Julliard
parent 433aaccc1f
commit 3655e7d945
1 changed files with 6 additions and 0 deletions

View File

@ -5197,6 +5197,12 @@ const char *debug_d3dstate(DWORD state)
return "STATE_BLEND";
if (STATE_IS_BLEND_FACTOR(state))
return "STATE_BLEND_FACTOR";
if (STATE_IS_SAMPLE_MASK(state))
return "STATE_SAMPLE_MASK";
if (STATE_IS_DEPTH_STENCIL(state))
return "STATE_DEPTH_STENCIL";
if (STATE_IS_STENCIL_REF(state))
return "STATE_STENCIL_REF";
return wine_dbg_sprintf("UNKNOWN_STATE(%#x)", state);
}