From 453017e32ace65fa2f9c908bd5a9721f65fbf2a2 Mon Sep 17 00:00:00 2001 From: Italo Nicola Date: Thu, 2 Dec 2021 10:19:27 -0300 Subject: [PATCH] vrend: actually force shader linking in vrend_link_program Fixes ba30df1bdce1654d736154c90e64e6c5f4047e4a Signed-off-by: Italo Nicola Reviewed-by: Gert Wollny --- src/vrend_renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 355a76f..ffb1abc 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -4815,6 +4815,8 @@ void vrend_link_program(struct vrend_context *ctx, uint32_t *handles) vrend_bind_shader(ctx, handles[type], type); } + vrend_select_program(ctx->sub, 1); + ctx->sub->shader_dirty = true; ctx->sub->cs_shader_dirty = true;