freedreno: disallow cat4 immed src
authorRob Clark <robclark@freedesktop.org>
Mon, 25 Apr 2016 12:24:43 +0000 (08:24 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 25 Apr 2016 20:16:21 +0000 (16:16 -0400)
commitdfd23abdcce7fb01da842d2fc69d54a04ecdfee2
treee270cd84e5eded25c6105e5a5bb7f3c11621e8c5
parent76c6cdd36ae2633688ffa292c1d5cdc38a8f2733
freedreno: disallow cat4 immed src

Normally this would never happen (constant-propagation in NIR would
eliminate the instruction), except it does happen for 'undef' which
we turn into immed 0.0 for bookkeeping purposes.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_cp.c