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:
parent
a1fb2e9c27
commit
83b1d937a7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue