Re: [Mesa-dev] [PATCH] build: Fix string matching

2018-07-05 Thread Eric Engestrom
On Thursday, 2018-07-05 12:43:04 +0200, Mathieu Bridon wrote: > Commit f69bc797e15fe6beb9e439009fab55f7fae0b7f9 did the following: > > -if format.layout in ('bptc', 'astc'): > +if format.layout in ('astc'): > > The intention was to go from matching either 'bptc' or 'astc' to > mat

[Mesa-dev] [PATCH] build: Fix string matching

2018-07-05 Thread Mathieu Bridon
Commit f69bc797e15fe6beb9e439009fab55f7fae0b7f9 did the following: -if format.layout in ('bptc', 'astc'): +if format.layout in ('astc'): The intention was to go from matching either 'bptc' or 'astc' to matching only 'astc'. But the new code doesn't respect this intention any more