summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/include
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-04-26 23:17:45 +0200
committerAxel Davy <axel.davy@ens.fr>2015-04-29 08:28:10 +0200
commit64880d073ab21ae1abad0c049ea2d6a1169a3cfa (patch)
tree3c102d5957de2460a45e6e92ac73d8dad29266b7 /src/gallium/drivers/svga/include
parent405c7d75114fadcf744f6bbd5556c86c66ac631b (diff)
downloadexternal_mesa3d-64880d073ab21ae1abad0c049ea2d6a1169a3cfa.zip
external_mesa3d-64880d073ab21ae1abad0c049ea2d6a1169a3cfa.tar.gz
external_mesa3d-64880d073ab21ae1abad0c049ea2d6a1169a3cfa.tar.bz2
util/macros: Move DIV_ROUND_UP to util/macros.h
Move DIV_ROUND_UP to a shared location accessible everywhere Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/drivers/svga/include')
-rw-r--r--src/gallium/drivers/svga/include/svga3d_surfacedefs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
index 8763cdf..e32d194 100644
--- a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
+++ b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
@@ -35,8 +35,6 @@
#define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0]))
#endif
-#define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y))
-
#define max_t(type, x, y) ((x) > (y) ? (x) : (y))
/*