summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_gpe_gen7.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-14 18:47:03 +0800
committerChia-I Wu <[email protected]>2013-05-15 15:08:54 +0800
commitca349e02171058c47fea610b2d884e4b08b371ac (patch)
tree6605cbe6d1c0521ffd4cb60fbdffdbde07ef9fbb /src/gallium/drivers/ilo/ilo_gpe_gen7.c
parent013424678e2604a45c420ec403e6f12b82446b24 (diff)
ilo: simplify ilo_texture_get_slice_offset()
Always return a tile-aligned offset. Also fix for W tiling.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe_gen7.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen7.c b/src/gallium/drivers/ilo/ilo_gpe_gen7.c
index ba69906271b..03236ecc467 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen7.c
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen7.c
@@ -1496,7 +1496,7 @@ gen7_fill_normal_SURFACE_STATE(const struct ilo_dev_info *dev,
assert(num_levels == 1 && num_layers == 1);
layer_offset = ilo_texture_get_slice_offset(tex,
- first_level, first_layer, true, &x_offset, &y_offset);
+ first_level, first_layer, &x_offset, &y_offset);
assert(x_offset % 4 == 0);
assert(y_offset % 2 == 0);