Jan Sikorski : wined3d: Added missing states to debug_d3dstate().
Alexandre Julliard
julliard at winehq.org
Wed Feb 3 15:39:29 CST 2021
Module: wine
Branch: master
Commit: 3655e7d9450692fac0d9a2d71c8c110024e5fd67
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3655e7d9450692fac0d9a2d71c8c110024e5fd67
Author: Jan Sikorski <jsikorski at codeweavers.com>
Date: Wed Feb 3 14:12:49 2021 +0100
wined3d: Added missing states to debug_d3dstate().
Signed-off-by: Jan Sikorski <jsikorski at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/utils.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index e7e04e81557..daf079f50dc 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -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);
}
More information about the wine-cvs
mailing list