diff options
author | Eric Anholt <[email protected]> | 2014-09-30 11:23:29 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-30 12:55:28 -0700 |
commit | 8786544b3e3a024ccb04bb0c85f2afc07bb57f63 (patch) | |
tree | a5c2b40719579b92435cf163f65a23d59b39bfde /src | |
parent | 43e2109326d0b3bcf9b2241b054dadeceae33ca5 (diff) |
vc4: Don't forget to store stencil along with depth when storing either.
Otherwise, we'd replace the stencil in our packed depth/stencil with 0s.
Fixes about 50 piglit tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index d1b4fbcea00..72ac344287f 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -174,7 +174,7 @@ vc4_setup_rcl(struct vc4_context *vc4) cl_start_reloc(&vc4->rcl, 1); cl_u8(&vc4->rcl, VC4_PACKET_STORE_TILE_BUFFER_GENERAL); cl_u8(&vc4->rcl, - VC4_LOADSTORE_TILE_BUFFER_Z | + VC4_LOADSTORE_TILE_BUFFER_ZS | (zsurf->tiling << VC4_LOADSTORE_TILE_BUFFER_FORMAT_SHIFT)); cl_u8(&vc4->rcl, |