gallium: support for array textures and related changes
[mesa.git] / src / gallium / drivers / llvmpipe / lp_rast_priv.h
index 6864aeea78af0a946c375a0a3d764d7c22556444..cd686bc82c13fc3a769359db0e62799c05133d3a 100644 (file)
@@ -194,8 +194,8 @@ lp_rast_get_color_tile_pointer(struct lp_rasterizer_task *task,
 
       if (usage != LP_TEX_USAGE_WRITE_ALL) {
          llvmpipe_swizzle_cbuf_tile(lpt,
-                                    cbuf->face + cbuf->zslice,
-                                    cbuf->level,
+                                    cbuf->u.tex.first_layer,
+                                    cbuf->u.tex.level,
                                     task->x, task->y,
                                     task->color_tiles[buf]);
       }