diff options
author | Kenneth Graunke <[email protected]> | 2017-09-01 17:32:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-09-08 00:21:09 -0700 |
commit | 44ac54a3fdcb0dd54ea0cf3f2e5738958aab8010 (patch) | |
tree | bdc3c0aa36a9b5f57a4018f4375045b6ee2b5053 /src/intel | |
parent | b909d278d0194a1fd289348df9dd5a71f9808d98 (diff) |
i965: Don't special case the batchbuffer when reference counting.
We don't need to special case the batch - when we add the batch to the
validation list, we can simply increase the refcount to 2, and when we
make a new batch, we'll drop it back down to 1 (when unreferencing all
buffers in the validation list). The final reference is still held by
brw->batch.bo, as it was before.
This removes the special case from a bunch of loops.
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions