zink: remove unnecessary draw checks

I don't know how/why these got here but they aren't needed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11408>
This commit is contained in:
Mike Blumenkrantz 2021-05-11 13:49:10 -04:00 committed by Marge Bot
parent a1fb2e9c27
commit 83b1d937a7
1 changed files with 0 additions and 3 deletions

View File

@ -402,9 +402,6 @@ zink_draw_vbo(struct pipe_context *pctx,
const struct pipe_draw_start_count_bias *draws,
unsigned num_draws)
{
if (!dindirect && (!draws[0].count || !dinfo->instance_count))
return;
struct zink_context *ctx = zink_context(pctx);
struct zink_screen *screen = zink_screen(pctx->screen);
struct zink_rasterizer_state *rast_state = ctx->rast_state;