Re: [Mesa-dev] [PATCH 3/5] tgsi: macro-ify the opcodes table

2017-08-22 Thread Brian Paul
On 08/22/2017 10:35 AM, Nicolai Hähnle wrote: On 22.08.2017 18:33, Brian Paul wrote: On 08/22/2017 09:32 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle 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

Re: [Mesa-dev] [PATCH 3/5] tgsi: macro-ify the opcodes table

2017-08-22 Thread Nicolai Hähnle
On 22.08.2017 18:33, Brian Paul wrote: On 08/22/2017 09:32 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle 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. --- src/gallium/auxilia

Re: [Mesa-dev] [PATCH 3/5] tgsi: macro-ify the opcodes table

2017-08-22 Thread Brian Paul
On 08/22/2017 09:32 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle 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. --- src/gallium/auxiliary/Makefile.sources | 1 + sr

[Mesa-dev] [PATCH 3/5] tgsi: macro-ify the opcodes table

2017-08-22 Thread Nicolai Hähnle
From: Nicolai Hähnle 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. --- src/gallium/auxiliary/Makefile.sources | 1 + src/gallium/auxiliary/tgsi/tgsi_info.c | 262