Re: [Mesa-dev] [PATCH] nir/constant_folding: Fix source bit size logic

2018-12-17 Thread Juan A. Suarez Romero
On Thu, 2018-12-06 at 14:36 -0600, Jason Ekstrand wrote: > Instead of looking at input_sizes[i] which contains the number of > components for each source, we look at the bit size of input_types[i]. > This fixes a regression in the 1-bit boolean series though I have no > idea how we haven't seen it

[Mesa-dev] [PATCH] nir/constant_folding: Fix source bit size logic

2018-12-06 Thread Jason Ekstrand
Instead of looking at input_sizes[i] which contains the number of components for each source, we look at the bit size of input_types[i]. This fixes a regression in the 1-bit boolean series though I have no idea how we haven't seen it before now. Fixes: 35baee5dce5 "nir/constant_folding: fix incorr

[Mesa-dev] [PATCH] nir/constant_folding: Fix source bit size logic

2018-12-06 Thread Jason Ekstrand
Instead of looking at input_sizes[i] which contains the number of components for each source, we look at the bit size of input_types[i]. This fixes a regression in the 1-bit boolean series though I have no idea how we haven't seen it before now. Fixes: 35baee5dce5 "nir/constant_folding: fix incorr