i965: drop dead scalar handling in GLSL.

This commit is contained in:
Eric Anholt 2009-08-12 13:00:23 -07:00
parent 08687c8b40
commit 63fa5fd319
2 changed files with 0 additions and 14 deletions

View File

@ -298,7 +298,6 @@ void brw_wm_lookup_iz( GLuint line_aa,
GLboolean brw_wm_is_glsl(const struct gl_fragment_program *fp);
void brw_wm_glsl_emit(struct brw_context *brw, struct brw_wm_compile *c);
int brw_num_wm_src_regs(gl_inst_opcode op);
#endif

View File

@ -131,19 +131,6 @@ static void set_reg(struct brw_wm_compile *c, int file, int index,
c->wm_regs[file][index][component].inited = GL_TRUE;
}
/**
* Examine instruction's write mask to find index of first component
* enabled for writing.
*/
static int get_scalar_dst_index(const struct prog_instruction *inst)
{
int i;
for (i = 0; i < 4; i++)
if (inst->DstReg.WriteMask & (1<<i))
break;
return i;
}
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
{
struct brw_reg reg;