diff options
author | Michel Dänzer <[email protected]> | 2013-02-15 11:30:50 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2013-02-18 15:58:37 +0100 |
commit | 8356962853727136f3316ed227fb7bfe98e2f2bd (patch) | |
tree | eb742f096290b58ad06fe4db3621881d29e9c65a /src/gallium/drivers/radeonsi/r600_texture.c | |
parent | f9adf7987601197641cd0d851e47b45c5c416f00 (diff) |
radeonsi: Use stencil surface level information for stencil texturing
7 more little dwarves^W piglits.
NOTE: This is a candidate for the 9.1 branch.
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c index 3f75adbdcef..e8d9932e08e 100644 --- a/src/gallium/drivers/radeonsi/r600_texture.c +++ b/src/gallium/drivers/radeonsi/r600_texture.c @@ -153,8 +153,7 @@ static int r600_init_surface(struct r600_screen *rscreen, surface->flags |= RADEON_SURF_SCANOUT; } - if ((ptex->bind & PIPE_BIND_DEPTH_STENCIL) && - !is_flushed_depth && is_depth) { + if (!is_flushed_depth && is_depth) { surface->flags |= RADEON_SURF_ZBUFFER; if (is_stencil) { |