cso: set index_bounds_valid = true for arrays draws
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 17 Jan 2021 17:46:03 +0000 (12:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 Jan 2021 17:33:52 +0000 (17:33 +0000)
commit111c0733eaef2b3bfe9abaea2bb7880b5976dde6
treed533a75b0825dfc471897ef1e751085344db622e
parent333730405de28153f2378d498e45cb82024fc230
cso: set index_bounds_valid = true for arrays draws

The min/max indices are valid. Set the bit to true to indicate that.

Fixes glClear (+ clear_with_quads) on nouveau.

Fixes: 72ff53098c64 (gallium: add pipe_draw_info::index_bounds_valid)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reported-by: Simon Ser <contact@emersion.fr>
Tested-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8546>
src/gallium/auxiliary/cso_cache/cso_context.c