intel/compiler: Split hw_type tables
authorMatt Turner <mattst88@gmail.com>
Tue, 7 Jan 2020 08:27:23 +0000 (00:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 00:19:21 +0000 (00:19 +0000)
commit741cf9a104feedf7386697d2c2d9c9f069f81b59
treedc4a2dfd7495fc14ec797edc6c23c10bc7e0e361
parent0b70d46f7a614888e999bfda443636c9bc1d8d97
intel/compiler: Split hw_type tables

Previously we were sharing tables between generations that were nearly
identical (i.e., Gen8 3-src adds HF support) and used a small bit of
code to handle the differences. This is kind of a mess if you want to
reject 64-bit types on platforms that don't support 64-bit types, so
split the tables, allowing each generation's table to list exactly what
it supports.

Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2635>
src/intel/compiler/brw_reg_type.c