i965/vs: Restructure emit() functions around a vec4_instruction constructor.
authorEric Anholt <eric@anholt.net>
Fri, 26 Aug 2011 23:37:37 +0000 (16:37 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 19:09:40 +0000 (12:09 -0700)
commit88e08de8017b69591b37dafde9afd15f796fb404
tree66a038544c69497ed2f31dc3301539e54445549d
parent8654931d117f178fa575d3fdc5bbff9f8bf9e816
i965/vs: Restructure emit() functions around a vec4_instruction constructor.

We sometimes want to put an instruction somewhere besides the end of
the instruction stream, and we also want per-opcode instruction
generation to enable compile-time checking of operands.
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp