Re: [Mesa-dev] [PATCH 5/7] nir/int64: Call nir_lower_int64() in a loop

2018-10-15 Thread Jason Ekstrand
On Mon, Oct 15, 2018 at 1:48 PM Ian Romanick wrote: > On 10/14/2018 03:11 PM, Matt Turner wrote: > > Unfortunately some int64 lowerings generate more int64 operations, so we > > need to call this function a few times. Also call > > nir_lower_alu_to_scalar() beforehand to make more int64

Re: [Mesa-dev] [PATCH 5/7] nir/int64: Call nir_lower_int64() in a loop

2018-10-15 Thread Ian Romanick
On 10/14/2018 03:11 PM, Matt Turner wrote: > Unfortunately some int64 lowerings generate more int64 operations, so we > need to call this function a few times. Also call > nir_lower_alu_to_scalar() beforehand to make more int64 operations > available for lowering. > --- >

[Mesa-dev] [PATCH 5/7] nir/int64: Call nir_lower_int64() in a loop

2018-10-14 Thread Matt Turner
Unfortunately some int64 lowerings generate more int64 operations, so we need to call this function a few times. Also call nir_lower_alu_to_scalar() beforehand to make more int64 operations available for lowering. --- src/intel/compiler/brw_nir.c | 10 +++--- 1 file changed, 7 insertions(+),