Procházet zdrojové kódy

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 před 8 roky
rodič
revize
f940b1665a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/intel/vulkan/anv_private.h

+ 1
- 1
src/intel/vulkan/anv_private.h Zobrazit soubor

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


Načítá se…
Zrušit
Uložit