projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d842546
)
anv: drop unused zero macro.
author
Dave Airlie
<airlied@redhat.com>
Wed, 19 Oct 2016 03:36:23 +0000
(13:36 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 20 Oct 2016 00:53:37 +0000
(10:53 +1000)
I can't see this being used anywhere.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 0e258276c6083db09f5a174f6999c5548efaddcc..3fe9d7def4e7c7cc919b3d3d6ae0f54901190a80 100644
(file)
--- a/
src/intel/vulkan/anv_private.h
+++ b/
src/intel/vulkan/anv_private.h
@@
-163,8
+163,6
@@
anv_clear_mask(uint32_t *inout_mask, uint32_t clear_mask)
memcpy((dest), (src), (count) * sizeof(*(src))); \
})
-#define zero(x) (memset(&(x), 0, sizeof(x)))
-
/* Define no kernel as 1, since that's an illegal offset for a kernel */
#define NO_KERNEL 1