Re: [Mesa-dev] [PATCH 01/21] i965/fs: Get rid of fs_visitor::do_dual_src.

2016-07-26 Thread Francisco Jerez
Anuj Phogat writes: > On Fri, Jul 22, 2016 at 8:58 PM, Francisco Jerez > wrote: >> This boolean flag was being used for two different things: >> >> - To set the brw_wm_prog_data::dual_src_blend flag. Instead we can >>just set it based on whether the dual_src_output register is valid, >>

Re: [Mesa-dev] [PATCH 01/21] i965/fs: Get rid of fs_visitor::do_dual_src.

2016-07-25 Thread Anuj Phogat
On Fri, Jul 22, 2016 at 8:58 PM, Francisco Jerez wrote: > This boolean flag was being used for two different things: > > - To set the brw_wm_prog_data::dual_src_blend flag. Instead we can >just set it based on whether the dual_src_output register is valid, >which will be the case if the

[Mesa-dev] [PATCH 01/21] i965/fs: Get rid of fs_visitor::do_dual_src.

2016-07-22 Thread Francisco Jerez
This boolean flag was being used for two different things: - To set the brw_wm_prog_data::dual_src_blend flag. Instead we can just set it based on whether the dual_src_output register is valid, which will be the case if the shader writes the secondary blending color. - To decide wheth