Mesa (main): i915g: Fix dumping of 3DSTATE_BACKFACE_STENCIL_OPS.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 12 18:26:56 UTC 2021


Module: Mesa
Branch: main
Commit: ba11a30bf7e6618dadffe4bff04b558bfe8b25da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba11a30bf7e6618dadffe4bff04b558bfe8b25da

Author: Emma Anholt <emma at anholt.net>
Date:   Sat Jul  3 21:58:57 2021 -0700

i915g: Fix dumping of 3DSTATE_BACKFACE_STENCIL_OPS.

Its length was overly long and it meant we skipped the name of
3DSTATE_BACKFACE_STENCIL_MASKS.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11706>

---

 src/gallium/drivers/i915/i915_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/i915/i915_debug.c b/src/gallium/drivers/i915/i915_debug.c
index 10cc10aec86..11ba84076b6 100644
--- a/src/gallium/drivers/i915/i915_debug.c
+++ b/src/gallium/drivers/i915/i915_debug.c
@@ -777,7 +777,7 @@ i915_debug_packet(struct debug_stream *stream)
       case 0x7:
          return debug(stream, "3DSTATE_RASTERIZATION_RULES", 1);
       case 0x8:
-         return debug(stream, "3DSTATE_BACKFACE_STENCIL_OPS", 2);
+         return debug(stream, "3DSTATE_BACKFACE_STENCIL_OPS", 1);
       case 0x9:
          return debug(stream, "3DSTATE_BACKFACE_STENCIL_MASKS", 1);
       case 0xb:



More information about the mesa-commit mailing list