Re: [Mesa-dev] [PATCH] ac: fix nir_op_f2f64

2017-12-12 Thread Nicolai Hähnle
On 12.12.2017 06:13, Timothy Arceri wrote: Without this we get the error "FPExt only operates on FP" when converting the following: vec1 32 ssa_5 = b2f ssa_4 vec1 64 ssa_6 = f2f64 ssa_5 Which results in: %44 = and i32 %43, 1065353216 %45 = fpext i32 %44 to double With this pat

[Mesa-dev] [PATCH] ac: fix nir_op_f2f64

2017-12-11 Thread Timothy Arceri
Without this we get the error "FPExt only operates on FP" when converting the following: vec1 32 ssa_5 = b2f ssa_4 vec1 64 ssa_6 = f2f64 ssa_5 Which results in: %44 = and i32 %43, 1065353216 %45 = fpext i32 %44 to double With this patch we now get: %44 = and i32 %43, 1065353216