diff options
author | Matt Turner <[email protected]> | 2014-03-02 10:34:45 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-03-18 23:20:29 -0700 |
commit | c049dd4396d1639859810d6124faa863dae61d1b (patch) | |
tree | 047633ec813c5f55e9f2e56397e1d0e932d2edca /include | |
parent | 6cbc64c3cb416fadad6e80042e24cd1e1b682897 (diff) |
glsl: Allow dot() on scalars, and throw out dotlike().
In all uses of dotlike() we're writing generic code that operates on 1-4
component vectors. That our IR requires ir_binop_dot expressions'
operands to be 2+ component vectors is an implementation detail that's
not important when implementing built-in functions with dot(), which is
defined for scalar floats in GLSL.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions