From 5d61905eb1aa8074ee62553b4a7bd2dc16f4cf24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 6 Nov 2023 21:31:21 -0800 Subject: [PATCH] Disable nvtt asserts. --- 3rdparty/nvtt/nvcore/debug.h | 3 ++- 3rdparty/nvtt/nvcore/nvcore.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/3rdparty/nvtt/nvcore/debug.h b/3rdparty/nvtt/nvcore/debug.h index 31d0f51..f92eb60 100644 --- a/3rdparty/nvtt/nvcore/debug.h +++ b/3rdparty/nvtt/nvcore/debug.h @@ -1,4 +1,4 @@ -// This code is in the public domain -- Ignacio Castaño +// This code is in the public domain -- Ignacio Castaño #ifndef NV_CORE_DEBUG_H #define NV_CORE_DEBUG_H @@ -24,6 +24,7 @@ # define nvAssert(exp) nvNoAssert(exp) # define nvCheck(exp) nvNoAssert(exp) +# define nvCheckMacro(exp) (exp) # define nvDebugAssert(exp) nvNoAssert(exp) # define nvDebugCheck(exp) nvNoAssert(exp) # define nvDebugBreak() nvNoAssert(0) diff --git a/3rdparty/nvtt/nvcore/nvcore.h b/3rdparty/nvtt/nvcore/nvcore.h index f650ee7..20a933c 100644 --- a/3rdparty/nvtt/nvcore/nvcore.h +++ b/3rdparty/nvtt/nvcore/nvcore.h @@ -4,7 +4,7 @@ #define NV_CORE_H #define NVCORE_SHARED 0 -#define NV_NO_ASSERT 0 +#define NV_NO_ASSERT 1 // Function linkage #if NVCORE_SHARED