iris: Set patch count threshold in 3DSTATE_HS
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 24 Jan 2020 06:39:35 +0000 (22:39 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 23 Mar 2020 17:57:57 +0000 (17:57 +0000)
commitc40acdef52b1da97c90f5cef046ae881511f7d25
tree4067e37951f2229b08fea48495ce79287556dfca
parent60c789543e3738f3a39897758d7507da8c044d78
iris: Set patch count threshold in 3DSTATE_HS

Lets specifiy maximum number of patches that will be accumulated before
a thread is dispatched.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3563>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3563>
src/gallium/drivers/iris/iris_state.c