broadcom/vc5: Fix per-tile extra clear packet.
authorEric Anholt <eric@anholt.net>
Tue, 9 Jan 2018 22:59:19 +0000 (14:59 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 13 Jan 2018 05:52:02 +0000 (21:52 -0800)
I accidentally emitted this into the RCL instead of the per-tile generic
list, so we wouldn't get tiles after the first cleared.

src/gallium/drivers/vc5/vc5_rcl.c

index 8ed8c486f227495c35b093eba0eb7b4989e66c8c..56c6a16cc513fdb25a229eb4641607fb7f53c1fd 100644 (file)
@@ -221,7 +221,7 @@ vc5_rcl_emit_stores(struct vc5_job *job, struct vc5_cl *cl)
                  * MSAA color clears, then we need to clear the color buffers
                  * now.
                  */
-                cl_emit(&job->rcl, STORE_TILE_BUFFER_GENERAL, store) {
+                cl_emit(cl, STORE_TILE_BUFFER_GENERAL, store) {
                         store.buffer_to_store = NONE;
                 }
         }