zink: Fix unused var warnings in release build from assertions.
authorEric Anholt <eric@anholt.net>
Tue, 25 Aug 2020 18:30:07 +0000 (11:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Aug 2020 22:45:08 +0000 (22:45 +0000)
commitab6a09f25b978b22142a6b00e6126c968d6789b9
treededce5aa4e290c529e638f9a02c04fb02ba136ed
parentca73c3bc596eae86aaeb03d0064568e8c0540e07
zink: Fix unused var warnings in release build from assertions.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6462>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_screen.c