i965/fs: Don't constant propagate into integer math instructions.
authorMatt Turner <mattst88@gmail.com>
Fri, 24 Apr 2015 20:14:56 +0000 (13:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 24 Apr 2015 23:25:02 +0000 (16:25 -0700)
commit51c61fff8f46472820ac413ad22e9f3edf670396
treecc9e797a6a10dfbe4bc49a22a542c540d461f1c0
parente17018589651d449bbef5f98a6c2f65cc3ca70e5
i965/fs: Don't constant propagate into integer math instructions.

Constant combining won't promote non-floats, so this isn't safe.

Fixes regressions since commit 0087cf23e.
src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp