i965: Make brw_emit_reloc assert that the target BO is non-NULL.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Aug 2017 23:52:39 +0000 (16:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Aug 2017 17:26:37 +0000 (10:26 -0700)
commit1d0bd0d1743ec3b924148c9129f964611dca785a
tree7c6e8cd6219b7b3eba64d640f2ba7f4a9bd8e825
parent5c007203b73da88b9e76ce28027c6d27661e45b1
i965: Make brw_emit_reloc assert that the target BO is non-NULL.

You need an actual BO to emit a relocation to it.

Suggested by me, authored by Chris, split out of a larger patch.
src/mesa/drivers/dri/i965/intel_batchbuffer.c