Re: [Mesa-dev] [PATCH] nir: add missing x swizzle in nir_print()

2016-08-02 Thread Matt Turner
On Tue, Aug 2, 2016 at 5:28 PM, Timothy Arceri wrote: > Currently we only print the swizzle if the components are not > used in order. This means x is not printed when it is the only > component used. By checking if the last component is used we > can print the swizzle for this case. I agree. I'v

[Mesa-dev] [PATCH] nir: add missing x swizzle in nir_print()

2016-08-02 Thread Timothy Arceri
Currently we only print the swizzle if the components are not used in order. This means x is not printed when it is the only component used. By checking if the last component is used we can print the swizzle for this case. --- src/compiler/nir/nir_print.c | 10 +- 1 file changed, 9 inserti