mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
tc: add missing TC_SENTINEL for TC_END_BATCH
Fixes:c2983d93da("gallium/u_threaded: use TC_END_BATCH to terminate the loop") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33552> (cherry picked from commita893a87625)
This commit is contained in:
parent
5b8b81618e
commit
d2c5c71775
2 changed files with 4 additions and 1 deletions
|
|
@ -564,7 +564,7 @@
|
|||
"description": "tc: add missing TC_SENTINEL for TC_END_BATCH",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c2983d93dac554da3b7ad7e87021e8c94d0f1cf4",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -470,6 +470,9 @@ tc_add_call_end(struct tc_batch *next)
|
|||
(struct tc_call_base*)&next->slots[next->num_total_slots];
|
||||
call->call_id = TC_END_BATCH;
|
||||
call->num_slots = 1;
|
||||
#if !defined(NDEBUG) && TC_DEBUG >= 1
|
||||
call->sentinel = TC_SENTINEL;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue