i965: Don't treat IF or WHILE with cmod as writing the flag.
authorMatt Turner <mattst88@gmail.com>
Tue, 11 Nov 2014 23:56:58 +0000 (15:56 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 2 Dec 2014 00:42:12 +0000 (16:42 -0800)
commitf1e5418f402c7ac087b1c127cb4476d0d02e0073
tree286947149bf16a44b966170131aa8a8ea3255373
parent937ddb419da28992eb7cc516459281758ff6b720
i965: Don't treat IF or WHILE with cmod as writing the flag.

Sandybridge's IF and WHILE instructions can do an embedded comparison
with conditional mod.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vec4.h