i965: Add Gen8+ sys_vars for generated OA code
authorRobert Bragg <robert@sixbynine.org>
Wed, 22 Feb 2017 22:50:35 +0000 (22:50 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 27 Jun 2017 11:10:29 +0000 (14:10 +0300)
commite74972a3a6515f6e8610b68e23c58ac2bc824d98
tree5d5eb0130110af9a613fab583c6dc2ec7b39ab1c
parent7dd20bc3ee8f816648075a12d21b6b01a8e03507
i965: Add Gen8+ sys_vars for generated OA code

In preparation for adding XML OA metric set descriptions for Gen 8 and 9
which will result in auto generated code that depends on a number of new
system variables ($EuSubslicesTotalCount, $EuThreadsCount and
$SliceMask) this adds corresponding members to brw->perf.sys_vars.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h