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

2013-06-17 Thread Eric Anholt
Kenneth Graunke 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

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

2013-06-13 Thread Kenneth Graunke
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. The split