uint32_t num, struct pipe_resource **prscs, uint32_t *offsets)
{
/* TODO inline this */
- assert(dst_offset + num < v->constlen * 4);
+ assert(dst_offset + num <= v->constlen * 4);
fd3_emit_const_bo(ring, v->type, dst_offset, num, prscs, offsets);
}
uint32_t num, struct pipe_resource **prscs, uint32_t *offsets)
{
/* TODO inline this */
- assert(dst_offset + num < v->constlen * 4);
+ assert(dst_offset + num <= v->constlen * 4);
fd4_emit_const_bo(ring, v->type, dst_offset, num, prscs, offsets);
}
uint32_t num, struct pipe_resource **prscs, uint32_t *offsets)
{
/* TODO inline this */
- assert(dst_offset + num < v->constlen * 4);
+ assert(dst_offset + num <= v->constlen * 4);
fd5_emit_const_bo(ring, v->type, dst_offset, num, prscs, offsets);
}
}
}
- assert(offset * 4 + params < v->constlen * 4);
+ assert(offset * 4 + params <= v->constlen * 4);
emit_const_bo(ring, v, offset * 4, params, prscs, offsets);
}
}
}
- assert(offset * 4 + params < v->constlen * 4);
+ assert(offset * 4 + params <= v->constlen * 4);
emit_const_bo(ring, v, offset * 4, params, prscs, offsets);
}