Re: [Mesa-dev] [PATCH 6/8] i965/fs: Handle conditional discards.

2015-02-24 Thread Kenneth Graunke
On Tuesday, February 24, 2015 01:25:18 PM Connor Abbott wrote: > On Tue, Feb 24, 2015 at 5:19 AM, Kenneth Graunke > wrote: > > For conditional discards, we can call emit_bool_to_cond_code to generate > > the condition in f0.0. However, we want it in f0.1. The flag value is > > always produced b

Re: [Mesa-dev] [PATCH 6/8] i965/fs: Handle conditional discards.

2015-02-24 Thread Connor Abbott
On Tue, Feb 24, 2015 at 5:19 AM, Kenneth Graunke wrote: > For conditional discards, we can call emit_bool_to_cond_code to generate > the condition in f0.0. However, we want it in f0.1. The flag value is > always produced by the last instruction emit_bool_to_cond_code > generates, so we can simpl