Re: [Mesa-dev] [PATCH 05/59] glsl: Generate strings that are the enum names without the ir_*op_ prefix

2016-10-26 Thread Ian Romanick
On 10/26/2016 02:46 AM, Iago Toral wrote: > On Tue, 2016-10-25 at 17:59 -0700, Ian Romanick wrote: >> From: Ian Romanick >> >> For many expressions, this is different from the printable name. The >> printable name for ir_binop_add is "+", but we want "add". This is >>

Re: [Mesa-dev] [PATCH 05/59] glsl: Generate strings that are the enum names without the ir_*op_ prefix

2016-10-26 Thread Iago Toral
On Tue, 2016-10-25 at 17:59 -0700, Ian Romanick wrote: > From: Ian Romanick > > For many expressions, this is different from the printable name.  The > printable name for ir_binop_add is "+", but we want "add".  This is > needed for ir_builder_print_visitor.

[Mesa-dev] [PATCH 05/59] glsl: Generate strings that are the enum names without the ir_*op_ prefix

2016-10-25 Thread Ian Romanick
From: Ian Romanick For many expressions, this is different from the printable name. The printable name for ir_binop_add is "+", but we want "add". This is needed for ir_builder_print_visitor. Signed-off-by: Ian Romanick ---