aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-19 13:36:23 +1000
committerDave Airlie <[email protected]>2016-10-20 10:53:37 +1000
commitb0f131b0bf1d3f4eb5943d5485bbed170844c727 (patch)
treeb955678633534c55db9d9ae0a2595ddb6c56e2a7 /src/intel
parentd842546ad1ebdb4825f0cbca2d68a56139d88e2a (diff)
anv: drop unused zero macro.
I can't see this being used anywhere. Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 0e258276c60..3fe9d7def4e 100644
--- 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