crocus/gfx6: always be dirtying gs attachments for xfb

This fixes hangs seen with xfb and the deqp test

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11567>
This commit is contained in:
Dave Airlie
2021-06-24 16:43:16 +10:00
committed by Marge Bot
parent 7399d6028f
commit 78c979dc93
+1 -2
View File
@@ -4174,7 +4174,7 @@ crocus_set_stream_output_targets(struct pipe_context *ctx,
}
pipe_so_target_reference(&old_tgt[i], NULL);
}
ice->state.stage_dirty |= CROCUS_STAGE_DIRTY_BINDINGS_GS;
#else
for (int i = 0; i < PIPE_MAX_SO_BUFFERS; i++) {
if (num_targets) {
@@ -4210,7 +4210,6 @@ crocus_set_stream_output_targets(struct pipe_context *ctx,
ice->state.dirty |= CROCUS_DIRTY_GEN7_SO_BUFFERS;
#elif GFX_VER == 6
ice->state.dirty |= CROCUS_DIRTY_GEN6_SVBI;
ice->state.stage_dirty |= CROCUS_STAGE_DIRTY_BINDINGS_GS;
#endif
}