projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521cdde
)
anv: fix empty-body instruction
author
Eric Engestrom
<eric.engestrom@intel.com>
Sat, 26 Oct 2019 22:51:51 +0000
(23:51 +0100)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Sun, 27 Oct 2019 22:09:14 +0000
(22:09 +0000)
Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_private.h
b/src/intel/vulkan/anv_private.h
index aa1f2cbea87e5bbdad4bc7f3c658c423a5b7ecd1..30f1da39425aa1fe8f36bbd9ec86a9ade2c8b278 100644
(file)
--- a/
src/intel/vulkan/anv_private.h
+++ b/
src/intel/vulkan/anv_private.h
@@
-40,7
+40,7
@@
#define __gen_validate_value(x) VALGRIND_CHECK_MEM_IS_DEFINED(&(x), sizeof(x))
#endif
#else
-#define VG(x)
+#define VG(x)
((void)0)
#endif
#include "common/gen_clflush.h"