summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-24 18:05:53 -0600
committerBrian Paul <[email protected]>2009-04-03 09:07:03 -0600
commit1146d40b9c35d80c0860c773de1eef27c76e8c01 (patch)
tree59b9b47cf2f5d0fd7b472f22510baa35d5b495a6 /src/mesa/drivers/dri/i965
parente1a1a5a6385e0bc6f2f20ec0a2e23f81726e232e (diff)
i965: comments for brw_SAMPLE()
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 6dce1ca48e8..4becdf069fa 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -966,7 +966,11 @@ void brw_fb_WRITE(struct brw_compile *p,
}
-
+/**
+ * Texture sample instruction.
+ * Note: the msg_type plus msg_length values determine exactly what kind
+ * of sampling operation is performed. See volume 4, page 161 of docs.
+ */
void brw_SAMPLE(struct brw_compile *p,
struct brw_reg dest,
GLuint msg_reg_nr,