intel/tools: Disallow control subregisters > 3
authorMatt Turner <mattst88@gmail.com>
Wed, 17 Jun 2020 00:07:15 +0000 (17:07 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 02:10:40 +0000 (02:10 +0000)
commite573f21edd39c3e3ab8c10579851bc2bd100f0bb
treeb0825eac73ce33d1f470ea02bae79d6eaf060f66
parentcc6fc963f02f727101f95d086065f332bd89e9e7
intel/tools: Disallow control subregisters > 3

> 4 was probably a typo, since the documentation says that there are 4
subregisters (0-3).

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5514>
src/intel/tools/i965_gram.y