glsl: Correctly validate fma()'s types.
authorMatt Turner <mattst88@gmail.com>
Fri, 6 Sep 2013 22:05:10 +0000 (15:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 18 Sep 2013 00:02:06 +0000 (17:02 -0700)
commita3b51a22f71819236baa6bbda9d0d050914b149d
treef6e54b19755aedb18f9e3e11a310805d07f35818
parentd56bbd04415d439b8e04c8f27e911485813f01e4
glsl: Correctly validate fma()'s types.

lrp() can take a scalar as a third argument, and fma() cannot.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_validate.cpp