summaryrefslogtreecommitdiff
path: root/rnndb
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-08-09 09:01:28 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-08-09 09:01:28 +0200
commit63bbba435b73ff7d7d1aeaea5e07304a1f19f0a8 (patch)
treeb4faa258de7a739d6369a4d7a27cb208cb93d4da /rnndb
parent9ab1d76592adf6328f73f72705db256db25bec38 (diff)
driver: proper flushing of TS
RS_FLUSH seems to be TS_FLUSH -- ie, the TS_FLUSH command flushes the internal cache of the tile status. It needs to be invoked after a manual clear of the TS. This solves a few corruption and (esp. blockyness) issues.
Diffstat (limited to 'rnndb')
-rw-r--r--rnndb/state_3d.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/rnndb/state_3d.xml b/rnndb/state_3d.xml
index d4a73b1..ed6ed02 100644
--- a/rnndb/state_3d.xml
+++ b/rnndb/state_3d.xml
@@ -697,9 +697,6 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
</bitfield>
</reg32>
<reg32 offset="0x01640" name="FILL_VALUE" value="0x00000000" length="4" stride="4"/>
- <reg32 offset="0x01650" name="FLUSH_CACHE" brief="Flush resolve cache" value="0x00000000">
- <bitfield pos="0" name="FLUSH" brief="Flush tile status cache"/>
- </reg32>
<reg32 offset="0x016A0" name="EXTRA_CONFIG" value="0x00000000">
<bitfield high="1" low="0" name="AA" brief="Anti-aliasing mode (not used for MSAA)"/>
<bitfield high="9" low="8" name="ENDIAN" type="ENDIAN_MODE"/>
@@ -721,6 +718,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
Tile status block contains information about the tiles to be resolved.
It is used by the PE (to read/update tile status) as well as the RS (to read tile status for source).
</doc>
+ <reg32 offset="0x01650" name="FLUSH_CACHE" brief="Flush resolve cache" value="0x00000000">
+ <bitfield pos="0" name="FLUSH" brief="Flush tile status cache"/>
+ </reg32>
<reg32 offset="0x01654" name="MEM_CONFIG" brief="Memory configuration" value="0x00200000">
<doc>
Tile status config. Setting this value to 0 disables tile status and makes the resolve