Searched refs:constant_map (Results 1 – 6 of 6) sorted by relevance
263 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()
96 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()
89 int8_t constant_map[1024]; member
280 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()
251 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()
895 int8_t *constant_map; /* variable array following prog_data */ member