Explorar el Código

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 hace 8 años
padre
commit
f940b1665a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/intel/vulkan/anv_private.h

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

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


Cargando…
Cancelar
Guardar