i965: Replace reg_type_size[] with a function.
authorMatt Turner <mattst88@gmail.com>
Wed, 9 Nov 2016 19:04:24 +0000 (11:04 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 20 Jan 2017 19:40:52 +0000 (11:40 -0800)
commitdf0b7bcdfd2b1670385e971bcfa36ea5528d2249
treea7eb90261bbd9af21e0b1b8d0f4fa6ba54e244e7
parentada891d472a32412abacc987cc1963c1438b6548
i965: Replace reg_type_size[] with a function.

A function is necessary to handle immediate types.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_disasm.c
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_reg.h