summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_print_visitor.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-03-02 10:34:45 -0800
committerMatt Turner <[email protected]>2014-03-18 23:20:29 -0700
commitc049dd4396d1639859810d6124faa863dae61d1b (patch)
tree047633ec813c5f55e9f2e56397e1d0e932d2edca /src/glsl/ir_print_visitor.h
parent6cbc64c3cb416fadad6e80042e24cd1e1b682897 (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 'src/glsl/ir_print_visitor.h')
0 files changed, 0 insertions, 0 deletions