OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63598a
)
vc4: Don't forget to set the depth clear value in the packet.
author
Eric Anholt
<eric@anholt.net>
Sat, 9 Aug 2014 18:00:51 +0000
(11:00 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 11 Aug 2014 21:47:54 +0000
(14:47 -0700)
This gets glxgears partially rendering again.
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
ffcbbb2
..
8ca4031
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_context.c
+++ b/
src/gallium/drivers/vc4/vc4_context.c
@@
-105,7
+105,7
@@
vc4_setup_rcl(struct vc4_context *vc4)
cl_u8(&vc4->rcl, VC4_PACKET_CLEAR_COLORS);
cl_u32(&vc4->rcl, vc4->clear_color[0]);
cl_u32(&vc4->rcl, vc4->clear_color[1]);
- cl_u32(&vc4->rcl,
0
);
+ cl_u32(&vc4->rcl,
vc4->clear_depth
);
cl_u8(&vc4->rcl, 0);
cl_start_reloc(&vc4->rcl, 1);