diff options
author | Marek Olšák <[email protected]> | 2014-08-20 01:34:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-09-01 21:18:33 +0200 |
commit | 6d751065cca931798f2ad9e68f936d3d41886e4f (patch) | |
tree | f47b930405be211d6ea264fde931858602c9b95a /src/gallium/drivers/r600/evergreen_state.c | |
parent | ee1b30eaff5617655eac025b66e56e510370e6fe (diff) |
r600g: use HTILE allocator from SI
It's almost the same.
This enables tiling for HTILE. It also enables Hyper-Z for other texture
targets (1D, 1D_ARRAY, 2D_ARRAY, CUBE, CUBE_ARRAY, 3D, RECT).
2D array depth textures are tested by Unigine Sanctuary and my new piglit
test.
Acked-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 1afa2abfb85..47b21f7b9bc 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -1264,9 +1264,8 @@ static void evergreen_init_depth_surface(struct r600_context *rctx, uint64_t va = rtex->htile_buffer->gpu_address; surf->db_htile_data_base = va >> 8; surf->db_htile_surface = S_028ABC_HTILE_WIDTH(1) | - S_028ABC_HTILE_HEIGHT(1) | - S_028ABC_FULL_CACHE(1) | - S_028ABC_LINEAR(1); + S_028ABC_HTILE_HEIGHT(1) | + S_028ABC_FULL_CACHE(1); surf->db_z_info |= S_028040_TILE_SURFACE_ENABLE(1); surf->db_preload_control = 0; } |