mesa/program: Translate csel operation from GLSL IR.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 24 Jan 2017 07:53:03 +0000 (23:53 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 31 Jan 2017 18:32:42 +0000 (10:32 -0800)
commite81130d7a146fe6a750bf903e910dc2c7c90d513
treed425178752a8cc2a5f6989d85eaef3e530a66737
parent56314f5bafdfeb514adf8401c52f216bd430bbb2
mesa/program: Translate csel operation from GLSL IR.

This will be used internally by the GLSL front-end in order to
implement some built-in functions. Plumb it through MESA IR for
back-ends that rely on this translation pass.

v2: Add comment.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
src/mesa/program/ir_to_mesa.cpp