OSDN Git Service

i965/fs: Don't mess up stride for uniform integer multiplication.
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Jun 2015 17:59:33 +0000 (10:59 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 23 Jun 2015 19:24:42 +0000 (12:24 -0700)
commita49328d58d1e3e143f9434976d9f3574acefc4ea
treed13d0279d599369d21896a85a48272e84ea643eb
parent3fa9bb81ec8b21f472de32e08d0caf917239da08
i965/fs: Don't mess up stride for uniform integer multiplication.

If the stride is 0, the source is a uniform and we should not modify the
stride.

Cc: "10.6" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91047
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp