tgsi: macro-ify the opcodes table
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 1 Aug 2017 21:05:10 +0000 (23:05 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 11:54:53 +0000 (13:54 +0200)
commit2f7c55c23f5fabde3dd1d4c6b85850cfe0132b73
tree24ff462ffeb4f0eaadd145a3f113fdf1bf392bb8
parent48ef0a1ee4cc44d24cada7b3d06d421891368795
tgsi: macro-ify the opcodes table

So we can easily re-arrange members of tgsi_opcode_info, and readers of
the code don't have to guess what all the 0s mean.

Mostly done with regex search&replace.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/tgsi/tgsi_info.c
src/gallium/auxiliary/tgsi/tgsi_info_opcodes.h [new file with mode: 0644]