vc4: fix release build
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 25 Oct 2017 13:08:58 +0000 (14:08 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Fri, 27 Oct 2017 10:57:03 +0000 (11:57 +0100)
commit5d44e35a8f3967b40db153fdcedb9294d44ae5c4
tree0d4c71aa7defa4faf2e7709255ecc57f81ed57d3
parent0b131ca427d788ae08426bdeddb8f4bd3c7da202
vc4: fix release build

Mesa's DEBUG and assert's NDEBUG are not tied to each other, so we need
to explicitly compile this code out.

Fixes: 3df78928786134874eafa "vc4: Drop reloc_count tracking for debug
       asserts on non-debug builds."
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_cl.h