crocus: reorder version checks on indirect xfb

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11707>
This commit is contained in:
Dave Airlie 2021-07-05 06:54:35 +10:00
parent 063d7bfa1c
commit 6909b4a75a

View file

@ -374,8 +374,8 @@ crocus_draw_vbo(struct pipe_context *ctx,
return;
}
if (indirect && indirect->count_from_stream_output &&
screen->devinfo.verx10 < 75) {
if (screen->devinfo.verx10 < 75 &&
indirect && indirect->count_from_stream_output) {
crocus_draw_vbo_get_vertex_count(ctx, info, drawid_offset, indirect);
return;
}