i965: Pass devinfo pointer to brw_instruction_name().
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 28 Apr 2016 07:19:12 +0000 (00:19 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 4 May 2016 01:06:21 +0000 (18:06 -0700)
commitc55dc77ab13420a9fe0177ccd21a6b0a950d9113
tree0f139b6a086d70db54989872c89c552058fa031e
parent7d9143ad885752184156b3a0d3e492aef09af3b0
i965: Pass devinfo pointer to brw_instruction_name().

A future series will implement support for an instruction that happens
to have the same opcode number as another instruction we support
already on a disjoint set of hardware generations.  In order to
disambiguate which instruction it is brw_instruction_name() will need
some way to find out which device we are generating code for.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4.cpp