commit | 7aaa38728f93bfb69573e0d866f24e8cb41836f0 | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Mon Aug 19 10:45:46 2013 -0700 |
committer | Matt Turner <mattst88@gmail.com> | Mon Sep 09 15:01:08 2013 -0700 |
tree | f4de2a2d80ac24087c37dea60b37fe41d9745644 | |
parent | 60850b7b9fbb9827d6841dbd4a4cd9b1e3554d45 [diff] |
glsl: Add conditional-select IR. It's a ?: that operates per-component on vectors. Will be used in upcoming lowering pass for ldexp and the implementation of frexp. csel(selector, a, b): per-component result = selector ? a : b Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>