author | Marek Olšák <maraeo@gmail.com> | |
Sun, 30 Sep 2012 17:20:04 +0000 (19:20 +0200) | ||
committer | Marek Olšák <maraeo@gmail.com> | |
Sat, 6 Oct 2012 03:45:56 +0000 (05:45 +0200) | ||
commit | 1aebfdc1121ccb6babb3a63dc0b99d68b4860b04 | |
tree | 3f0fd6c757f1022afbab218cce2d55c97858c0cb | tree | snapshot (tar.xz tar.gz zip) |
parent | 77413e77b82a5d800c86b7d3b864d6cc797721c9 | commit | diff |
radeon: fix stencil miptree allocation of combined ZS buffers on EG and SI
This allows texturing with depth-stencil buffers directly without the copy
to CB. The separate miptree description for stencil is added, because
the stencil mipmap offsets are not really depth offsets/4 (at least
for the texture units).
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This allows texturing with depth-stencil buffers directly without the copy
to CB. The separate miptree description for stencil is added, because
the stencil mipmap offsets are not really depth offsets/4 (at least
for the texture units).
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
radeon/radeon_surface.c | diff | blob | history | |
radeon/radeon_surface.h | diff | blob | history |