spirv: fix warning in release build
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 16 Apr 2016 01:00:13 +0000 (04:00 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 25 Apr 2016 10:23:25 +0000 (12:23 +0200)
commit29d2c0e9e6c545e5182c8da83ef4ca4a27d77388
treef6ce283f7296ca2b2e4b490e62115c8e67bab367
parentcbb0d4ad75e6309932af7995ca80fa5ff5db7c70
spirv: fix warning in release build

Mark variable MAYBE_UNUSED to avoid unused-but-set-variable warning in
release build.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/spirv/vtn_cfg.c