[Mesa-dev] [PATCH 2/2] nouveau: Avoid pasting TGSI_OPCODE_ tokens together.

2014-11-24 Thread Eric Anholt
This made it harder to modify TGSI_OPCODE_ enums without breaking the driver. --- .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 278 ++--- 1 file changed, 139 insertions(+), 139 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp

Re: [Mesa-dev] [PATCH 2/2] nouveau: Avoid pasting TGSI_OPCODE_ tokens together.

2014-11-24 Thread Ilia Mirkin
I like the macros Nouveau, and probably other drivers, do lits of token pasting on all sorts of gallium tokens. I think it makes the code considerably easier to read. On Nov 24, 2014 7:07 PM, Eric Anholt e...@anholt.net wrote: This made it harder to modify TGSI_OPCODE_ enums without breaking