Re: [Mesa-dev] [PATCH 1/4] nir/instr_set: Add an allow_loads field

2015-10-28 Thread Iago Toral
gt; by fanzine.igalia.com with esmtp (Exim) > id 1Zr3SO-0001hB-Rd > for <ito...@igalia.com>; Tue, 27 Oct 2015 13:34:29 +0100 > Received: from fmsmga002.fm.intel.com ([10.253.24.26]) > by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2015 05:33:51 -0700 >

[Mesa-dev] [PATCH 1/4] nir/instr_set: Add an allow_loads field

2015-10-27 Thread Iago Toral Quiroga
We need this so we can configure different behaviors for passes that cannot deal with side-effectful instructions (CSE) and passes that can (we will add a load-combine pass shortly). For now, when allow_loads is true, we let the instruction set rewrite SSBO loads. ---

Re: [Mesa-dev] [PATCH 1/4] nir/instr_set: Add an allow_loads field

2015-10-27 Thread Pohjolainen, Topi
On Tue, Oct 27, 2015 at 10:28:58AM +0100, Iago Toral Quiroga wrote: > We need this so we can configure different behaviors for passes that > cannot deal with side-effectful instructions (CSE) and passes that can > (we will add a load-combine pass shortly). > > For now, when allow_loads is true,