From: Eric Anholt Date: Tue, 10 Nov 2009 21:57:29 +0000 (-0800) Subject: i965: Add a note explaining the data cache domain. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb6a1f8a00596156cd7164838ef9e9a5b39e7254;p=mesa.git i965: Add a note explaining the data cache domain. --- 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 0bf735c0f2c..e2f0a383e75 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,