[Mesa-dev] [PATCH] i965/vs: Combine code generation's inst->opcode switch statements.

Eric Anholt eric at anholt.net
Mon Jun 17 12:58:42 PDT 2013

Kenneth Graunke <kenneth at whitecape.org> writes:

> vec4_visitor::generate_code() switches on vec4_instruction::opcode and
> calls into the brw_eu_emit.c layer to generate code for some of them.
> It then has a default case which calls generate_vec4_instruction() to
> handle the rest...which switches on opcode and handles the rest of the
> cases.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130617/3c49f450/attachment.pgp>

More information about the mesa-dev mailing list