Ver código fonte

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>
tags/17.3-branchpoint
Tapani Pälli 8 anos atrás
pai
commit
f940b1665a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/intel/vulkan/anv_private.h

+ 1
- 1
src/intel/vulkan/anv_private.h Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar