anv: fix build issues on release build

Fixes: d083bc1c4b ("anv: wire up vk_errorf macro to do debug reporting")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Tapani Pälli 2017-09-12 13:09:37 +03:00
parent 51bf007d2c
commit f940b1665a

View file

@ -317,7 +317,7 @@ VkResult __vk_errorf(struct anv_instance *instance, const void *object,
#define anv_debug(format, ...) fprintf(stderr, "debug: " format, ##__VA_ARGS__)
#else
#define vk_error(error) error
#define vk_errorf(error, format, ...) error
#define vk_errorf(instance, obj, error, format, ...) error
#define anv_debug(format, ...)
#endif