Home
last modified time | relevance | path

Searched refs:constant_map (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_curbe.c263 if (brw->vs.constant_map[i] != -1) { in brw_upload_constant_buffer()
264 assert(brw->vs.constant_map[i] <= nr); in brw_upload_constant_buffer()
265 memcpy(buf + offset + brw->vs.constant_map[i] * 4, in brw_upload_constant_buffer()
Dgen6_vs_state.c96 if (brw->vs.constant_map[i] != -1) { in gen6_upload_vs_push_constants()
97 memcpy(param + brw->vs.constant_map[i] * 4, in gen6_upload_vs_push_constants()
Dbrw_vs.h89 int8_t constant_map[1024]; member
Dbrw_vs.c280 assert(c.constant_map == (int8_t *)&c.prog_data + in do_vs_prog()
283 ARRAY_SIZE(c.constant_map)); in do_vs_prog()
439 brw->vs.constant_map = ((int8_t *)brw->vs.prog_data + in brw_upload_vs_prog()
Dbrw_vs_emit.c251 memset(c->constant_map, -1, c->vp->program.Base.Parameters->NumParameters); in brw_vs_alloc_regs()
272 if (c->constant_map[inst->SrcReg[arg].Index] == -1) { in brw_vs_alloc_regs()
273 c->constant_map[inst->SrcReg[arg].Index] = constant++; in brw_vs_alloc_regs()
1316 if (!relAddr && c->constant_map[index] != -1) { in get_src_reg()
1318 assert(c->regs[PROGRAM_STATE_VAR][c->constant_map[index]].nr != 0); in get_src_reg()
1319 return c->regs[PROGRAM_STATE_VAR][c->constant_map[index]]; in get_src_reg()
Dbrw_context.h895 int8_t *constant_map; /* variable array following prog_data */ member