intel/compiler: Refactor TCS invocation ID setup into a helper
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 3 May 2019 21:20:00 +0000 (14:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 May 2019 20:16:24 +0000 (13:16 -0700)
commitd86260719ed800e16270371faad6ba29b42d3c84
tree78f1a43fabd5242f2e9bda0fc280c7e89d2aa104
parent381c2aded223abce3635b530334f0f0ae8b8397c
intel/compiler: Refactor TCS invocation ID setup into a helper

When we add 8_PATCH mode, this will get a bit more complex, so we may
as well start by putting it in a helper function.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h