Browse Source

i965: Add a note explaining the data cache domain.

tags/mesa_7_7_rc1
Eric Anholt 16 years ago
parent
commit
eb6a1f8a00
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/mesa/drivers/dri/i965/brw_wm_surface_state.c

+ 4
- 1
src/mesa/drivers/dri/i965/brw_wm_surface_state.c View File

@@ -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,

Loading…
Cancel
Save