mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
svga: add assertion in svga_queue_rs()
Reviewed-by: Neha Bhende <bhenden@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
66c6cec612
commit
879ea9432d
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ do { \
|
|||
static inline void
|
||||
svga_queue_rs(struct rs_queue *q, unsigned rss, unsigned value)
|
||||
{
|
||||
assert(q->rs_count < ARRAY_SIZE(q->rs));
|
||||
q->rs[q->rs_count].state = rss;
|
||||
q->rs[q->rs_count].uintValue = value;
|
||||
q->rs_count++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue