i965/vs: Avoid the emit(), remove(), insert_before() for array instructions.
authorEric Anholt <eric@anholt.net>
Sat, 27 Aug 2011 18:13:33 +0000 (11:13 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 31 Aug 2011 18:30:33 +0000 (11:30 -0700)
commit0c9ae24dbdfcfea06fb0e8cdfd7737da48fa4e31
treeca1ceaaf308c6c41c18dbb6658ea8326a8442381
parente45d0270c9f6f170e35ae39e95977b60f0f0be9a
i965/vs: Avoid the emit(), remove(), insert_before() for array instructions.

v2: Add generator instructions for the scratch opcodes.
    Add emit_before() for handling ->ir and ->annotation inheritance.

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