Re: [Mesa-dev] [PATCH 2/9] nir/lower_vec_to_movs: Add a state struct

2015-09-19 Thread Jason Ekstrand
Go ahead and squash this in to the patch that adds the boolean return? On Sep 18, 2015 10:37 AM, "Kenneth Graunke" wrote: > From: Jason Ekstrand > > While we're here, we also fix up a couple of potential ralloc-parenting > bugs. In particular, we were calling nir_src_copy with the shader as the

[Mesa-dev] [PATCH 2/9] nir/lower_vec_to_movs: Add a state struct

2015-09-18 Thread Kenneth Graunke
From: Jason Ekstrand While we're here, we also fix up a couple of potential ralloc-parenting bugs. In particular, we were calling nir_src_copy with the shader as the mem context instead of the instruction. v2 (Ken): Rebase. Reviewed-by: Eduardo Lima Mitev [v1] --- src/glsl/nir/nir_lower_vec_