Re: [Mesa-dev] [PATCH] nir: fix condition propagation when src has a swizzle

2018-11-02 Thread Jason Ekstrand
On November 2, 2018 08:20:34 Timothy Arceri wrote: On 2/11/18 11:52 pm, Jason Ekstrand wrote: On November 2, 2018 06:25:59 Timothy Arceri wrote: We cannot use nir_build_alu() to create the new alu as it has no way to know how many components of the src we will use. This results in it

Re: [Mesa-dev] [PATCH] nir: fix condition propagation when src has a swizzle

2018-11-02 Thread Timothy Arceri
On 2/11/18 11:52 pm, Jason Ekstrand wrote: On November 2, 2018 06:25:59 Timothy Arceri wrote: We cannot use nir_build_alu() to create the new alu as it has no way to know how many components of the src we will use. This results in it guessing the max number of components from one of its

Re: [Mesa-dev] [PATCH] nir: fix condition propagation when src has a swizzle

2018-11-02 Thread Jason Ekstrand
On November 2, 2018 06:25:59 Timothy Arceri wrote: We cannot use nir_build_alu() to create the new alu as it has no way to know how many components of the src we will use. This results in it guessing the max number of components from one of its inputs. Fixes the following CTS tests:

[Mesa-dev] [PATCH] nir: fix condition propagation when src has a swizzle

2018-11-02 Thread Timothy Arceri
We cannot use nir_build_alu() to create the new alu as it has no way to know how many components of the src we will use. This results in it guessing the max number of components from one of its inputs. Fixes the following CTS tests: