freedreno/ir3: handle IMMED for mad 2nd src special case
authorRob Clark <robdclark@gmail.com>
Tue, 30 Jan 2018 17:18:13 +0000 (12:18 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000 (14:54 -0500)
commitaea223741fa008c704e8bc66fe00bde05d51b2c7
tree3cf97a5d7ccd926a1995e57df1852e231df6b85d
parent242a8a1957c631e557c6148b5d024dc647b493ed
freedreno/ir3: handle IMMED for mad 2nd src special case

Consider also immediates for swapping the first two srcs, because they
can be lowered to constant.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cp.c