intel/compiler: Handle invalid inputs to brw_reg_type_to_*()
authorMatt Turner <mattst88@gmail.com>
Thu, 2 Jan 2020 22:57:56 +0000 (14:57 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 00:19:21 +0000 (00:19 +0000)
commit205cb8a1396b446646d6edaee6a96533da8e562d
treefbe9a7156d63358848024883ffcea587fc333b82
parent741cf9a104feedf7386697d2c2d9c9f069f81b59
intel/compiler: Handle invalid inputs to brw_reg_type_to_*()

Necessary to handle these cases when we test fuzzed instructions.

Reviewed-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