i965: Combine intel_batchbuffer_reloc and intel_batchbuffer_reloc64
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Mar 2017 21:45:59 +0000 (14:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Mar 2017 07:15:28 +0000 (00:15 -0700)
commite4dc005bcebfa5723aeba3e0cffce986bdd4d52d
treefee84e2cdf3668ceaa71de69f9d06cefec38dd98
parent5177231670f312c9f1f6dfc3304f3b09896057b7
i965: Combine intel_batchbuffer_reloc and intel_batchbuffer_reloc64

These two functions do the exact same thing.  One returns a uint64_t,
and the other takes the same uint64_t and truncates it to a uint32_t.

We only need the uint64_t variant - the caller can truncate if it wants.
This patch gives us one function, intel_batchbuffer_reloc, that does
the 64-bit thing.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/genX_blorp_exec.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h