OSDN Git Service

broadcom/vc5: Start adding support for rendering to Z32F_S8X24_UINT.
authorEric Anholt <eric@anholt.net>
Wed, 6 Dec 2017 02:58:41 +0000 (18:58 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Dec 2017 21:40:30 +0000 (13:40 -0800)
commit7a30517cce8f3acce4cc22e510068da7fc89b4a1
tree84798d3ba673e97c08667580d70a0ba1bd706c2a
parent308076fd55a44f8defedd80d75e256e51bdff0a2
broadcom/vc5: Start adding support for rendering to Z32F_S8X24_UINT.

There may be some more RCL work to be done (I think I need to split my Z/S
stores when doing separate stencil), but this gets piglit's "texwrap
GL_ARB_depth_buffer_float" working.

v2: Unwrap the z32f_wrapper before calling the helper, rather than having
    the helper have a callback.
v3: Rebase on Rob Clark's u_transfer_helper instead
src/gallium/drivers/vc5/vc5_rcl.c
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_resource.h