mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
gallium/radeon: removing dead code for sharing stencil buffers
This is a remnant of the times when the DDX was allocating depth-stencil buffers for windows. Now, st/dri allocates them and doesn't share them. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
73aeebd772
commit
b7878146c4
1 changed files with 0 additions and 4 deletions
|
|
@ -222,10 +222,6 @@ static int r600_setup_surface(struct pipe_screen *screen,
|
|||
rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe;
|
||||
rtex->surface.level[0].pitch_bytes = pitch_in_bytes_override;
|
||||
rtex->surface.level[0].slice_size = pitch_in_bytes_override * rtex->surface.level[0].nblk_y;
|
||||
if (rtex->surface.flags & RADEON_SURF_SBUFFER) {
|
||||
rtex->surface.stencil_offset =
|
||||
rtex->surface.stencil_level[0].offset = rtex->surface.level[0].slice_size;
|
||||
}
|
||||
}
|
||||
|
||||
if (offset) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue