projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51bf007
)
anv: fix build issues on release build
author
Tapani Pälli
<tapani.palli@intel.com>
Tue, 12 Sep 2017 10:09:37 +0000
(13:09 +0300)
committer
Tapani 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
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_private.h
b/src/intel/vulkan/anv_private.h
index
b42c76d
..
df8de8d
100644
(file)
--- 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