intel/tools: Set correct address register file and number in i965_asm
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 6 Feb 2020 22:11:55 +0000 (14:11 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Feb 2020 22:23:38 +0000 (22:23 +0000)
commit9526e5c359b4cfa724dd8bba52586435e29b75bf
tree081b185ec844ff163abf3bdeec350fa837523900
parent87d9e78f268a462b96dd489bf8d8e356801306f8
intel/tools: Set correct address register file and number in i965_asm

We need to use already created brw_reg and set correct file type,
register number and sub register number.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3952>
src/intel/tools/i965_gram.y