summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_resource.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-03-02 19:21:46 +0100
committerChristoph Bumiller <[email protected]>2011-03-02 20:59:53 +0100
commit669de7016ce3e95c6d1e4ee8e41b5bfe95f32105 (patch)
treeb91199703bf1b071c91cd3910b18fc6f02c29311 /src/gallium/drivers/nv50/nv50_resource.h
parent223d98bb8d49c9e52e498a12980722467ae2bf87 (diff)
nv50: fix tile size calculations
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_resource.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_resource.h b/src/gallium/drivers/nv50/nv50_resource.h
index 76229298f7c..0e9f0a2557e 100644
--- a/src/gallium/drivers/nv50/nv50_resource.h
+++ b/src/gallium/drivers/nv50/nv50_resource.h
@@ -21,7 +21,7 @@ nv50_screen_init_resource_functions(struct pipe_screen *pscreen);
#define NV50_TILE_HEIGHT(m) ( 4 << NV50_TILE_DIM_SHIFT(m, 0))
#define NV50_TILE_DEPTH(m) ( 1 << NV50_TILE_DIM_SHIFT(m, 1))
-#define NV50_TILE_SIZE_2D(m) ((64 * 8) << \
+#define NV50_TILE_SIZE_2D(m) ((64 * 4) << \
NV50_TILE_DIM_SHIFT(m, 0))
#define NV50_TILE_SIZE(m) (NV50_TILE_SIZE_2D(m) << NV50_TILE_DIM_SHIFT(m, 1))