[Mesa-dev] [PATCH 18/22] i965/fs: Add infrastructure for generating CSEL instructions.

Ian Romanick idr at freedesktop.org
Tue Mar 6 19:22:36 UTC 2018


On 03/05/2018 04:40 PM, Matt Turner wrote:
> On Fri, Feb 23, 2018 at 3:56 PM, Ian Romanick <idr at freedesktop.org> wrote:
>> From: Kenneth Graunke <kenneth at whitecape.org>
>>
>> v2 (idr): Don't allow CSEL with a non-float src2.
>>
>> v3 (idr): Add CSEL to fs_inst::flags_written.  Suggested by Matt.
> 
> brw_disassemble_inst
> fs_visitor::dump_instruction
> vec4_instruction:writes_flag
> vec4_visitor::dump_instruction

Do we need to update vec4 code?  This instruction is BDW+, and we don't
use the vec4 backend for anything on those platforms... and this
optimization is FS-only.

> should all be updated similarly.


More information about the mesa-dev mailing list