summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-10-12 08:37:14 +1000
committerDave Airlie <airlied@redhat.com>2016-10-12 08:57:09 +1000
commit8cc9f89d2613da51db8f4d8516d450addf11c63f (patch)
treeece47bd6f2fd471526e3c8de614d0d994c0b5446 /src/amd/vulkan/radv_private.h
parent014ec78fb26305b0d6ed1a9ae5e74915860df934 (diff)
downloadexternal_mesa3d-8cc9f89d2613da51db8f4d8516d450addf11c63f.zip
external_mesa3d-8cc9f89d2613da51db8f4d8516d450addf11c63f.tar.gz
external_mesa3d-8cc9f89d2613da51db8f4d8516d450addf11c63f.tar.bz2
radv: remove the validation layer and some related bits.
As pointed out by Emil this isn't used in anv anymore, and it was totally unused in radv anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 4fd4848..6db8c7a 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -39,7 +39,6 @@
#include <valgrind.h>
#include <memcheck.h>
#define VG(x) x
-#define __gen_validate_value(x) VALGRIND_CHECK_MEM_IS_DEFINED(&(x), sizeof(x))
#else
#define VG(x)
#endif
@@ -224,16 +223,6 @@ void radv_loge_v(const char *format, va_list va);
#define radv_assert(x)
#endif
-/**
- * If a block of code is annotated with radv_validate, then the block runs only
- * in debug builds.
- */
-#ifdef DEBUG
-#define radv_validate if (1)
-#else
-#define radv_validate if (0)
-#endif
-
void radv_abortf(const char *format, ...) radv_noreturn radv_printflike(1, 2);
void radv_abortfv(const char *format, va_list va) radv_noreturn;