Module: Mesa
Branch: master
Commit: f940b1665a7f17ad2ae7ae2e951d90d151482875
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f940b1665a7f17ad2ae7ae2e951d90d151482875

Author: Tapani Pälli <[email protected]>
Date:   Tue Sep 12 13:09:37 2017 +0300

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 <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>

---

 src/intel/vulkan/anv_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b42c76d8fe..df8de8d940 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -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
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to