anv: use do { } while (0) in the anv_finishme macro
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 24 Nov 2016 18:18:13 +0000 (18:18 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Nov 2016 19:12:38 +0000 (19:12 +0000)
commit7feac8bdb9d8f76f20e41e3b0314168738dd37fd
tree8f9e2bd05925451c9a85d5ca041e7296a4c14ee4
parent6dae5be806d385a6ef628aa8144885c1a218c051
anv: use do { } while (0) in the anv_finishme macro

Use the generic construct instead of the currect GCC specific one.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_private.h