freedreno/ir3: don't pass consts to madsh.m16 in MOD logic
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 26 Nov 2014 22:37:45 +0000 (17:37 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 27 Nov 2014 19:25:36 +0000 (14:25 -0500)
commit37fe347542aad40aac5be9066c21f65f55d0f48c
tree1c8371711a33757e2ae3b36603e40d63fb170e88
parentb340469f33ed963771cd50b790a5d78342e6997a
freedreno/ir3: don't pass consts to madsh.m16 in MOD logic

madsh.m16 can't handle a const in src1, make sure to unconst it

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c