kk: Force vertex attribute rebinding when pipeline changes

Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38325>
This commit is contained in:
Aitor Camacho 2025-11-08 15:22:35 +09:00 committed by Marge Bot
parent 16f66ffe55
commit f458825d95

View file

@ -8,8 +8,8 @@
#include "kk_shader.h"
#include "kk_cmd_buffer.h"
#include "kk_descriptor_set_layout.h"
#include "kk_debug.h"
#include "kk_descriptor_set_layout.h"
#include "kk_device.h"
#include "kk_format.h"
#include "kk_nir_lower_vbo.h"
@ -1207,6 +1207,7 @@ kk_cmd_bind_graphics_shader(struct kk_cmd_buffer *cmd,
shader->pipeline.gfx.mtl_depth_stencil_state_handle;
cmd->state.gfx.is_depth_stencil_dynamic = requires_dynamic_depth_stencil;
cmd->state.gfx.dirty |= KK_DIRTY_PIPELINE;
cmd->state.gfx.dirty |= KK_DIRTY_VB;
}
static void