diff --git a/.pick_status.json b/.pick_status.json index f250990628e..e4df42dcaaa 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1948,7 +1948,7 @@ "description": "util: fix util_is_vbo_upload_ratio_too_large", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "068a3bf0d7cda0301b3dfc2e258698c6848ca706" }, diff --git a/src/util/u_math.h b/src/util/u_math.h index 21037cb3a46..78790f30ba0 100644 --- a/src/util/u_math.h +++ b/src/util/u_math.h @@ -785,9 +785,9 @@ static inline bool util_is_vbo_upload_ratio_too_large(unsigned draw_vertex_count, unsigned upload_vertex_count) { - if (draw_vertex_count > 1024) + if (upload_vertex_count > 256) return upload_vertex_count > draw_vertex_count * 4; - else if (draw_vertex_count > 32) + else if (upload_vertex_count > 64) return upload_vertex_count > draw_vertex_count * 8; else return upload_vertex_count > draw_vertex_count * 16;