Changes

Jump to navigation Jump to search
508 bytes added ,  07:12, 7 September 2015
→‎Framebuffer registers: Document GPUREG_FRAMEBUFFER_INVALIDATE and _FLUSH
Line 3,947: Line 3,947:     
== Framebuffer registers ==
 
== Framebuffer registers ==
 +
 +
=== GPUREG_FRAMEBUFFER_INVALIDATE ===
 +
 +
Writing 1 to this register invalidates the framebuffer cache. This should be done when changing the framebuffer or when it is cleared before rendering. Note that it does '''not''' flush the cache, so it should always be preceded by a write to GPUREG_FRAMEBUFFER_FLUSH.
 +
 +
=== GPUREG_FRAMEBUFFER_FLUSH ===
 +
 +
Writing 1 to this register flushes the framebuffer cache to memory. This should be done after rendering before changing the framebuffer or using rendering results.
    
=== GPUREG_DEPTHBUFFER_FORMAT ===
 
=== GPUREG_DEPTHBUFFER_FORMAT ===
110

edits

Navigation menu