glsl: handle conversions to double when comparing param matches
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 17 Jun 2015 19:07:14 +0000 (15:07 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Jun 2015 17:21:44 +0000 (13:21 -0400)
commitc40e7ee7c47cb24264fd77ef37fab99dea4c299a
treee8cb50d3eedb2b010bd42eb3565e674131e19e83
parent6b0378e483ba53359545ac8b774dbdd81c2fab3f
glsl: handle conversions to double when comparing param matches

This allows mod(int, int) to become selected as float mod when doubles
are supported.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
src/glsl/ir_function.cpp