intel/compiler: Track patch count threshold
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 24 Jan 2020 06:24:37 +0000 (22:24 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 23 Mar 2020 17:57:57 +0000 (17:57 +0000)
commit1a5ac646cefaa183ee09b149ea31931d122c0f51
tree469dbb65f1989e329fadc077a211399427ee8c74
parentb3dd54fe13b52f3e9a7265ba047135e823c476c7
intel/compiler: Track patch count threshold

Return the number of patches to accumulate before an 8_PATCH mode thread
is launched.

v2: (Kenneth Graunke)
- Track patch count threshold instead of input control points.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3563>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_vec4_tcs.cpp