projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
000976e
)
vc4: Replace the FLUSH_ALL with FLUSH.
author
Eric Anholt
<eric@anholt.net>
Fri, 17 Oct 2014 08:42:35 +0000
(09:42 +0100)
committer
Eric Anholt
<eric@anholt.net>
Fri, 17 Oct 2014 12:09:28 +0000
(13:09 +0100)
We don't need to emit all of our current state at the end of each bin
list. We're going to be smashing it all at the start of the next tile's
bin list, anyway.
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
205f81d
..
7779c46
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_context.c
+++ b/
src/gallium/drivers/vc4/vc4_context.c
@@
-263,7
+263,9
@@
vc4_flush(struct pipe_context *pctx)
if (!vc4->needs_flush)
return;
- cl_u8(&vc4->bcl, VC4_PACKET_FLUSH_ALL);
+ /* The FLUSH caps all of our bin lists with a VC4_PACKET_RETURN. */
+ cl_u8(&vc4->bcl, VC4_PACKET_FLUSH);
+
cl_u8(&vc4->bcl, VC4_PACKET_NOP);
cl_u8(&vc4->bcl, VC4_PACKET_HALT);