projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e2109
)
vc4: Don't forget to store stencil along with depth when storing either.
author
Eric Anholt
<eric@anholt.net>
Tue, 30 Sep 2014 18:23:29 +0000
(11:23 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 30 Sep 2014 19:55:28 +0000
(12:55 -0700)
Otherwise, we'd replace the stencil in our packed depth/stencil with 0s.
Fixes about 50 piglit tests.
src/gallium/drivers/vc4/vc4_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_context.c
b/src/gallium/drivers/vc4/vc4_context.c
index d1b4fbcea00dfbf7daab84d992f8593053b93e1f..72ac344287fed1d686e402456e8217e453517ee9 100644
(file)
--- 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_Z
S
|
(zsurf->tiling <<
VC4_LOADSTORE_TILE_BUFFER_FORMAT_SHIFT));
cl_u8(&vc4->rcl,