summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-24 17:01:23 -0600
committerBrian <[email protected]>2007-10-25 20:32:45 -0600
commitaaac436c6c06232e383d5cee3c6dfc69eb820c83 (patch)
treee04daf73b5d6786d8897a8f40a04117f19e23ba8 /src/mesa/pipe
parent3dde3715db671e32261bfb8b11fb599e5a0e6c5a (diff)
added some comments
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.c3
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index 24ee98061d0..d5a2639af1a 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@ -65,6 +65,9 @@
#define TILE_BOTTOM_LEFT 2
#define TILE_BOTTOM_RIGHT 3
+/*
+ * Shorthand locations of various utility registers (_I = Index, _C = Channel)
+ */
#define TEMP_0_I TGSI_EXEC_TEMP_00000000_I
#define TEMP_0_C TGSI_EXEC_TEMP_00000000_C
#define TEMP_7F_I TGSI_EXEC_TEMP_7FFFFFFF_I
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.h b/src/mesa/pipe/tgsi/exec/tgsi_exec.h
index 978c2d574e2..6c1d3683421 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.h
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.h
@@ -53,6 +53,9 @@ struct tgsi_exec_labels
unsigned count;
};
+/*
+ * Locations of various utility registers (_I = Index, _C = Channel)
+ */
#define TGSI_EXEC_TEMP_00000000_I 32
#define TGSI_EXEC_TEMP_00000000_C 0