i965: wrap unused function in #ifndef NDEBUG
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 4 Oct 2016 00:15:06 +0000 (11:15 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 4 Oct 2016 23:13:58 +0000 (10:13 +1100)
commit4340294af8a2a21a0a613c2c7995cc61e8cb03de
tree22fa1c6366a1718d8afcc2e7867b15699aea89d5
parentc9f176790346558fa48cfbcf6e2d5e140eb78fd7
i965: wrap unused function in #ifndef NDEBUG

This function is only ever used by an assert() this fixes an
unused function warning in release builds.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/gen8_draw_upload.c