mesa: update validation when draw buffer changes

Otherwise validation that depends on the _IntegerDrawBuffers and
_FP32DrawBuffers bitfield can end up stale.

Fixes: d04d9da98c ("st/mesa: fix _IntegerBuffers bitfield use")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35063>
This commit is contained in:
Timothy Arceri
2025-05-20 16:20:55 +10:00
committed by Marge Bot
parent d77b49eb0a
commit 3ec68e8382
+3
View File
@@ -33,6 +33,7 @@
#include "util/glheader.h"
#include "buffers.h"
#include "context.h"
#include "draw_validate.h"
#include "enums.h"
#include "fbobject.h"
#include "framebuffer.h"
@@ -867,6 +868,8 @@ _mesa_drawbuffers(struct gl_context *ctx, struct gl_framebuffer *fb,
}
}
}
_mesa_update_valid_to_render_state(ctx);
}