Module: Mesa
Branch: master
Commit: eb6a1f8a00596156cd7164838ef9e9a5b39e7254
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb6a1f8a00596156cd7164838ef9e9a5b39e7254

Author: Eric Anholt <[email protected]>
Date:   Tue Nov 10 13:57:29 2009 -0800

i965: Add a note explaining the data cache domain.

---

 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c 
b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index 0bf735c..e2f0a38 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -358,7 +358,10 @@ brw_create_constant_surface( struct brw_context *brw,
                         NULL, NULL);
 
    if (key->bo) {
-      /* Emit relocation to surface contents */
+      /* Emit relocation to surface contents.  Section 5.1.1 of the gen4
+       * bspec ("Data Cache") says that the data cache does not exist as
+       * a separate cache and is just the sampler cache.
+       */
       dri_bo_emit_reloc(bo,
                        I915_GEM_DOMAIN_SAMPLER, 0,
                        0,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to