aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_eu_validate.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-04-29 16:34:10 -0700
committerMatt Turner <[email protected]>2016-05-03 22:33:42 -0700
commit667408b889e2bf5f103340c2deeb04c4d99cb75b (patch)
tree8aab28453633878c7eb68ee135a2855b5176a039 /src/mesa/drivers/dri/i965/brw_eu_validate.c
parentd01596613b6b7831a3c6a596108a83340f8bf657 (diff)
i965: Merge inst_info and opcode_desc tables.
I merged opcode_desc into inst_info (instead of the other way around) because inst_info was sorted by opcode number. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu_validate.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_validate.c b/src/mesa/drivers/dri/i965/brw_eu_validate.c
index b87b32e1ed7..6f55df96bde 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_validate.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_validate.c
@@ -122,7 +122,7 @@ is_unsupported_inst(const struct brw_device_info *devinfo,
const brw_inst *inst)
{
int gen = gen_from_devinfo(devinfo);
- return (inst_info[brw_inst_opcode(devinfo, inst)].gens & gen) == 0;
+ return (opcode_descs[brw_inst_opcode(devinfo, inst)].gens & gen) == 0;
}
bool