freedreno: add some debug_asserts() to catch insane offsets
authorRob Clark <robclark@freedesktop.org>
Tue, 3 May 2016 19:20:13 +0000 (15:20 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 4 May 2016 15:25:55 +0000 (11:25 -0400)
commite7c64041e9acda672982f2748bfc049dd3159682
treeb1a1af821bb4b5c8277830022543c1ad52d0d8cc
parent1f2bc64f31872f04c27f9aa7a93e63a0091aaabf
freedreno: add some debug_asserts() to catch insane offsets

Ofc won't catch *all* faults, but at least helpful for catching offsets
which are completely bogus.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_util.h