i965: Add a note justifying domain choice for the SF VP.
authorEric Anholt <eric@anholt.net>
Sat, 8 Aug 2009 01:08:20 +0000 (18:08 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 8 Aug 2009 01:33:08 +0000 (18:33 -0700)
src/mesa/drivers/dri/i965/brw_sf_state.c

index a964cb26c9a954730d1607ea8c8935eeea6e80f3..bc0f0760738dcdc5f733aed8ee94f09d7b50ca7c 100644 (file)
@@ -309,6 +309,9 @@ sf_unit_create_from_key(struct brw_context *brw, struct brw_sf_unit_key *key,
                         &sf, sizeof(sf),
                         NULL, NULL);
 
+   /* STATE_PREFETCH command description describes this state as being
+    * something loaded through the GPE (L2 ISC), so it's INSTRUCTION domain.
+    */
    /* Emit SF program relocation */
    dri_bo_emit_reloc(bo,
                     I915_GEM_DOMAIN_INSTRUCTION, 0,