diff options
author | Rob Clark <[email protected]> | 2017-11-07 15:12:03 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-11-12 12:28:59 -0500 |
commit | 819a613ae33410584e13e78e78af82c71716f67d (patch) | |
tree | 2b7551998072e345de1fdb61a446f7b394dab142 /src/gallium/drivers/freedreno/freedreno_context.c | |
parent | 15ea8d128ae1b52d419ab5af586c01769276ec9c (diff) |
freedreno/ir3: moar better scheduler
Add a new pass that inserts additional dependencies, rather than simply
relying on SSA srcs added in the nir->ir3 frontend. This makes it
easier to deal with barriers, but the additional false deps also lets us
deal properly with ensuring a write depends on all previous reads.
Since conversion to barrier instructions is lossy (ie. just knowing the
instruction doesn't tell us enough about what other instructions the
barrier applies to), use barrier_class/barrier_conflict fields in the
ir3_instruction to retain this information.
This could probably be relaxed somewhat by considering *which* array/
buffer/image variable is being referenced. Ie. a write to buffer A
can overtake a read from buffer B, if B is not coherent. (right?)
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
0 files changed, 0 insertions, 0 deletions