Re: [Mesa-dev] [PATCH 07/23] ir_to_mesa: Add support for ir_triop_csel

2015-03-25 Thread Juha-Pekka Heikkila
Took a moment to understand how this works but I think it does. Reviewed-by: Juha-Pekka Heikkila juhapekka.heikk...@gmail.com /Juha-Pekka On 20.03.2015 22:58, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com The only drivers that use this path are i915 and swrast. Both of

[Mesa-dev] [PATCH 07/23] ir_to_mesa: Add support for ir_triop_csel

2015-03-20 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com The only drivers that use this path are i915 and swrast. Both of these support the CMP opcode. This is untested, but it is similar to existing code in st_glsl_to_tgsi.cpp. Without this change, a later commits glsl: Distribute multiply over b2f and