Mesa (main): crocus/gen6: don't reemit the svbi when debugging
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 02:33:41 UTC 2021
Module: Mesa
Branch: main
Commit: f2bc6e400eff85850080fac0e039f2d918019253
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2bc6e400eff85850080fac0e039f2d918019253
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Sep 15 07:08:53 2021 +1000
crocus/gen6: don't reemit the svbi when debugging
This messes up the counts, stops some tests failing when reemit
is enabled
Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13188>
---
src/gallium/drivers/crocus/crocus_draw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/crocus/crocus_draw.c b/src/gallium/drivers/crocus/crocus_draw.c
index baa42fb8643..5df14b2e2d2 100644
--- a/src/gallium/drivers/crocus/crocus_draw.c
+++ b/src/gallium/drivers/crocus/crocus_draw.c
@@ -406,7 +406,7 @@ crocus_draw_vbo(struct pipe_context *ctx,
* write offsets, changing the behavior.
*/
if (INTEL_DEBUG & DEBUG_REEMIT) {
- ice->state.dirty |= CROCUS_ALL_DIRTY_FOR_RENDER & ~CROCUS_DIRTY_GEN7_SO_BUFFERS;
+ ice->state.dirty |= CROCUS_ALL_DIRTY_FOR_RENDER & ~(CROCUS_DIRTY_GEN7_SO_BUFFERS | CROCUS_DIRTY_GEN6_SVBI);
ice->state.stage_dirty |= CROCUS_ALL_STAGE_DIRTY_FOR_RENDER;
}
More information about the mesa-commit
mailing list