mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 16:40:13 +01:00
ra: note a restriction in the interfence graph API
As noted in the previous commit, this was introduced in
567e2769b8 ("ra: make the p, q test more
efficient"), but I forgot to mention it.
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
afd82dcad1
commit
ec046bc08e
1 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,10 @@ void ra_set_finalize(struct ra_regs *regs, unsigned int **conflicts);
|
|||
* Each interference graph node is a virtual variable in the IL. It
|
||||
* is up to the user to ra_set_node_class() for the virtual variable,
|
||||
* and compute live ranges and ra_node_interfere() between conflicting
|
||||
* live ranges.
|
||||
* live ranges. Note that an interference *must not* be added between
|
||||
* two nodes if their classes haven't been assigned yet. The user
|
||||
* should set the class of each node before building the interference
|
||||
* graph.
|
||||
*/
|
||||
struct ra_graph *ra_alloc_interference_graph(struct ra_regs *regs,
|
||||
unsigned int count);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue