Re: [Mesa-dev] [PATCH 21/22] i965: Drop redundant check for non-tiled depth buffer

2017-07-18 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Tue, Jul 18, 2017 at 1:46 AM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > Depth buffers are always Y-tiled. In brw_miptree_choose_tiling() > driver opts to use linear buffers for small and 1D but this does > not apply for depth - GL_DEPTH_COMPONENT and

[Mesa-dev] [PATCH 21/22] i965: Drop redundant check for non-tiled depth buffer

2017-07-18 Thread Topi Pohjolainen
Depth buffers are always Y-tiled. In brw_miptree_choose_tiling() driver opts to use linear buffers for small and 1D but this does not apply for depth - GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL_EXT are considered first. Signed-off-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/brw_misc_state.c