r600g: use the tgsi opcode from parse.FullToken.FullInstruction
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Mar 2015 14:47:07 +0000 (14:47 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 17 Mar 2015 23:52:32 +0000 (23:52 +0000)
commit5e68c6b32284a5d8d65cf87359f321fc135bdc1c
treea98bcd5c5164d0a80ec0635ed02d4411d6727d35
parent6db5e134b627d24e3d6d42a6835e6595652c5aab
r600g: use the tgsi opcode from parse.FullToken.FullInstruction

... rather than the local one in inst_info->tgsi_opcode.

This will allow us to simplify struct r600_shader_tgsi_instruction.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_shader.c