[Mesa-dev] [PATCH] llvmpipe: Support Z16_UNORM as depth-stencil format.

Brian Paul brianp at vmware.com
Mon Jan 28 12:10:58 PST 2013


On 01/28/2013 12:10 PM, jfonseca at vmware.com wrote:
> From: José Fonseca<jfonseca at vmware.com>
>
> Simply by adjusting the vector element width after/before
> reading/writing the depth-stencil values.
>
> Ran several GL_DEPTH_COMPONENT16 piglit tests without regressions.
> ---
>   src/gallium/drivers/llvmpipe/lp_bld_depth.c |   46 ++++++++++++++++++++-------
>   src/gallium/drivers/llvmpipe/lp_bld_depth.h |    3 +-
>   src/gallium/drivers/llvmpipe/lp_screen.c    |    8 ++---
>   src/gallium/drivers/llvmpipe/lp_state_fs.c  |    8 ++---
>   4 files changed, 43 insertions(+), 22 deletions(-)
>

LGTM.  Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list