anv: fix build issues on release build
authorTapani Pälli <tapani.palli@intel.com>
Tue, 12 Sep 2017 10:09:37 +0000 (13:09 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 12 Sep 2017 10:29:11 +0000 (13:29 +0300)
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>
src/intel/vulkan/anv_private.h

index b42c76d8fe7576d1bab25a0f386afc5311500f2d..df8de8d9407c2b7b1e8a43ab7dda6688bb4b30ae 100644 (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