vc4: The r4_count is supposed to be how many writes, not reads.
authorEric Anholt <eric@anholt.net>
Sun, 7 Sep 2014 21:42:33 +0000 (14:42 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Sep 2014 03:38:38 +0000 (20:38 -0700)
commit04faeff28a4a9c1bad2b0c72befe5456cf950a6e
tree31780a9400d8e34fc5d04a7196ad6b0349e2a289
parent5679ccfcaf8221cc1252e3214e182085dd850d33
vc4: The r4_count is supposed to be how many writes, not reads.

It's part of the key so that you can tell which r4 value is being read.
src/gallium/drivers/vc4/vc4_opt_cse.c