Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21274>
return fd6_ctx->prog;
}
-static bool
+static void
fd6_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
unsigned drawid_offset,
const struct pipe_draw_indirect_info *indirect,
emit.prog = NULL;
if (!(ctx->prog.vs && ctx->prog.fs))
- return false;
+ return;
if ((info->mode == PIPE_PRIM_PATCHES) || ctx->prog.gs) {
ctx->gen_dirty |= BIT(FD6_GROUP_PRIMITIVE_PARAMS);
/* bail if compile failed: */
if (!emit.prog)
- return false;
+ return;
fixup_draw_state(ctx, &emit);
}
fd_context_all_clean(ctx);
-
- return true;
}
static void