i965: Don't leak the IR annotation into later instructions.
authorEric Anholt <eric@anholt.net>
Fri, 30 Nov 2012 00:51:13 +0000 (16:51 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 3 Dec 2012 21:19:46 +0000 (13:19 -0800)
commit0f06864ba566eaff5b739a9d0fba5ed7eaadd60b
tree68264a6194cf7f73d5b1058e055001b640baf2cf
parent1db9a72351e15d826950fab45889cdabb54c80b4
i965: Don't leak the IR annotation into later instructions.

After walking our IR instructions (Mesa or GLSL), we don't want to also
mark the start of the FB/URB writes or whatever as being that IR.  This
can end up being misleading when the end of the IR visit got copy
propagated out to a later instruction in the URB writes.

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