Mesa (master): i965: Add a note justifying domain choice for the SF VP.

Eric Anholt anholt at kemper.freedesktop.org
Sat Aug 8 01:33:36 UTC 2009


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

Author: Eric Anholt <eric at anholt.net>
Date:   Fri Aug  7 18:08:20 2009 -0700

i965: Add a note justifying domain choice for the SF VP.

---

 src/mesa/drivers/dri/i965/brw_sf_state.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_sf_state.c b/src/mesa/drivers/dri/i965/brw_sf_state.c
index a964cb2..bc0f076 100644
--- a/src/mesa/drivers/dri/i965/brw_sf_state.c
+++ b/src/mesa/drivers/dri/i965/brw_sf_state.c
@@ -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,




More information about the mesa-commit mailing list